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 X (Twitter) or Tumblr!

Template:NewUnit: Difference between revisions

From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.
(This way, it will work in the chapter data template)
mNo edit summary
 
(54 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{| align="center" width="10%" style="{{round|14px}} border: 2px solid #B07838; background: #d4c285; padding: 4px;" 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 #B07838; background: #d4c285; padding: 2px;" class="roundy"
|-
|-
| <center>'''<big>{{{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: #d4c285; 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: #d4c285; padding: 2px;" class="roundy"
{{!-}} }}
|-
| style="border-radius: 5px" | '''Level'''<br>{{{lv}}}
| width="50%" height="10px" style="border:1px solid #856c14; background-color: #c7ae58; {{round|5px}}" | <center>'''[[{{{class}}}]]'''</center>
|}
{| width="100%" cellpadding="2" cellspacing="2" style="{{round|20px}} background-color: #d4c285"
| width="50%" height="10px" style="border:1px solid #856c14; background-color: #c7ae58; {{round|5px}}" | <center>'''HP'''<br>{{{HP}}}</center>
| width="50%" height="10px" style="border:1px solid #856c14; background-color: #c7ae58; {{round|5px}}" | <center>'''Level'''<br>{{{lv}}}</center>
|}
{| align="center" width="100%" style="{{round|14px}} background: #d4c285; padding: 2px;" class="roundy"
|-
|-
| width="50%" height="10px" style="border:1px solid #856c14; background-color: #c7ae58; {{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></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=
}}