Difference between revisions of "Template:Infobox ability/doc"

From Wildermyth Wiki
(Fix parameter names)
m
Line 11: Line 11:
; ''image'' : Image filename for the ability
; ''image'' : Image filename for the ability


; ''type'' : Type of the ability
; ''type'' : Type of the ability (Active/passive)


; ''class'' : Class of the ability
; ''class'' : Class of the ability
; ''damage type'' : Physical/Magic
; ''targets'' : Single Target, AoE, Piercing
; ''available to'' : Which classes can learn this


== Example ==
== Example ==
Line 21: Line 29:
| ability = Golden Rabbit
| ability = Golden Rabbit
| image = Animal_RabbitAvenger.png
| image = Animal_RabbitAvenger.png
| type =  
| type = Passive
| class = General
| class = General
| damage_type = Physical
| targets = User
| available_to = all heroes
}}
}}
</nowiki></pre>
</nowiki></pre>
Line 29: Line 40:
| ability = Golden Rabbit
| ability = Golden Rabbit
| image = Animal_RabbitAvenger.png
| image = Animal_RabbitAvenger.png
| type =  
| type = Passive
| class = General
| class = General
| damage_type = Physical
| targets = User
| available_to = all heroes
}}
}}

Revision as of 06:50, 23 November 2019

This is a documentation subpage for Template:Infobox ability.

Usage

This template displays an Infobox for an ability. The Infobox uses the following parameters:

ability
Name of the ability
image
Image filename for the ability
type
Type of the ability (Active/passive)
class
Class of the ability
damage type
Physical/Magic
targets
Single Target, AoE, Piercing
available to
Which classes can learn this


Example

{{Infobox ability
| ability = Golden Rabbit
| image = Animal_RabbitAvenger.png
| type = Passive
| class = General
| damage_type = Physical
| targets = User
| available_to = all heroes
}}
Golden Rabbit
Animal RabbitAvenger.png
Type
Passive
Class
General
Effect
???
Target
???
Available to
all heroes