Template:Building: Difference between revisions

From Hazeron Wiki
Jump to navigation Jump to search
m (Added the default Speedup items to the example.)
(Moving documentation to a subpage.)
Line 41: Line 41:
{{#if:{{{Speedup|}}}|{{{Speedup}}}|*None}}
{{#if:{{{Speedup|}}}|{{{Speedup}}}|*None}}
|}
|}
</includeonly><noinclude>=How to use=
</includeonly><noinclude>[[Tamplate:Building/Doc]]</noinclude>
To use this template, simply copy this into the very top of a building's page.
 
<nowiki>{{Building</nowiki>
<nowiki>| Name = </nowiki>
<nowiki>| Picture = </nowiki>
<nowiki>| Placement = </nowiki>
<nowiki>| MaxLevel = </nowiki>
<nowiki>| Jobs = </nowiki>
<nowiki>| Homes = </nowiki>
<nowiki>| Materials = </nowiki>
<nowiki>* x [[Material of Choice]]</nowiki>
<nowiki>* </nowiki>
<nowiki>* [[Harsh Environment Enclosure|Additional materials in harsh environments]]</nowiki>
<nowiki>| Tools =</nowiki>
<nowiki>* </nowiki>
<nowiki>| Speedup =</nowiki>
<nowiki>* [[Hammer]]</nowiki>
<nowiki>* [[SUV]]</nowiki>
<nowiki>* [[Electricity]]</nowiki>
<nowiki>* [[Computer]]</nowiki>
<nowiki>}}</nowiki>
 
Then fill in information as need. See the examples below.
 
Notes:
* If the building does not have any homes, just leave the homes tag blank.
 
A few of the fields can left blank to invoke the default, which is:
* Name = <nowiki>{{{PAGENAME}}}</nowiki>
* Picture = Imbox deletion.png
* Placement = <nowiki>Land near [[Road]]</nowiki>
* MaxLevel = 8
* Jobs = 1 plus 1 for each level
* Homes = (special, the homes section will only be visible if the "homes" tag is used)
* Tools = *None
* Speedup = *None
 
==Minimal Example==
{{Building
| Materials =
* 1 [[Computer]]
}}
<nowiki>{{Building</nowiki>
<nowiki>| Materials = </nowiki>
<nowiki>* 1 [[Computer]]</nowiki>
<nowiki>}}</nowiki>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
==Full Examples==
{{Building
| Name = Casino
| Picture = Casino.png
| Placement = Land near [[Road]]
| MaxLevel = 32
| Jobs = 2 plus 1 for each level
| Homes =
| Materials =
* 120 [[Material of Choice]]
* 4 [[Electronic Part]]s
* 12 [[Mechanical Part]]s
* 12 [[Metal]]
* 40 [[Plastic]]
* 50 [[Textiles]]
* 2 [[Gem Ring]]
* [[Harsh Environment Enclosure|Additional materials in harsh environments]]
| Tools =
* [[Soldering Iron]]
* [[Hammer]]
| Speedup =
* [[Electricity]]
* [[Computer]]
* [[SUV]]
}}
<nowiki>{{Building</nowiki>
<nowiki>| Name = Casino</nowiki>
<nowiki>| Picture = Casino.png</nowiki>
<nowiki>| Placement = Land near [[Road]]</nowiki>
<nowiki>| MaxLevel = 32</nowiki>
<nowiki>| Jobs = 2 plus 1 for each level</nowiki>
<nowiki>| Homes = </nowiki>
<nowiki>| Materials = </nowiki>
<nowiki>* 120 [[Material of Choice]]</nowiki>
<nowiki>* 4 [[Electronic Part]]s</nowiki>
<nowiki>* 12 [[Mechanical Part]]s</nowiki>
<nowiki>* 12 [[Metal]]</nowiki>
<nowiki>* 40 [[Plastic]]</nowiki>
<nowiki>* 50 [[Textiles]]</nowiki>
<nowiki>* 2 [[Gem Ring]]</nowiki>
<nowiki>* [[Harsh Environment Enclosure|Additional materials in harsh environments]]</nowiki>
<nowiki>| Tools =</nowiki>
<nowiki>* [[Soldering Iron]]</nowiki>
<nowiki>* [[Hammer]]</nowiki>
<nowiki>| Speedup =</nowiki>
<nowiki>* [[Electricity]]</nowiki>
<nowiki>* [[Computer]]</nowiki>
<nowiki>* [[SUV]]</nowiki>
<nowiki>}}</nowiki>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
{{Building
| Name = Apartment
| Picture = Apartment.png
| Placement = Land near [[Road]]
| MaxLevel = 32
| Jobs = 1
| Homes = 4 for each level
| Materials =
* 20 [[Material of Choice]]
* [[Harsh Environment Enclosure|Additional materials in harsh environments]]
| Tools =
* [[Hammer]]
| Speedup =
* [[Electricity]]
* [[Computer]]
* [[SUV]]
}}
 
<nowiki>{{Building</nowiki>
<nowiki>| Name = Apartment</nowiki>
<nowiki>| Picture = Apartment.png</nowiki>
<nowiki>| Placement = Land near [[Road]]</nowiki>
<nowiki>| MaxLevel = 32</nowiki>
<nowiki>| Jobs = 1</nowiki>
<nowiki>| Homes = 4 for each level</nowiki>
<nowiki>| Materials = </nowiki>
<nowiki>* 20 [[Material of Choice]]</nowiki>
<nowiki>* [[Harsh Environment Enclosure|Additional materials in harsh environments]]</nowiki>
<nowiki>| Tools = </nowiki>
<nowiki>* [[Hammer]]</nowiki>
<nowiki>| Speedup = </nowiki>
<nowiki>* [[Electricity]]</nowiki>
<nowiki>* [[Computer]]</nowiki>
<nowiki>* [[SUV]]</nowiki>
<nowiki>}}</nowiki>
 
</noinclude>

Revision as of 12:25, 26 May 2015