Difference between revisions of "Template:CharacterBox"
Jump to navigation
Jump to search
(Created page with "{| class="infotable wikitable" |+ {{{name}}} | rowspan=5 | [[File:{{{image|{{{name}}}}}}.png|100x100px]] ! colspan=6 | Starting inventory |- ! class="infotable-header" | HP |...") |
|||
| (13 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {| class="infotable wikitable" | + | <includeonly>{| class="infotable wikitable" |
| − | + | | rowspan=5 | [[File:{{{image|{{{name}}}.png}}}|100x100px]] | |
| − | | rowspan=5 | [[File:{{{image|{{{name}}}}}} | ||
! colspan=6 | Starting inventory | ! colspan=6 | Starting inventory | ||
|- | |- | ||
| Line 16: | Line 15: | ||
! class="infotable-header" | Weapon | ! class="infotable-header" | Weapon | ||
| {{{weapon}}} | | {{{weapon}}} | ||
| − | ! class="infotable-header" | | + | ! class="infotable-header" | Extra |
| − | | {{{ | + | | {{{extra|N/A}}} |
|- | |- | ||
! 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 | + | {{!}}- |
| − | + | ! class="infotable-header" colspan=5 {{!}} Extra info | |
| − | + | {{!}}- | |
| − | |} | + | {{!}} colspan=5 {{!}} <div style="display:none;"></div> |
| + | {{{info}}} | ||
| + | |}} | ||
| + | |}</includeonly><noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 23:52, 14 March 2021
Template documentation (for the template above, sometimes hidden or invisible)
Purpose[edit]
Infobox for characters.
Usage[edit]
{{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 | Extra | 1x | |||
| How to unlock | Do something | |||||
| Extra info | ||||||
| ||||||
Visit Template:CharacterBox/doc to edit this text. (How does this work?)
