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
added production time
wgg>Cadaei
added gathering time
Line 4: Line 4:
{{infobox data row|Storage|{{{storage|}}}}}
{{infobox data row|Storage|{{{storage|}}}}}
{{infobox data row|Production time|{{{productionTime|}}}}}
{{infobox data row|Production time|{{{productionTime|}}}}}
{{infobox data row|Gathering time|{{{gatheringTime|}}}}}
{{infobox data row|Max workers|{{{maxWorkers|}}}}}
{{infobox data row|Max workers|{{{maxWorkers|}}}}}
{{infobox data row|Amount to harvest|{{{amountToHarvest|}}}}}
{{infobox data row|Amount to harvest|{{{amountToHarvest|}}}}}

Revision as of 20:11, 24 July 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 = {{ItemLink|Ingot|quantity=4}}
| maxWorkers = 5
| storage = 6
}}

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 section header Template:Infobox data row Template:Infobox data row |}

{{infobox building
| name = Bakery
| image = Bakery.png
| size = large
| buildCosts = {{ItemLink|Board|quantity=5}}<br/>{{ItemLink|Wheat|quantity=2}}
| maxWorkers = 3
| productionTime = 5 s
| storage = {{ItemLink|Flour|quantity=5}}<br/>{{ItemLink|Water|quantity=5}}<br/>{{ItemLink|Bread|quantity=5}}
}}

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

|}