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 building: Difference between revisions

From Super Fantasy Kingdom Official Wiki
wgg>Cadaei
separate upgrade section with header
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: 2em;">{{{name|{{PAGENAME}}}}}</span>
|-
| colspan=2 style="text-align:center" | [[File:{{{image|{{PAGENAME}}.png}}}|128px]]
{{infobox data row|Building slot|{{{size|}}}}}
{{infobox data row|Building slot|{{{size|}}}}}
{{infobox data row|Building costs|{{{buildCosts|}}}}}
{{infobox data row|Building costs|{{{buildCosts|}}}}}

Revision as of 09:35, 25 June 2023

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

{{infobox building
| name = Quarry
| image = Quarry.png
| size = large
| buildCosts = {{ItemLink|Wood|quantity=3}}
| upgrade = Mason
| upgradeCosts = Ingots
| maxWorkers = 5
}}

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

|}