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>Emilyba
added damage type and element
wgg>Cadaei
added info row
Line 1: Line 1:
<includeonly>{{infobox header|name={{{name|{{PAGENAME}}}}}|image={{{image|{{PAGENAME}}.png}}}}}
<includeonly>{{infobox header|name={{{name|{{PAGENAME}}}}}|image={{{image|{{PAGENAME}}.png}}}|info={{{info|}}}}}
{{infobox data row | Race | {{{race|}}}}}
{{infobox data row | Race | {{{race|}}}}}
{{infobox data row | Recruiting|{{{recruiting|}}}}}
{{infobox data row | Recruiting|{{{recruiting|}}}}}

Revision as of 21:44, 10 October 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 = {{ItemLink|Human}}
| recruiting = Castle on the right
| costs = {{ItemLink|Stone|quantity=4}}
| upgradeCosts = {{IconLinkSequence|Stone|8|16|32}}
| damageType = {{ItemLink|Physical Damage}}
| element = None
| movement = {{ItemLink|Calvary}}
| attackStyle = {{ItemLink|Melee}}
| role = {{ItemLink|Tank}}
| preferredFood = {{ItemLink|Rabbit}}
}}

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 Template:Infobox data row Template:Infobox data row Template:Infobox data row Template:Infobox footer