Difference between revisions of "Template:Infobox:Building"

From Cantr II Wiki
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
| title    = Building
 
| title    = Building
 
| section1 = Capacity
 
| section1 = Capacity
| item0s1  = Time
+
| item0s1  = People
| info0s1 = time
+
| info0s1  = {{if|test={{{people|}}}|then={{{people}}}|else={{Inc1}}}}
| item1s1  = Materials
+
| item1s1 = Weight
| info1s1  = resources
+
| info1s1 = {{if|test={{{weight|}}}|then={{{weight|0}}} grams|else={{Inc3}}}}
| item2s1  = Tools
+
}}</includeonly><!-- Template categories --><noinclude>{{Doc}}[[Category:Templates|{{PAGENAME}}]]</noinclude>
| info2s1  = tools
 
| item3s1  = Only built inside
 
| info3s1  = {{if|test={{{centertype|}}}|then={{{centertype}}}|else={{Inc1}}}}
 
| item4s1  = People
 
| info4s1 = {{if|test={{{people|}}}|then={{{people}}}|else={{Inc1}}}}
 
| item5s1 = Total weight
 
| info5s1 = {{if|test={{{weight|}}}|then={{{weight|0}}} grams|else={{Inc3}}}}
 
}}<!-- Object Categories -->[[Category:Buildings]]</includeonly><!-- Template categories --><noinclude>{{Doc}}[[Category:Templates|{{PAGENAME}}]]</noinclude>
 

Latest revision as of 08:35, 7 January 2011

Template documentation[ view ] [ discuss ] [edit]

{{Infobox:Building}} allows all details about specifics for buildings to be placed within a table.

Usage

Copy the text below and fill in the values of the parameters. If a parameter is unknown ot not available, leave it empty or remove that line.

{{Infobox:Building
| people = 
| weight = 
}}

Parameters

  • people
    • The maximum number of people who will fit in the building.
    • Example: people = 5
  • weight
    • Capacity (in grams) that the building can contain, in total.
    • It is advisable to use a thousand separator for this parameter.
    • Good example: weight = 100.000
    • Bad example: weight = 100000