Template:Building: Difference between revisions

From Hazeron Wiki
Jump to navigation Jump to search
m (Changed default MaxLevel to 1.)
m (Should look a bit better)
 
(18 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| style="float: right;" class="wikitable"
{| style="float: right; width: 30%;margin-left:5px;" class="wikitable"
! {{#if:{{{Name|}}}|{{{Name}}}|{{PAGENAME}}}}
|+ Building
|-
|-
| align="center" | [[File:{{#if:{{{Picture|}}}|{{{Picture}}}{{!}}250px{{!}}{{#if:{{{Name|}}}|{{{Name}}}|{{PAGENAME}}}}|Imbox deletion.png}}]]
! colspan="2" | {{#if:{{{Name|}}}|{{{Name}}}|{{PAGENAME}}}}
|-
|-
! Placement Requirement
| colspan="2" align="center" | [[File:{{#if:{{{Picture|}}}|{{{Picture}}}{{!}}200px{{!}}{{{Picture}}}|Imbox deletion.png}}]]
|-
||
*{{#if:{{{Placement|}}}|{{{Placement}}}|Land near [[:Category:Buildings|Road]]}}
|-
! Maximum Levels
|-
||
*{{#if:{{{MaxLevel|}}}|{{{MaxLevel}}}|1}}
|-
! Jobs
|-
||
*{{#if:{{{Jobs|}}}|{{{Jobs}}}|1 plus 1 for each level}}
|-
|-
{{#if:{{{Type|}}}
|<!-- New-Style buildings start-->
{{!}} '''Type'''
{{!}} {{{Type}}}
{{!}}-
{{!}} '''Description'''
{{!}} {{{Description}}}
{{!}}-
{{!}} '''Placement Requirement'''
{{!}} {{{Placement}}}
{{!}}-
{{!}} '''Note'''
{{!}} {{{Note}}}
{{!}}-
! colspan="2" align="center" {{!}} Structural Requirements <span class="section-collapse collapsed" style="font-size:70%; float:right;"></span>
{{!}}-
{{!}} '''Arena'''
{{!}} {{{Arena}}}
{{!}}-
{{!}} '''Auditorium'''
{{!}} {{{Auditorium}}}
{{!}}-
{{!}} '''Battery'''
{{!}} {{{Battery}}}
{{!}}-
{{!}} '''Commodity Storage'''
{{!}} {{{CommodityStorage}}}
{{!}}-
{{!}} '''Field Area'''
{{!}} {{{FieldArea}}}
{{!}}-
{{!}} '''Generator'''
{{!}} {{{Generator}}}
{{!}}-
{{!}} '''Guard Post'''
{{!}} {{{GuardPost}}}
{{!}}-
{{!}} '''Home, Large'''
{{!}} {{{HomeLarge}}}
{{!}}-
{{!}} '''Home, Medium'''
{{!}} {{{HomeMedium}}}
{{!}}-
{{!}} '''Home, Small'''
{{!}} {{{HomeSmall}}}
{{!}}-
{{!}} '''Livestock'''
{{!}} {{{Livestock}}}
{{!}}-
{{!}} '''Lounge Space'''
{{!}} {{{LoungeSpace}}}
{{!}}-
{{!}} '''Office Space'''
{{!}} {{{OfficeSpace}}}
{{!}}-
{{!}} '''Parking, Ground Vehicles'''
{{!}} {{{ParkingGroundVehicles}}}
{{!}}-
{{!}} '''Parking, Space Vehicles'''
{{!}} {{{ParkingSpaceVehicles}}}
{{!}}-
{{!}} '''Parking, Water Vehicles'''
{{!}} {{{ParkingWaterVehicles}}}
{{!}}-
{{!}} '''Parking, Spacecraft'''
{{!}} {{{ParkingSpacecraft}}}
{{!}}-
{{!}} '''Radar'''
{{!}} {{{Radar}}}
{{!}}-
{{!}} '''Shield Generator'''
{{!}} {{{ShieldGenerator}}}
{{!}}-
{{!}} '''Shop Space'''
{{!}} {{{ShopSpace}}}
{{!}}-
{{!}} '''Space Vehicle Launchers'''
{{!}} {{{SpaceVehicleLaunchers}}}
{{!}}-
{{!}} '''Space Vehicle Recovery Systems'''
{{!}} {{{SpaceVehicleRecoverySystems}}}
{{!}}-
{{!}} '''Store Space'''
{{!}} {{{StoreSpace}}}
{{!}}-
{{!}} '''Surgery Units'''
{{!}} {{{SurgeryUnits}}}
{{!}}-
{{!}} '''Transporters'''
{{!}} {{{Transporters}}}
{{!}}-
{{!}} '''Turrets'''
{{!}} {{{Turrets}}}
{{!}}-
{{!}} '''Weapon Bays'''
{{!}} {{{WeaponBays}}}
{{!}}- class="stop-section-collapse"
<!-- New-Style buildings end-->|<!-- Old-Style buildings start -->
! colspan="2" {{!}} Placement Requirement
{{!}}-
{{!}} colspan="2" {{!}}
* {{{Placement}}}
{{!}}-
! colspan="2" {{!}} Maximum Levels
{{!}}-
{{!}} colspan="2" {{!}}
* {{{MaxLevel}}}
{{!}}-
! colspan="2" {{!}} Jobs
{{!}}-
{{!}} colspan="2" {{!}}
* {{{Jobs}}}
{{#if:{{{Homes|}}}|{{!}}-
{{#if:{{{Homes|}}}|{{!}}-
! Homes
! colspan="2" {{!}} Homes
{{!}}-
{{!}} colspan="2" {{!}}
* {{{Homes}}}}}
<!-- Old-Style buildings end -->}}
{{#if:{{{Materials|}}}
|<!-- Materials start -->
{{!}}-
! colspan="2" {{!}} Construction Materials
{{!}}-
{{!}}-
{{!}}{{!}}
{{!}} colspan="2" {{!}}
*{{{Homes}}}}}
<small>
|-
! Construction Materials
|-
||
{{{Materials}}}
{{{Materials}}}
|-
</small>
! Tools Required
<!-- Materials end -->|}}
|-
{{#if:{{{Tools|}}}
||
|<!-- Tools start -->
{{#if:{{{Tools|}}}|{{{Tools}}}|*None}}
{{!}}-
|-
! colspan="2" {{!}} Tools Required
! Construction Speedup
{{!}}-
|-
{{!}} colspan="2" {{!}}
||
<small>
{{#if:{{{Speedup|}}}|{{{Speedup}}}|*None}}
{{{Tools}}}
</small>
<!-- Tools end -->|}}
{{#if:{{{Speedup|}}}
|<!-- Speedup start -->
{{!}}-
! colspan="2" {{!}} Construction Speedup
{{!}}-
{{!}} colspan="2" {{!}}
<small>
{{{Speedup}}}
</small>
<!-- Speedup end -->|}}
|}
|}
</includeonly><noinclude>[[Tamplate:Building/Doc]]</noinclude>
</includeonly><noinclude>{{Building/Doc}}</noinclude>

Latest revision as of 01:05, 20 March 2024

How to use

To use this template, simply copy this into the very top of a building's page.

{{Building
 | Name = 
 | Picture = 
 | Placement = 
 | MaxLevel = 
 | Jobs = 
 | Homes = 
 | Materials =
 * x [[Material of Choice]]
 * 
 * [[Harsh Environment Enclosure|Additional materials in harsh environments]]
 | Tools =
 * 
 | Speedup =
 * [[Hammer]]
 * [[SUV]]
 * [[Electricity]]
 * [[Computer]]
 }}

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 = {{PAGENAME}}
  • Picture = Imbox deletion.png
  • Placement = Land near [[Road]]
  • MaxLevel = 1
  • Jobs = 1 plus 1 for each level
  • Homes = (special, the homes section will only be visible if the "homes" tag is used)
  • Materials = *None
  • Tools = *None
  • Speedup = *None

Minimal Example

Building
Building
Placement Requirement
Maximum Levels
Jobs


{{Building
 | Name = 
 | Picture = 
 | Placement = 
 | MaxLevel = 
 | Jobs = 
 | Homes = 
 | Materials =
 | Tools =
 | Speedup =
 }}















Full Examples

Building
Casino
BCasino.png
Placement Requirement
Maximum Levels
  • 32
Jobs
  • 2 plus 1 for each level
Construction Materials

Tools Required

Construction Speedup

{{Building
 | Name = Casino
 | Picture = BCasino.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]]
 }}























Building
Apartment
BApartment.png
Placement Requirement
Maximum Levels
  • 32
Jobs
  • 1
Homes
  • 4 for each level
Construction Materials

Tools Required

Construction Speedup


{{Building
 | Name = Apartment
 | Picture = BApartment.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]]
 }}






















New-Style Building Example

Building
Aircraft Factory
BAircraftFactory.png
Type Building
Description Makes Air and Space Vehicles
Placement Requirement Can't build on aliens' claims.
Can't build in aliens' jurisdiction.
Note Each factory runs one manufacturing process.
Structural Requirements
Arena Ok
Auditorium Ok
Battery Ok
Commodity Storage 1m³ Space Required
Field Area Ok
Generator No
Guard Post No
Home, Large Ok
Home, Medium Ok
Home, Small Ok
Livestock Ok
Lounge Space Ok
Office Space 3 Office Required
Parking, Ground Vehicles Ok
Parking, Space Vehicles 1 Spot Required
Parking, Water Vehicles Ok
Parking, Spacecraft No
Radar No
Shield Generator No
Shop Space 3 Shop Required
Space Vehicle Launchers No
Space Vehicle Recovery Systems No
Store Space Ok
Surgery Units No
Transporters No
Turrets No
Weapon Bays No


{{Building
 | Name = Aircraft Factory
 | Picture = BAircraftFactory.png
 | Type = Building
 | Placement = Can't build on aliens' [[claims]].<br />Can't build in aliens' [[jurisdiction]].
 | Description = Makes Air and Space Vehicles
 | Note = Each factory runs one manufacturing process.
 | Arena = Ok
 | Auditorium = Ok
 | Battery = Ok
 | CommodityStorage = 1m³ Space Required
 | FieldArea =  Ok
 | Generator = No
 | GuardPost = No
 | HomeLarge = Ok
 | HomeMedium = Ok
 | HomeSmall = Ok
 | Livestock = Ok
 | LoungeSpace = Ok
 | OfficeSpace = 3 Office Required
 | ParkingGroundVehicles = Ok
 | ParkingSpaceVehicles = 1 Spot Required
 | ParkingWaterVehicles = Ok
 | ParkingSpacecraft = No
 | Radar = No
 | ShieldGenerator = No
 | ShopSpace = 3 Shop Required
 | SpaceVehicleLaunchers = No
 | SpaceVehicleRecoverySystems = No
 | StoreSpace = Ok
 | SurgeryUnits = No
 | Transporters = No
 | Turrets = No
 | WeaponBays = No
 }}