Difference between revisions of "Template:Planet Infobox"

From Discovery Wiki
Jump to navigationJump to search
Line 9: Line 9:
 
}}
 
}}
 
|-
 
|-
|style="background: #f6f6f6;" | '''Owner'''
+
|class="infobox-data-title" | '''Owner'''
 
|style="padding-right: 1em;" | {{#if: {{{owner|}}}
 
|style="padding-right: 1em;" | {{#if: {{{owner|}}}
 
| {{{owner}}}
 
| {{{owner}}}
Line 15: Line 15:
 
}}
 
}}
 
|-
 
|-
|style="width: 90px; background: #f6f6f6;" | '''Location'''
+
|class="infobox-data-title" | '''Location'''
 
|style="padding-right: 1em; line-height: 17px;" | {{#if: {{{system|}}}{{{sector|}}}{{{house|}}}
 
|style="padding-right: 1em; line-height: 17px;" | {{#if: {{{system|}}}{{{sector|}}}{{{house|}}}
 
| {{#if: {{{sector|}}} | '''{{{sector}}}''', }} {{#if: {{{system|}}} | {{{system}}} | ''unknown'' }}{{#if: {{{house|}}} | <br>''{{{house}}}'' }}
 
| {{#if: {{{sector|}}} | '''{{{sector}}}''', }} {{#if: {{{system|}}} | {{{system}}} | ''unknown'' }}{{#if: {{{house|}}} | <br>''{{{house}}}'' }}
Line 23: Line 23:
 
| colspan="2" class="infobox-section" | Technical information
 
| colspan="2" class="infobox-section" | Technical information
 
|-
 
|-
|style="background: #f6f6f6;" | '''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}}} }}
Line 29: Line 29:
 
}}
 
}}
 
|-
 
|-
|style="background: #f6f6f6;" | '''Docking'''
+
|class="infobox-data-title" | '''Docking'''
 
|style="padding-right: 1em;" | {{#if: {{{docking|}}}
 
|style="padding-right: 1em;" | {{#if: {{{docking|}}}
 
| {{ #ifeq: {{{docking}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{docking}}} }}
 
| {{ #ifeq: {{{docking}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{docking}}} }}
Line 35: Line 35:
 
}}
 
}}
 
|-
 
|-
|style="background: #f6f6f6;" | '''Terrain'''
+
|class="infobox-data-title" | '''Terrain'''
 
|style="padding-right: 1em;" | {{#if: {{{terrain|}}}
 
|style="padding-right: 1em;" | {{#if: {{{terrain|}}}
 
| {{ #ifeq: {{{terrain}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{terrain}}} }}
 
| {{ #ifeq: {{{terrain}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{terrain}}} }}
Line 41: Line 41:
 
}}
 
}}
 
|-
 
|-
|style="background: #f6f6f6;" | '''Diameter'''
+
|class="infobox-data-title" | '''Diameter'''
 
|style="padding-right: 1em;" | {{#if: {{{diameter|}}}
 
|style="padding-right: 1em;" | {{#if: {{{diameter|}}}
 
| {{ #ifeq: {{{diameter}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{diameter}}} }}
 
| {{ #ifeq: {{{diameter}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{diameter}}} }}
Line 47: Line 47:
 
}}
 
}}
 
|-
 
|-
|style="background: #f6f6f6;" | '''Mass'''
+
|class="infobox-data-title" | '''Mass'''
 
|style="padding-right: 1em;" | {{#if: {{{mass|}}}
 
|style="padding-right: 1em;" | {{#if: {{{mass|}}}
 
| {{ #ifeq: {{{mass}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{mass}}} }}
 
| {{ #ifeq: {{{mass}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{mass}}} }}
Line 53: Line 53:
 
}}
 
}}
 
|-
 
|-
|style="background: #f6f6f6;" | '''Temperature'''
+
|class="infobox-data-title" | '''Temperature'''
 
|style="padding-right: 1em;" | {{#if: {{{temperature|}}}
 
|style="padding-right: 1em;" | {{#if: {{{temperature|}}}
 
| {{ #ifeq: {{{temperature}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{temperature}}} }}
 
| {{ #ifeq: {{{temperature}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{temperature}}} }}
Line 59: Line 59:
 
}}
 
}}
 
|-
 
|-
|style="background: #f6f6f6;" | '''Escape velocity'''
+
|class="infobox-data-title" | '''Escape velocity'''
 
|style="padding-right: 1em;" | {{#if: {{{escape_velocity|}}}
 
|style="padding-right: 1em;" | {{#if: {{{escape_velocity|}}}
 
| {{ #ifeq: {{{escape_velocity}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{escape_velocity}}} }}
 
| {{ #ifeq: {{{escape_velocity}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{escape_velocity}}} }}

Revision as of 15:02, 19 August 2009

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
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