Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.
Template:Infobox unit: Difference between revisions
From Super Fantasy Kingdom Official Wiki
wgg>Cadaei completed template |
wgg>Cadaei adjusted template parameter names |
||
| Line 1: | Line 1: | ||
<includeonly>{{infobox header|name={{{name|{{PAGENAME}}}}}|image={{{image|{{PAGENAME}}.png}}}}} | <includeonly>{{infobox header|name={{{name|{{PAGENAME}}}}}|image={{{image|{{PAGENAME}}.png}}}}} | ||
{{infobox data row | Race | {{{race|}}}}} | {{infobox data row | Race | {{{race|}}}}} | ||
{{#if:{{{hp|}}}{{{ | {{#if:{{{hp|}}}{{{dm|}}}{{{sh|}}}{{{cr|}}}{{{pd|}}}{{{md|}}}| | ||
{{infobox data row | Stats | {{stats|hp={{{hp|}}}| | {{infobox data row | Stats | {{stats|hp={{{hp|}}}|dm={{{dm|}}}|sh={{{sh|}}}|cr={{{cr|}}}|pd={{{pd|}}}|md={{{md|}}}}} }} }} | ||
{{infobox data row | Recruiting|{{{recruiting|}}}}} | {{infobox data row | Recruiting|{{{recruiting|}}}}} | ||
{{infobox data row | Costs|{{{costs|}}}}} | {{infobox data row | Costs|{{{costs|}}}}} | ||
| Line 18: | Line 18: | ||
| race = Human | | race = Human | ||
| hp = 8 | | hp = 8 | ||
| | | sh = 16 | ||
| | | pd = | ||
| | | md = | ||
| | | dm = 3 | ||
| | | cr = | ||
| recruiting = Castle on the right | | recruiting = Castle on the right | ||
| costs = {{ItemLink|Stone|quantity=4}} | | costs = {{ItemLink|Stone|quantity=4}} | ||
| Line 35: | Line 35: | ||
| race = Human | | race = Human | ||
| hp = 8 | | hp = 8 | ||
| | | sh = 16 | ||
| | | pd = | ||
| | | md = | ||
| | | dm = 3 | ||
| | | cr = | ||
| recruiting = Castle on the right | | recruiting = Castle on the right | ||
| costs = {{ItemLink|Stone|quantity=4}} | | costs = {{ItemLink|Stone|quantity=4}} | ||
Revision as of 15:04, 15 July 2023
This is an infobox template for units. Use it on unit pages, e.g. like this
{{infobox unit
| name = Fighter
| image = Fighter.png
| race = Human
| hp = 8
| sh = 16
| pd =
| md =
| dm = 3
| cr =
| recruiting = Castle on the right
| costs = {{ItemLink|Stone|quantity=4}}
| upgradeCosts = {{IconLinkSequence|Stone|8|16|32}}
| attackStyle = Melee
| role = Tank
}}
Template:Infobox header Template:Infobox data row Template:Infobox data row Template:Infobox data row Template:Infobox data row Template:Infobox data row Template:Infobox data row Template:Infobox data row |}


