Template:Building/doc: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
(Created page with "{{Documentation/Header}}{{DISPLAYTITLE:{{PAGENAME}}}} Adds an infobox for buildings. ==Syntax== {{T|Building |v1 =type = farmbuilding |v2 =source = Crafted, Carpenter etc. |v3 =produces = TODO |v4 =buildtime = X days |v5 =craft = Crafting cost (use Template:cost) |v6 =unlock = Unlock condition |v7 =size = Size of building (WxH) |block=1}} ==Examples== {{Building |source=Carpenter |unlocked=Default |siz...")
 
(Added missing example source)
 
Line 23: Line 23:
|craft={{cost|coin=2,500|stone=300|resin=2|scrap=20}}
|craft={{cost|coin=2,500|stone=300|resin=2|scrap=20}}
}}
}}
<pre>
{{Building
|source=[[Carpenter]]
|unlocked=Default
|size=3x3
|image=File:780Silo.png
|type=farmbuilding
|buildtime=2 days
|craft={{cost|coin=2,500|stone=300|resin=2|scrap=20}}
}}
</pre>

Latest revision as of 10:50, 17 August 2024

This is the documentation page for Building.
It contains usage information, categories, and other content not part of the original template page.

Adds an infobox for buildings.

Syntax

{{Building
|type      = farmbuilding
|source    = Crafted, Carpenter etc.
|produces  = TODO
|buildtime = X days
|craft     = Crafting cost (use Template:cost)
|unlock    = Unlock condition
|size      = Size of building (WxH)
}}

Examples

{{Building
|source=[[Carpenter]]
|unlocked=Default
|size=3x3
|image=File:780Silo.png
|type=farmbuilding
|buildtime=2 days
|craft={{cost|coin=2,500|stone=300|resin=2|scrap=20}}
}}