Difference between revisions of "Template:Infobox:Building"

From Cantr II Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
| item0s1  = People
 
| item0s1  = People
 
| info0s1  = {{if|test={{{people|}}}|then={{{people}}}|else={{Inc1}}}}
 
| info0s1  = {{if|test={{{people|}}}|then={{{people}}}|else={{Inc1}}}}
| item1s1  = Total capacity
+
| item1s1  = Weight
| info1s1  = {{if|test={{{total|}}}|then={{{total|0}}} gramos|else={{Inc3}}}}
+
| info1s1  = {{if|test={{{weight|}}}|then={{{weight|0}}} grams|else={{Inc3}}}}
 
}}</includeonly><!-- Template categories --><noinclude>{{Doc}}[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
}}</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