⚠ NOTICE
The game has been released in Early Access on 26th of April, 2024.
Please keep in mind that any information provided on this Wiki may be incomplete or subject to change as the game progresses.
Template:InfoboxBuilding: Difference between revisions
(added doc) |
Techhead7890 (talk | contribs) (add category below doc) |
||
(14 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<infobox layout="stacked"> | <onlyinclude><includeonly><infobox layout="stacked"> | ||
<title source="title"> | <title source="title"> | ||
<default>{{PAGENAME}}</default> | <default>{{PAGENAME}}</default> | ||
Line 7: | Line 7: | ||
<label><translate><!--T:1--> Type</translate></label> | <label><translate><!--T:1--> Type</translate></label> | ||
</data> | </data> | ||
<group> | |||
<data source="cost"> <!-- fallback if below structures are not used, or new resources are implemented that don't fit it--> | |||
<label><translate><!--T:2--> Cost</translate></label> | |||
</data> | |||
<data source="timber"> | |||
<label><translate> <!--T:17--> Timber cost</translate></label> | |||
</data> | |||
<data source="planks"> | |||
<label><translate> <!--T:18--> Planks cost</translate></label> | |||
</data> | |||
<data source="stone"> | |||
<label><translate> <!--T:19--> Stone cost</translate></label> | |||
</data> | |||
<data source="rooftiles"> | |||
<label><translate><!--T:20--> Roof Tiles cost</translate></label> | |||
</data> | |||
<!-- | |||
<data source="tools"> NOT YET IMPLEMENTED AS BUILDING MATERIALS | |||
<label><translate><!--T:21--> Tools</translate></label> | |||
</data> | |||
<data source="woodenparts"> | |||
<label><translate><!--T:22--> Wooden Parts</translate></label> | |||
</data> | |||
<data source="blocks"> | |||
<label><translate><!--T:23--> Stone Blocks</translate></label> | |||
</data> | |||
--> | |||
</group> | |||
<data source="workplaces"> | <data source="workplaces"> | ||
<label><translate><!--T:3--> Workplaces</translate></label> | <label><translate><!--T:3--> Workplaces</translate></label> | ||
Line 16: | Line 41: | ||
<label><translate><!--T:4--> Produces</translate></label> | <label><translate><!--T:4--> Produces</translate></label> | ||
</data> | </data> | ||
<group> | |||
<data source="storage"> | <data source="storage"> | ||
<label><translate><!--T:5--> Storage</translate></label> | <label><translate><!--T:5--> Storage</translate></label> | ||
</data> | </data> | ||
<data source="storagegeneric"> | |||
<label><translate><!--T:13--> Generic Storage</translate></label> | |||
</data> | |||
<data source="storagelogs"> | |||
<label><translate><!--T:14--> Log storage</translate></label> | |||
</data> | |||
<data source="storagepantry"> | |||
<label><translate><!--T:15--> Pantry</translate></label> | |||
</data> | |||
<data source="pantry"><!-- should probably be deprecated and formatted as above for consistency, but it was unambiguous and I would need to switch over forager hut as I think this was the only one that used it [[User:76561198023776638|76561198023776638]] ([[User talk:76561198023776638|talk]])--> | |||
<label><translate><!--T:16--> Pantry</translate></label> | |||
</data> | |||
</group> | |||
<data source="trades"> | <data source="trades"> | ||
<label><translate><!--T:6--> Trades</translate></label> | <label><translate><!--T:6--> Trades</translate></label> | ||
Line 24: | Line 63: | ||
<group collapse="open"> | <group collapse="open"> | ||
<header><translate><!--T:7--> Construction</translate></header> | <header><translate><!--T:7--> Construction</translate></header> | ||
<data source=" | <data source="town-development"> | ||
<label><translate><!--T:8--> Required development | <label><translate><!--T:8--> Required town development</translate></label> | ||
</data> | </data> | ||
<data source="upgrades"> | <data source="upgrades"> | ||
<label><translate><!--T:9--> | <label><translate><!--T:9--> Upgrade info</translate></label> | ||
</data> | </data> | ||
<data source=" | <data source="maxlevel"> | ||
<label><translate><!--T:10--> Levels</translate></label> | <label><translate><!--T:10--> Levels</translate></label> | ||
</data> | </data> | ||
Line 40: | Line 79: | ||
</data> | </data> | ||
</group> | </group> | ||
</infobox><noinclude> | </infobox></includeonly></onlyinclude> | ||
<noinclude> | |||
{{documentation}} | {{documentation}} | ||
[[Category:Infobox templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 19:36, 22 May 2024
Please note that the template will not be visible on this page until examples are uploaded.
Documentation
Infobox for pages listed on buildings, in order to display key identifying facts such as construction cost, places for families to work, etc.
Please note that this page was moved on 7 May (UTC) so some old versions are seen at Template:BuildingInfobox, including translated versions (eg Template:BuildingInfobox/fr) may not be here yet. Those pages should be moved to here eventually.
When the list of parameters is stable, it may be useful to add a blank copy here to the documentation and some examples.