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 searchm (Made the template add the page to Category: Planets without profile images instead of Category: Pages without profile images.) |
|||
(17 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" | + | | 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 /> |
− | + | {{!}}- | |
− | + | {{!}}class="infobox-data-title" {{!}} '''Owner''' | |
− | + | {{!}}style="padding-right: 1em;" {{!}} {{{owner}}} | }}|<br /> | |
− | | {{{owner}}} | + | {{!}}- |
− | | ''unknown'' | + | {{!}}class="infobox-data-title" {{!}} '''Owner''' |
− | }} | + | {{!}}style="padding-right: 1em;" {{!}} {{#if: {{{owner|}}} | {{{owner}}} | ''unknown'' }} }} |
|- | |- | ||
− | | | + | |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" | + | | colspan="2" class="infobox-section" | Technical information |
− | |- | + | {{#ifeq: {{{docking}}} | No | |{{!}}- |
− | + | {{!}}class="infobox-data-title" {{!}} '''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'' | ||
− | }} | + | }}}} |
|- | |- | ||
− | | | + | |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: | ||
}} | }} | ||
|- | |- | ||
− | | | + | |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: | ||
}} | }} | ||
|- | |- | ||
− | | | + | |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: | ||
}} | }} | ||
|- | |- | ||
− | | | + | |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: | ||
}} | }} | ||
|- | |- | ||
− | | | + | |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: | ||
}} | }} | ||
|- | |- | ||
− | | | + | |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: | ||
}} | }} | ||
|} | |} | ||
− | [[Category: Bases]][[Category: Planets]]{{#if: {{{image|}}} | | [[Category: | + | {{#ifeq: {{{docking}}} | No | |
− | <noinclude> | + | [[Category: Uninhabited Planets]] | |
+ | [[Category: Bases]] | ||
+ | [[Category: Planets]]}}{{#if: {{{image|}}} | |<br />[[Category: Planets 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 77: | Line 79: | ||
| name = Manhattan | | name = Manhattan | ||
| image = manhattan.jpg | | image = manhattan.jpg | ||
− | | owner = {{House Link | | + | | owner = {{House Link | Rheinland}} |
− | | system = [[New | + | | system = [[New Berlin]] |
| sector = C/D4 | | sector = C/D4 | ||
| house = | | house = | ||
− | | population = | + | | population = At least 100 |
− | | docking = | + | | docking = No |
− | | terrain = | + | | terrain = None |
− | | diameter = | + | | 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 = | + | | 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 | | + | | owner = {{House Link | Rheinland}} |
− | | system = [[New | + | | system = [[New Berlin]] |
| sector = C/D4 | | sector = C/D4 | ||
| house = | | house = | ||
− | | population = | + | | population = At least 100 |
− | | docking = | + | | docking = No |
− | | terrain = | + | | terrain = None |
− | | diameter = | + | | 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 = | + | | 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 | |
Owner | 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 |