Difference between revisions of "Template:Infobox:Building"

From Cantr II Wiki
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox bordered" cellpadding="4" style="float:right;"
+
<includeonly>{{Infobox:BuildingBase
|-
+
| title    = Building
|
+
| section1 = Capacity
{| class="infobox" style="background-color:#E0E0FF; width:25em; font-size: 95%; margin-left: inherit;" valign="top" cellpadding="1" border="1" cellspacing="0"
+
| item0s1  = People
! style="background-color: #A0A0FF;" colspan="2" | Construction
+
| info0s1  = {{if|test={{{people|}}}|then={{{people}}}|else={{Inc1}}}}
|-
+
| item1s1  = Weight
| '''Time''' || {{{time}}} days
+
| info1s1  = {{if|test={{{weight|}}}|then={{{weight|0}}} grams|else={{Inc3}}}}
|-
+
}}</includeonly><!-- Template categories --><noinclude>{{Doc}}[[Category:Templates|{{PAGENAME}}]]</noinclude>
| '''Materials''' || {{{resources}}}
 
|-
 
| '''Tools''' || {{{tools}}}
 
|- class="hiddenStructure{{{centertype}}}"
 
| '''Only built inside''' || {{{centertype}}}
 
|-
 
! style="background-color: #A0A0FF;" colspan="2" | Capacity
 
|-
 
| '''People''' || {{{people}}}
 
|-
 
| '''Total weight''' || {{{weight}}} grams
 
|}
 
|}
 
<includeonly>[[Category:Buildings]]</includeonly>
 

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