Difference between revisions of "Template:Infobox ability"
From Wildermyth Wiki
FeralKitty (talk | contribs) (Fix parameter names to match documentation) |
m |
||
Line 4: | Line 4: | ||
--><th style="background: MediumSeaGreen;">'''Type'''</th><!-- | --><th style="background: MediumSeaGreen;">'''Type'''</th><!-- | ||
--><tr><td>{{#if:{{{type|}}}|{{{type}}}|???}}</td></tr><!-- | --><tr><td>{{#if:{{{type|}}}|{{{type}}}|???}}</td></tr><!-- | ||
--><th style="background: MediumSeaGreen;">'''Class'''</th><!-- | |||
--><tr><td>{{#if:{{{class|}}}|{{{class}}}|???}}</td></tr><!-- | |||
--><th style="background: MediumSeaGreen;">'''Damage Type'''</th><!-- | |||
--><tr><td>{{#if:{{{damage_type|}}}|{{{damage_type}}}|???}}</td></tr><!-- | |||
--><th style="background: MediumSeaGreen;">'''Target'''</th><!-- | |||
--><tr><td>{{#if:{{{target|}}}|{{{target}}}|???}}</td></tr><!-- | |||
--><th style="background: MediumSeaGreen;">'''Available to'''</th><!-- | --><th style="background: MediumSeaGreen;">'''Available to'''</th><!-- | ||
--><tr><td>{{#if:{{{ | --><tr><td>{{#if:{{{available_to|}}}|{{{available_to}}}|???}}</td></tr><!-- | ||
--></table></includeonly><noinclude> | --></table></includeonly><noinclude> | ||
{{Infobox ability/doc}} | {{Infobox ability/doc}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Revision as of 07:53, 23 November 2019
- This documentation is transcluded from Template:Infobox ability/doc
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. Passive, Active, or Passive/Active
- class
- Class of the ability
- effect
- Damage, Healing, Stat increase
- target
- 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 | effect = Physical Damage | target = User | available_to = all heroes }}
Golden Rabbit |
---|
Type |
Passive |
Class |
General |
Damage Type |
??? |
Target |
User |
Available to |
all heroes |