![]() |
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 searchLine 1: | Line 1: | ||
<noinclude><!--</noinclude> | <noinclude><!--</noinclude> | ||
− | {| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: | + | {| 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: | + | | colspan="2" style="text-align: center; font-size: 14px; background: #f6f6f6;"|'''{{{name}}}''' |
|- | |- | ||
− | | colspan="2" style="padding: | + | | colspan="2" style="padding: 0px; text-align: center;"|{{#if: {{{image|}}} |
+ | | [[image:{{{image}}}|center|244px]] | ||
+ | | ''No image'' | ||
+ | }} | ||
|- | |- | ||
− | |style=" | + | |style="background: #f6f6f6;" | '''Owner''' |
− | |style="padding-right: 1em;" | | + | |style="padding-right: 1em;" | {{#if: {{{owner|}}} |
− | + | | {{{owner}}} | |
− | + | | ''unknown'' | |
− | + | }} | |
|- | |- | ||
− | |style=" | + | |style="width: 70px; background: #f6f6f6;" | '''Location''' |
− | |style="padding-right: 1em;" | {{{ | + | |style="padding-right: 1em; line-height: 17px;" | {{#if: {{{system|}}}{{{sector|}}}{{{house|}}} |
+ | | {{#if: {{{sector|}}} | '''{{{sector}}}''', }} {{#if: {{{system|}}} | {{{system}}} | ''unknown'' }}{{#if: {{{house|}}} | <br>''{{{house}}}'' }} | ||
+ | | ''unknown'' | ||
+ | }} | ||
|- | |- | ||
− | |style="vertical-align: top; | + | | colspan="2" style="vertical-align: top; font-weight: bold; text-align: center;" | Technical information |
− | |||
|- | |- | ||
− | |style=" | + | |style="background: #f6f6f6;" | '''Population''' |
− | |style="padding-right: 1em;" | {{{ | + | |style="padding-right: 1em;" | {{#if: {{{population|}}} |
+ | | {{ #ifeq: {{{population}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{population}}} }} | ||
+ | | ''unknown'' | ||
+ | }} | ||
|- | |- | ||
− | |style=" | + | |style="background: #f6f6f6;" | '''Docking''' |
− | |style="padding-right: 1em;" | {{{ | + | |style="padding-right: 1em;" | {{#if: {{{docking|}}} |
+ | | {{ #ifeq: {{{docking}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{docking}}} }} | ||
+ | | ''unknown'' | ||
+ | }} | ||
|- | |- | ||
− | |style=" | + | |style="background: #f6f6f6;" | '''Terrain''' |
− | |style="padding-right: 1em;" | {{{ | + | |style="padding-right: 1em;" | {{#if: {{{terrain|}}} |
+ | | {{ #ifeq: {{{terrain}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{terrain}}} }} | ||
+ | | ''unknown'' | ||
+ | }} | ||
|- | |- | ||
− | |style=" | + | |style="background: #f6f6f6;" | '''Diameter''' |
− | |style="padding-right: 1em;" | {{{ | + | |style="padding-right: 1em;" | {{#if: {{{diameter|}}} |
+ | | {{ #ifeq: {{{diameter}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{diameter}}} }} | ||
+ | | ''unknown'' | ||
+ | }} | ||
|- | |- | ||
− | |style=" | + | |style="background: #f6f6f6;" | '''Mass''' |
− | |style="padding-right: 1em;" | {{{ | + | |style="padding-right: 1em;" | {{#if: {{{mass|}}} |
+ | | {{ #ifeq: {{{mass}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{mass}}} }} | ||
+ | | ''unknown'' | ||
+ | }} | ||
|- | |- | ||
− | |style=" | + | |style="background: #f6f6f6;" | '''Temperature''' |
− | |style="padding-right: 1em;" | {{{ | + | |style="padding-right: 1em;" | {{#if: {{{temperature|}}} |
+ | | {{ #ifeq: {{{temperature}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{temperature}}} }} | ||
+ | | ''unknown'' | ||
+ | }} | ||
+ | |- | ||
+ | |style="background: #f6f6f6;" | '''Escape velocity''' | ||
+ | |style="padding-right: 1em;" | {{#if: {{{escape_velocity|}}} | ||
+ | | {{ #ifeq: {{{temperature}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{temperature}}} }} | ||
+ | | ''unknown'' | ||
+ | }} | ||
|} | |} | ||
+ | [[Category: Bases]] | ||
+ | [[Category: Planets]] | ||
+ | {{#if: {{{image|}}} | | [[Category: Pages without profile images]]}} | ||
<noinclude> | <noinclude> | ||
* Diameter: 12,753 Km | * Diameter: 12,753 Km | ||
Line 44: | Line 76: | ||
--> | --> | ||
==Usage== | ==Usage== | ||
− | <pre><nowiki>{{ | + | <pre><nowiki>{{Planet Infobox |
− | |name = Manhattan | + | | name = Manhattan |
− | |image = manhattan.jpg | + | | image = manhattan.jpg |
− | |system = [[New York]] | + | | owner = {{House Link | Liberty}} |
− | |sector = | + | | system = [[New York]] |
− | | | + | | sector = C/D4 |
− | + | | house = | |
− | |population = | + | | population = ~300 million |
− | |docking = Yes | + | | docking = Yes |
− | |terrain = Terrestrial | + | | terrain = Terrestrial |
− | |diameter = 12,753 | + | | diameter = 12,753 |
− | |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 |
}}</nowiki></pre> | }}</nowiki></pre> | ||
==Result== | ==Result== | ||
− | {{ | + | {{Planet Infobox |
− | |name = Manhattan | + | | name = Manhattan |
− | |image = manhattan.jpg | + | | image = manhattan.jpg |
− | |system = [[New York]] | + | | owner = {{House Link | Liberty}} |
− | |sector = | + | | system = [[New York]] |
− | | | + | | sector = C/D4 |
− | + | | house = | |
− | |population = | + | | population = ~300 million |
− | |docking = Yes | + | | docking = Yes |
− | |terrain = Terrestrial | + | | terrain = Terrestrial |
− | |diameter = 12,753 | + | | diameter = 12,753 |
− | |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 |
}} | }} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 09:42, 4 December 2008
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 | mass = 5,98 x 10e24 kg | temperature = -46°C to 43°C | escape_velocity = 11.27 km/sec }}
Result
Manhattan | |
Owner | ![]() |
Location | C/D4, New York |
Technical information | |
Population | ~300 million |
Docking | Yes |
Terrain | Terrestrial |
Diameter | 12,753 |
Mass | 5,98 x 10e24 kg |
Temperature | -46°C to 43°C |
Escape velocity | -46°C to 43°C |