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
use data row template
wgg>Cadaei
header template
Line 1: Line 1:
<includeonly>{| class="wikitable" style="float:right; width:20em"
<includeonly>{{infobox header|name={{{name|{{PAGENAME}}}}}|image={{{image|{{PAGENAME}}.png}}}}}
! colspan=2 | <span style="font-size: larger;">{{{name|{{PAGENAME}}}}}</span>
|-
| colspan=2 style="text-align:center" | [[File:{{{image|{{PAGENAME}}.png}}}|128px]]
{{infobox data row|Recruiting|{{{recruiting|}}}}}
{{infobox data row|Recruiting|{{{recruiting|}}}}}
{{infobox data row|Costs|{{{costs|}}}}}
{{infobox data row|Costs|{{{costs|}}}}}

Revision as of 09:36, 25 June 2023

This is an infobox template for units. Use it on unit pages, e.g. like this

{{infobox unit
| name = Fighter
| image = Fighter.png
| recruiting = Castle on the right
| costs = {{ItemLink|Stone|quantity=4}}
| upgradeCosts = {{IconLinkSequence|Stone|8|16|32}}
}}

Template:Infobox header Template:Infobox data row Template:Infobox data row Template:Infobox data row |}