Template:Building: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 45: Line 45:
   </group>
   </group>
   <group>
   <group>
  <header>{{icon|Crafting mainico|link=Crafting|notext=1}}[[Crafting| In-menu Crafting]]</header>
     <data source="craft">
     <data source="craft">
       <label>Recipe</label>
       <label>Materials</label>
     </data>
     </data>
     <data source="unlock">
     <data source="unlock">

Latest revision as of 08:07, 22 December 2023

Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

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}}
}}

No description.

Template parameters

ParameterDescriptionTypeStatus
typetype

no description

Unknownoptional
sourcesource

no description

Unknownoptional
producesproduces

no description

Unknownoptional
buildtimebuildtime

no description

Unknownoptional
craftcraft

no description

Unknownoptional
unlockunlock

no description

Unknownoptional
sizesize

no description

Unknownoptional