Difference between revisions of "Template:Planet Infobox"

From Discovery Wiki
Jump to navigationJump to search
m (test)
m (test)
Line 20: Line 20:
 
|-
 
|-
 
| colspan="2" class="infobox-section" | Technical information
 
| colspan="2" class="infobox-section" | Technical information
|-
+
{{#ifeq:{{{docking}}}|No| |{{!}}-
|class="infobox-data-title" | '''Population'''
+
{{!}}class="infobox-data-title" {{!}} '''Population'''
|style="padding-right: 1em;" | {{#if: {{{population|}}}
+
{{!}}style="padding-right: 1em;" {{!}} {{#if: {{{population|}}}
 
| {{ #ifeq: {{{population}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{population}}} }}
 
| {{ #ifeq: {{{population}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{population}}} }}
| ''unknown''
+
! ''unknown''
 
}}
 
}}
 
|-
 
|-

Revision as of 20:45, 5 January 2010

Other Templates available to read:

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


Usage

{{Planet Infobox
| name = Manhattan
| image = manhattan.jpg
| owner = {{House Link | Liberty}}
| system = [[New York]]
| sector = C/D4
| house = 
| population = ~300 million
| docking = Yes
| terrain = Terrestrial
| diameter = 12,753 km
| mass = 5,98 x 10e24 kg
| temperature = -46°C to 43°C
| escape_velocity = 11.27 km/sec
}}

Result

Manhattan
Planet Manhattan.jpg

Owner Flag-liberty.png Liberty
Location C/D4, New York
Technical information

{{#ifeq:Yes|No| ||-

Population ~300 million unknown
Docking Yes
Terrain Terrestrial
Diameter 12,753 km
Mass 5,98 x 10e24 kg
Temperature -46°C to 43°C
Escape velocity 11.27 km/sec