On Friday, April 19, 2024 at 10:00 PM New York time, all OpenWiki Project sites will be undergoing scheduled maintenance for about 2 hours. Expect read-only access and brief periods of downtime.
Template:NewUnit: Difference between revisions
From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.
Thecornerman (talk | contribs) 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}}} | ||||||
|
Usage
{{NewUnit |name= |portrait= |class= |HP= |lv= |inventory= |recruitment method= }}
- The optional
width
parameter can be used to specify the HP column width.