Site News
Warning: This wiki contains spoilers. Read at your own risk!

Social media: If you would like, please join our Discord server, and/or follow us on Twitter (X) or Tumblr!

Template:NewUnit: Difference between revisions

From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.
m (Trimmed formatting)
(Adding optional width parameter to allow for better display on pages with lots of units & inventory items)
Line 8: Line 8:
! style="border-radius: 5px" colspan="2" | [[{{{class}}}]]
! style="border-radius: 5px" colspan="2" | [[{{{class}}}]]
|-
|-
| style="width: 50%; border-radius: 5px" | '''HP'''<br>{{{HP}}}
| style="width: {{{width|50}}}%; border-radius: 5px" | '''HP'''<br>{{{HP}}}
{{#if:{{{inventory|}}}|{{!}} style="border-radius: 5px;" rowspan="2" {{!}} '''Inventory'''<br>{{{inventory}}}
{{#if:{{{inventory|}}}|{{!}} style="border-radius: 5px;" rowspan="2" {{!}} '''Inventory'''<br>{{{inventory}}}
{{!-}} }}
{{!-}} }}
Line 26: Line 26:
|inventory=
|inventory=
|recruitment method=
|recruitment method=
}}</pre>[[Category:Chapter data templates]]</noinclude>
}}</pre>
*The optional <code>width</code> parameter can be used to specify the HP column width. [[Category:Chapter data templates]]</noinclude>

Revision as of 19:52, 13 June 2021

[[{{{name}}}|{{{name}}}]]
{{{portrait}}}
[[{{{class}}}]]
HP
{{{HP}}}
Level
{{{lv}}}
{{{recruitment method}}}

Usage

{{NewUnit
|name=
|portrait=
|class=
|HP=
|lv=
|inventory=
|recruitment method=
}}
  • The optional width parameter can be used to specify the HP column width.