Difference between revisions of "Template:Base Infobox"

From Discovery Wiki
Jump to navigationJump to search
m (Added a line break in the template code)
m (Looks like adding that line break may actually have fixed it; odd.)
Line 29: Line 29:
 
}}}}{{#if: {{{class|}}}{{{type|}}} |  | <span style="color: #990000;">''Unknown''</span> }}  
 
}}}}{{#if: {{{class|}}}{{{type|}}} |  | <span style="color: #990000;">''Unknown''</span> }}  
 
|-
 
|-
| colspan="2" style="text-align: center; border: 1px solid #202653;"|[[image:{{{image}}}|center|250px]]
+
| colspan="2" style="text-align: center; border: 1px solid #202653;"|{{ #if: {{{image|}}}|[[image:{{{image}}}{{!}}center{{!}}250px]]|''Image missing''}}
 
|-
 
|-
 
| colspan="2" style="text-align: center; font-size: 14px; line-height: 18px; background: #202653; color: #ffffff"| Owner
 
| colspan="2" style="text-align: center; font-size: 14px; line-height: 18px; background: #202653; color: #ffffff"| Owner

Revision as of 09:46, 27 April 2015

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
| 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
Nostromo class station
Owner
Gas Miners Guild
Location
D4, Sigma-13
Technical Data
Gravity Limited
Docking bays Yes
Amenities Limited
Population 400