Difference between revisions of "Template:Base Infobox"

From Discovery Wiki
Jump to navigationJump to search
m
(Reworking template. WIP.)
Line 2: Line 2:
 
{{#ifeq: {{{type|}}} | PLAYER_BASE | {{#ifeq: {{{destroyed|0}}} | 1 | {{Destroyed Player Base}} | ''{{{disclaimer|This is a player-built and owned base on the Discovery Freelancer RP 24/7 server which may not be found on other servers.}}}''}}}}
 
{{#ifeq: {{{type|}}} | PLAYER_BASE | {{#ifeq: {{{destroyed|0}}} | 1 | {{Destroyed Player Base}} | ''{{{disclaimer|This is a player-built and owned base on the Discovery Freelancer RP 24/7 server which may not be found on other servers.}}}''}}}}
 
{{#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 #202653; background: #14193f;" cellpadding="3"
 
|-
 
|-
| colspan="2" class="infobox-name"|'''{{{name}}}'''
+
| colspan="2" style="text-align: center; font-size: 16px; line-height: 18px; background: #202653; color: #ffffff"| <b>{{{name}}}</b>
 +
|-
 +
| colspan="2" style="text-align: center;  font-size: 12px; line-height: 18px;"| {{#if: {{{owner|}}}
 +
| {{{owner}}}
 +
| ''unknown''
 
{{#ifexpr: {{{destroyed|0}}} > 0 | {{!}}-
 
{{#ifexpr: {{{destroyed|0}}} > 0 | {{!}}-
{{!}} colspan="2" style="text-align: center; font: bold italic 12px Tahoma; letter-spacing: 1px; text-transform: uppercase; color: #AA0000;" {{!}} Destroyed
+
{{!}} colspan="2" style="text-align: center; font: bold italic 12px Tahoma; letter-spacing: 1px; text-transform: uppercase; color: #AA0000;" {{!}} (abandoned)
 
}}
 
}}
 
|-
 
|-
Line 39: Line 43:
 
| #default = <span style="color: #990000;">''unknown''</span>
 
| #default = <span style="color: #990000;">''unknown''</span>
 
}} }}{{#if: {{{class|}}}{{{type|}}} |  | <span style="color: #990000;">''unknown''</span> }}  
 
}} }}{{#if: {{{class|}}}{{{type|}}} |  | <span style="color: #990000;">''unknown''</span> }}  
|-
 
|class="infobox-data-title" | '''Owner'''
 
|style="padding-right: 1em;" | {{#if: {{{owner|}}}
 
| {{{owner}}}
 
| ''unknown''
 
}}
 
 
|-
 
|-
 
|class="infobox-data-title" | '''Location'''
 
|class="infobox-data-title" | '''Location'''

Revision as of 11:09, 18 October 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
{{#if: Gas Miners Guild Gas Miners Guild unknown
Type Nostromo class station
Location D4, Sigma-13
Border Worlds
Technical information
Gravity Limited
Docking Yes
Amenities Limited
Population 400