Difference between revisions of "Template:Base Infobox"

From Discovery Wiki
Jump to navigationJump to search
m (Reverted edits by Space (talk) to last revision by Alex)
(Player Base option added for base types.)
Line 1: Line 1:
 
<noinclude>{{Style Guide navigation}}<!--</noinclude>
 
<noinclude>{{Style Guide navigation}}<!--</noinclude>
 +
{{#ifeq: type | PLAYER_BASE | ''{{{disclaimer|This is a player-built and owned base.}}}''}}
 
{{#if: {{{image|}}}||{{Stub|This Article needs a Picture for the '''Base'''. This is an automatically generated message that will disappear when an image is used.}}}}
 
{{#if: {{{image|}}}||{{Stub|This Article needs a Picture for the '''Base'''. This is an automatically generated message that will disappear when an image is used.}}}}
 
{| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 250px; font-size: 11px; line-height: 14px; border: 1px solid white; " cellpadding="3"
 
{| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 250px; font-size: 11px; line-height: 14px; border: 1px solid white; " cellpadding="3"
Line 24: Line 25:
 
| LINER = liner
 
| LINER = liner
 
| PRISON = prison station
 
| PRISON = prison station
 +
| PLAYER_BASE = base
 
}} |{{#switch: {{{type}}}
 
}} |{{#switch: {{{type}}}
 
| ASTEROID_BASE = Asteroid base
 
| ASTEROID_BASE = Asteroid base
Line 34: Line 36:
 
| LINER = Liner
 
| LINER = Liner
 
| PRISON = Prison station
 
| PRISON = Prison station
 +
| PLAYER_BASE = Player base
 
}} }}{{#if: {{{class|}}}{{{type|}}} |  | <span style="color: #990000;">''unknown''</span> }}  
 
}} }}{{#if: {{{class|}}}{{{type|}}} |  | <span style="color: #990000;">''unknown''</span> }}  
 
|-
 
|-
Line 84: Line 87:
 
| LINER = [[Category: Stationary liners]]
 
| LINER = [[Category: Stationary liners]]
 
| PRISON = [[Category: Prison stations]]
 
| PRISON = [[Category: Prison stations]]
 +
| PLAYER_BASE = [[Category: Player Bases]]
 
| #default = [[Category:Uncategorised bases]]
 
| #default = [[Category:Uncategorised bases]]
 
}}{{#ifexpr: {{{destroyed|0}}} > 0 | [[Category: Destroyed bases]]}}{{#if: {{{image|}}} | | [[Category: Bases without profile images]]}}
 
}}{{#ifexpr: {{{destroyed|0}}} > 0 | [[Category: Destroyed bases]]}}{{#if: {{{image|}}} | | [[Category: Bases without profile images]]}}
Line 113: Line 117:
 
* LINER
 
* LINER
 
* PRISON
 
* PRISON
 +
* PLAYER_BASE
  
 
==Result==
 
==Result==

Revision as of 18:00, 13 April 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