Difference between revisions of "Template:Base Infobox"

From Discovery Wiki
Jump to navigationJump to search
Line 10: Line 10:
 
|-
 
|-
 
|style="vertical-align: top; background: #f6f6f6;" | '''Type'''
 
|style="vertical-align: top; background: #f6f6f6;" | '''Type'''
|style="padding-right: 1em;" | {{#if: {{{class|}}} | ''{{{class}}}'' class }} {{#switch: {{{type}}}
+
|style="padding-right: 1em;" | {{#if: {{{class|}}} | ''{{{class}}}'' class {{#switch: {{{type}}}
 +
| ASTEROID_BASE = asteroid base
 +
| STATION = station
 +
| SHIPYARD = shipyard
 +
| FREEPORT = freeport
 +
| BATTLESHIP = battleship
 +
}} }}{{#switch: {{{type}}}
 
| ASTEROID_BASE = Asteroid base
 
| ASTEROID_BASE = Asteroid base
 
| STATION = Station
 
| STATION = Station
Line 27: Line 33:
 
|style="padding-right: 1em;" | {{#if: {{{system|}}}{{{sector|}}}{{{location|}}}
 
|style="padding-right: 1em;" | {{#if: {{{system|}}}{{{sector|}}}{{{location|}}}
 
| {{#if: {{{sector|}}} | {{{sector}}}, }} {{#if: {{{system|}}} | {{{system}}} | ''unknown'' }}
 
| {{#if: {{{sector|}}} | {{{sector}}}, }} {{#if: {{{system|}}} | {{{system}}} | ''unknown'' }}
{{#if: {{{location|}}} | <br>{{{location}}} }}
+
{{#if: {{{location|}}} | {{{location}}} }}
 
| ''unknown''
 
| ''unknown''
 
}}
 
}}

Revision as of 18:27, 3 December 2008

Usage

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

Result

Gas Miner Naha
Type Nostromo class stationStation
Owner Gas Miners Guild
Location 4D, Sigma-13

Border Worlds

Technical information
Gravity Limited
Docking Yes
Amenities Limited
Population 400