YellowWarningTriangle.png This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date.

Difference between revisions of "Template:Planet Infobox"

From Discovery Wiki
Jump to navigationJump to search
 
(20 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude><!--</noinclude>
+
<noinclude>{{Style Guide navigation}}<!--</noinclude>{{#if: {{{image|}}}||{{Stub|This Article needs a Picture for the '''Planet'''. 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 #dddddd;" 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 #dddddd;" cellpadding="3"
 
|-
 
|-
| colspan="2" style="text-align: center; font-size: 14px; background: #f6f6f6;"|'''{{{name}}}'''
+
| colspan="2" class="infobox-name"|'''{{{name}}}'''
 
|-
 
|-
 
| colspan="2" style="padding: 0px; text-align: center;"|{{#if: {{{image|}}}
 
| colspan="2" style="padding: 0px; text-align: center;"|{{#if: {{{image|}}}
 
| [[image:{{{image}}}|center|244px]]
 
| [[image:{{{image}}}|center|244px]]
 
| ''No image''
 
| ''No image''
}}
+
}}{{#ifeq: {{{docking}}} | No |{{#if:{{{owner|}}}|<br />
|-
+
{{!}}-
|style="background: #f6f6f6;" | '''Owner'''
+
{{!}}class="infobox-data-title" {{!}} '''Owner'''
|style="padding-right: 1em;" | {{#if: {{{owner|}}}
+
{{!}}style="padding-right: 1em;" {{!}} {{{owner}}} | }}|<br />
| {{{owner}}}
+
{{!}}-
| ''unknown''
+
{{!}}class="infobox-data-title" {{!}} '''Owner'''
}}
+
{{!}}style="padding-right: 1em;" {{!}} {{#if: {{{owner|}}} | {{{owner}}} | ''unknown'' }} }}
 
|-
 
|-
|style="width: 70px; 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 21: Line 21:
 
}}
 
}}
 
|-
 
|-
| colspan="2" style="vertical-align: top; font-weight: bold; text-align: center;" | Technical information
+
| colspan="2" class="infobox-section" | Technical information
|-
+
{{#ifeq: {{{docking}}} | No | |{{!}}-
|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}}} }}
 
| ''unknown''
 
| ''unknown''
}}
+
}}}}
 
|-
 
|-
|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}}} }}
Line 65: Line 65:
 
}}
 
}}
 
|}
 
|}
 +
{{#ifeq: {{{docking}}} | No |
 +
[[Category: Uninhabited Planets]] |
 
[[Category: Bases]]
 
[[Category: Bases]]
[[Category: Planets]]
+
[[Category: Planets]]}}{{#if: {{{image|}}} | |<br />[[Category: Planets without profile images]]}}<noinclude>
{{#if: {{{image|}}} | | [[Category: Pages without profile images]]}}
 
<noinclude>
 
 
     *  Diameter: 12,753 Km
 
     *  Diameter: 12,753 Km
 
     * Mass: 5.98 x 10e24 Kg
 
     * Mass: 5.98 x 10e24 Kg
Line 79: Line 79:
 
| name = Manhattan
 
| name = Manhattan
 
| image = manhattan.jpg
 
| image = manhattan.jpg
| owner = {{House Link | Liberty}}
+
| owner = {{House Link | Rheinland}}
| system = [[New York]]
+
| system = [[New Berlin]]
 
| sector = C/D4
 
| sector = C/D4
 
| house =  
 
| house =  
| population = ~300 million
+
| population = At least 100
| docking = Yes
+
| docking = No
| terrain = Terrestrial
+
| terrain = None
| diameter = 12,753
+
| diameter = 1.2 Zelots
 
| mass = 5,98 x 10e24 kg
 
| mass = 5,98 x 10e24 kg
 
| temperature = -46°C to 43°C
 
| temperature = -46°C to 43°C
| escape_velocity = 11.27 km/sec
+
| escape_velocity = 60 mph
 
}}</nowiki></pre>
 
}}</nowiki></pre>
 +
 
==Result==
 
==Result==
 
{{Planet Infobox
 
{{Planet Infobox
 
| name = Manhattan
 
| name = Manhattan
 
| image = manhattan.jpg
 
| image = manhattan.jpg
| owner = {{House Link | Liberty}}
+
| owner = {{House Link | Rheinland}}
| system = [[New York]]
+
| system = [[New Berlin]]
 
| sector = C/D4
 
| sector = C/D4
 
| house =  
 
| house =  
| population = ~300 million
+
| population = At least 100
| docking = Yes
+
| docking = No
| terrain = Terrestrial
+
| terrain = None
| diameter = 12,753
+
| diameter = 1.2 Zelots
 
| mass = 5,98 x 10e24 kg
 
| mass = 5,98 x 10e24 kg
 
| temperature = -46°C to 43°C
 
| temperature = -46°C to 43°C
| escape_velocity = 11.27 km/sec
+
| escape_velocity = 60 mph
 
}}
 
}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:26, 8 March 2013

Other Templates available to read:

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


Usage

{{Planet Infobox
| name = Manhattan
| image = manhattan.jpg
| owner = {{House Link | Rheinland}}
| system = [[New Berlin]]
| sector = C/D4
| house = 
| population = At least 100
| docking = No
| terrain = None
| diameter = 1.2 Zelots
| mass = 5,98 x 10e24 kg
| temperature = -46°C to 43°C
| escape_velocity = 60 mph
}}

Result

Manhattan
Planet Manhattan.jpg

Owner Flag-rheinland.png Rheinland
Location C/D4, New Berlin
Technical information
Docking No
Terrain None
Diameter 1.2 Zelots
Mass 5,98 x 10e24 kg
Temperature -46°C to 43°C
Escape velocity 60 mph