Difference between revisions of "Template:CharacterBox"
Jump to navigation
Jump to search
| Line 21: | Line 21: | ||
! class="infotable-header" | How to unlock | ! class="infotable-header" | How to unlock | ||
| colspan=3 | {{{how to unlock}}} | | colspan=3 | {{{how to unlock}}} | ||
| − | + | {{#if:{{{info|}}}| | |
| + | {{!}}- | ||
| + | ! class="infotable-header" colspan=5 {{!}} Extra info | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=5 {{!}} <div style="display:none;"></div> | {{!}} colspan=5 {{!}} <div style="display:none;"></div> | ||
Revision as of 00:43, 11 March 2021
Template documentation (for the template above, sometimes hidden or invisible)
Purpose
Infobox for characters.
Usage
{{CharacterBox
| name = Valkyrie
| image = Goll.jpg
| hp = 420
| armor = 1337
| weapon = [[Pistol]]
| ultimate = {{AbilityLink|Mjolnir}}
| secondary = {{AbilityLink|Mjolnir}}
| extra = 1x {{ItemLink|Key}} and {{Coins|5}}
| how to unlock = Do something
| info =
* There is usually a list here.
* With multiple elements.
}}
renders as
|
Starting inventory | |||||
|---|---|---|---|---|---|---|
| HP | 420 | Ultimate | ||||
| Armor | 1337 | Secondary | ||||
| Weapon | Pistol | Other | N/A | |||
| How to unlock | Do something | |||||
| Extra info | ||||||
| ||||||
Visit Template:CharacterBox/doc to edit this text. (How does this work?)
