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.
mNo edit summary
mNo edit summary
 
(29 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| style="{{round|14px}} border: 2px solid {{Color2}}; background: {{Color3}}; padding: 4px; float:center;" class="roundy"  
{| style="border-radius: 14px; border: 2px solid {{Color2}}; background: {{Color3}}; padding: 4px; text-align: center; margin: auto; max-width: 350px"
! style="border-radius: 14px; border: 1px solid {{Color2}}; padding: 2px; font-size: larger" | [[{{{namearticle|{{{name}}}}}}|{{{name}}}]]
|-
|-
|  
| style="padding: 2px; width: 300px; height: 50px" | {{{portrait}}}
{| align="center" width="100%" style="{{round|14px}} border: 1px solid {{Color2}}; background: {{Color3}}; padding: 2px;" class="roundy"
|-
|-
| <center>'''<big>[[{{{namearticle|{{{name}}}}}}|{{{name}}}]]</big>'''</center>
|
|}
{| class="chapter-table" style="width: 100%; padding: 2px; border: none; background: none; border-radius: 0"
{| align="center" width="100%" style="{{round|14px}} background: {{Color3}}; padding: 2px;" class="roundy"
| style="border-radius: 5px" colspan="2" | '''[[{{{classarticle|{{{class}}}}}}|{{{class}}}]]'''
|-
|-
| rowspan="4" colspan="2" width="300px" height="50" |<center>{{{portrait}}}</center>
| style="width: {{{width|{{#if:{{{inventory}}}|35|50}}%}}}; border-radius: 5px" | '''HP'''<br>{{{HP}}}
|}
{{#if:{{{inventory}}}|{{!}} style="border-radius: 5px" rowspan="2" {{!}} '''Inventory'''<br>{{{inventory|{{nwh}}}}}
{| align="center" width="100%" style="{{round|14px}} background: {{Color3}}; padding: 2px;" class="roundy"
{{!-}} }}
|-
| style="border-radius: 5px" | '''Level'''<br>{{{lv}}}
| width="50%" height="10px" style="border:1px solid {{Color2}}; background-color: {{Color1}}; {{round|5px}}" | <center>'''{{#ifeq:Avatar (Fates)|{{{namearticle}}}|[[Nohr Prince]]{{hover|*|If male}}/[[Nohr Princess]]{{hover|*|If female}}|[[{{{class}}}]]}}'''</center>
|}
{| width="100%" cellpadding="2" cellspacing="2" style="{{round|20px}} background-color: {{Color3}}"
| width="50%" height="10px" style="border:1px solid {{Color2}}; background-color: {{Color1}}; {{round|5px}}" | <center>'''HP'''<br>{{{HP}}}</center>
| width="50%" height="10px" style="border:1px solid {{Color2}}; background-color: {{Color1}}; {{round|5px}}" | <center>'''Level'''<br>{{{lv}}}</center>
|}
{| align="center" width="100%" style="{{round|14px}} background: {{Color3}}; padding: 2px;" class="roundy"
|-
|-
| width="50%" height="10px" style="border:1px solid {{Color2}}; background-color: {{Color1}}; {{round|5px}}" | <center>'''{{{recruitment method}}}'''</center>
| style="border-radius: 5px" colspan="2" | '''{{{recruitment method}}}'''
|}
|}
|}<noinclude>
|}<noinclude>
<pre>{{NewUnit
 
|name=
{{doc}}</noinclude>
|portrait=
|class=
|HP=
|lv=
|recruitment method=
}}</pre>[[Category:Chapter Data Templates]]</noinclude>

Latest revision as of 03:25, 26 August 2023

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

Usage

{{NewUnit
|name=
|namearticle= optional; defaults to same value as name
|portrait=
|class=
|classarticle= optional; defaults to same value as class
|width= width of the HP column
|HP=
|lv=
|inventory= defaults to "--"; declare inventory as blank ("") to hide
|recruitment method=
}}