Difference between revisions of "Template:Base Infobox"

From Discovery Wiki
Jump to navigationJump to search
m
Line 15: Line 15:
 
|-
 
|-
 
|class="infobox-data-title" | '''Type'''
 
|class="infobox-data-title" | '''Type'''
|style="padding-right: 1em;" |{{#if: {{{class|}}} |''{{{class}}}'' class {{#switch: {{{type}}}
+
|style="padding-right: 1em;" |{{#ifeq: {{{type|}}} | PLAYER_BASE | Core Level}} {{#if: {{{class|}}} |''{{{class}}}'' class {{#switch: {{{type}}}
 
| ASTEROID_BASE = asteroid base
 
| ASTEROID_BASE = asteroid base
 
| STATION = station
 
| STATION = station
Line 25: Line 25:
 
| LINER = liner
 
| LINER = liner
 
| PRISON = prison station
 
| PRISON = prison station
| PLAYER_BASE = base
+
| PLAYER_BASE = Base
 
}} |{{#switch: {{{type}}}
 
}} |{{#switch: {{{type}}}
 
| ASTEROID_BASE = Asteroid base
 
| ASTEROID_BASE = Asteroid base

Revision as of 08:49, 25 July 2012

Other Templates available to read:

The Basics  • Ships  • Factions  • Bases  • Planets  • Systems  • Commodities


Usage

{{Base Infobox
| name = Gas Miner Naha
| image = naha.jpg
| class = Nostromo
| type = STATION
| system = [[Sigma-13]]
| sector = D4
| house = [[Border Worlds]]
| owner = [[Gas Miners Guild]]
| gravity = Limited
| docking = Yes
| amenities = Limited
| population = 400
}}

Base type can be one of these choices:

  • ASTEROID_BASE
  • STATION
  • DEPOT
  • SHIPYARD
  • FREEPORT
  • BATTLESHIP
  • DESTROYER
  • LINER
  • PRISON
  • PLAYER_BASE

Result

Gas Miner Naha
Type Nostromo class station
Owner Gas Miners Guild
Location D4, Sigma-13
Border Worlds
Technical information
Gravity Limited
Docking Yes
Amenities Limited
Population 400