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 No edit summary |
wgg>Cadaei separate upgrade section with header |
||
| Line 1: | Line 1: | ||
<includeonly>{| class="wikitable" style="float:right; width:20em" | <includeonly>{| class="wikitable" style="float:right; width:20em" | ||
! colspan=2 | <span style="font-size: | ! colspan=2 | <span style="font-size: 2em;">{{{name|{{PAGENAME}}}}}</span> | ||
|- | |- | ||
| colspan=2 style="text-align:center" | [[File:{{{image|{{PAGENAME}}.png}}}|128px]] | | 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|}}}}} | ||
{{infobox data row|Max workers|{{{maxWorkers|}}}}} | |||
{{#if:{{{upgrade|}}}|{{infobox section header|Building Upgrade}} | |||
{{infobox data row|Upgrade|{{{upgrade|}}}}} | {{infobox data row|Upgrade|{{{upgrade|}}}}} | ||
{{infobox data row|Upgrade Costs|{{{upgradeCosts|}}}}} | {{infobox data row|Upgrade Costs|{{{upgradeCosts|}}}}} | ||
}} | |||
|} | |} | ||
[[Category:Buildings]]</includeonly><noinclude> | [[Category:Buildings]]</includeonly><noinclude> | ||
Revision as of 09:13, 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
}}
| Quarry | |
|---|---|
Template:Infobox data row Template:Infobox data row Template:Infobox data row Template:Infobox section header Template:Infobox data row Template:Infobox data row |
| Quarry | |
|---|---|
Template:Infobox data row Template:Infobox data row Template:Infobox data row |



