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 gathering time |
wgg>Cadaei linked worker |
||
| Line 5: | Line 5: | ||
{{infobox data row|Production time|{{{productionTime|}}}}} | {{infobox data row|Production time|{{{productionTime|}}}}} | ||
{{infobox data row|Gathering time|{{{gatheringTime|}}}}} | {{infobox data row|Gathering time|{{{gatheringTime|}}}}} | ||
{{infobox data row|Max | {{infobox data row|Max [[worker]]s|{{{maxWorkers|}}}}} | ||
{{infobox data row|Amount to harvest|{{{amountToHarvest|}}}}} | {{infobox data row|Amount to harvest|{{{amountToHarvest|}}}}} | ||
{{#if:{{{upgrade|}}}|{{infobox section header|Building Upgrade}} | {{#if:{{{upgrade|}}}|{{infobox section header|Building Upgrade}} | ||
Revision as of 19:15, 4 August 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
|}


