Difference between revisions of "Template:Infobox Planet"
Clive Redrum (talk | contribs) |
|||
Line 1: | Line 1: | ||
− | {| | + | {| class="infobox" cellspacing="9" |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | + | ! colspan="2" class="infoboxHOM-section" style="font-size: 16px;" | '''{{{name}}}''' | |
− | + | ||
|- | |- | ||
− | | | + | | colspan="2" class="infobox-image" | {{{image}}} |
− | + | ||
|- | |- | ||
− | | | + | | colspan="2" class="infoboxHOM-section" | '''Astrographical Information''' |
− | | | + | |
+ | |- {{#if: {{{region|}}} | | style="display: none" }} | ||
+ | ! Region | ||
+ | | {{{region}}} | ||
+ | |||
|- | |- | ||
− | + | ! Sector | |
− | | | + | | {{{sector}}} |
+ | |||
|- | |- | ||
− | + | ! System | |
− | + | | {{{System}}} | |
− | + | ||
− | |||
− | | | ||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | ! Galactic Coordinates |
+ | | {{{galcoord}}} | ||
+ | |||
+ | |- {{#if: {{{suns|}}} | | style="display: none" }} | ||
+ | ! Suns | ||
+ | | {{{suns}}} | ||
+ | |||
+ | |- {{#if: {{{moons|}}} | | style="display: none" }} | ||
+ | ! Moons | ||
+ | | {{{moons}}} | ||
+ | |||
+ | |- {{#if: {{{rotation|}}} | | style="display: none" }} | ||
+ | ! Rotational Period | ||
+ | | {{{rotation}}} | ||
+ | |||
+ | |- {{#if: {{{orbital|}}} | | style="display: none" }} | ||
+ | ! Orbital Period | ||
+ | | {{{Orbital}}} | ||
+ | |||
|- | |- | ||
− | | | + | | colspan="2" class="infoboxHOM-section" | '''Physical Information''' |
− | + | ||
|- | |- | ||
− | + | ! Type | |
− | + | | {{{type}}} | |
+ | |||
|- | |- | ||
− | | | + | ! Terrain |
− | | | + | | {{{terrain}}} |
+ | |||
+ | |- {{#if: {{{shielded|}}} | | style="display: none" }} | ||
+ | ! Shielded | ||
+ | | {{{shielded}}} | ||
+ | |||
+ | |- {{#if: {{{points|}}} | | style="display: none" }} | ||
+ | ! Points of Interest | ||
+ | | {{{points}}} | ||
+ | |||
|- | |- | ||
− | | | + | | colspan="2" class="infoboxHOM-section" | '''Societal Information''' |
− | | | + | |
− | |- | + | |- {{#if: {{{native|}}} | | style="display: none" }} |
− | | | + | ! Native Species |
− | | | + | | {{{native}}} |
− | |- | + | |
− | | | + | |- {{#if: {{{immigrate|}}} | | style="display: none" }} |
− | | | + | ! Immigrated Species |
− | |- | + | | {{{immigrate}}} |
− | | | + | |
− | | | + | |- {{#if: {{{demonym|}}} | | style="display: none" }} |
− | |- | + | ! Demonym |
− | | | + | | {{{demonym}}} |
− | | | + | |
+ | |- {{#if: {{{languages|}}} | | style="display: none" }} | ||
+ | ! Primary Languages | ||
+ | | {{{languages}}} | ||
+ | |||
+ | |- {{#if: {{{discoverydate|}}} | | style="display: none" }} | ||
+ | ! Date of Discovery | ||
+ | | {{{discoverydate}}} | ||
+ | |||
+ | |- {{#if: {{{governor|}}} | | style="display: none" }} | ||
+ | ! Governor | ||
+ | | {{{governor}}} | ||
+ | |||
+ | |- {{#if: {{{magistrate|}}} | | style="display: none" }} | ||
+ | ! Magistrate | ||
+ | | {{{magistrate}}} | ||
+ | |||
+ | |- {{#if: {{{cities|}}} | | style="display: none" }} | ||
+ | ! Major Cities | ||
+ | | {{{cities}}} | ||
+ | |||
+ | |- {{#if: {{{tradegoods|}}} | | style="display: none" }} | ||
+ | ! Major Trade Goods | ||
+ | | {{{tradegoods}}} | ||
+ | |||
+ | |- {{#if: {{{affiliation|}}} | | style="display: none" }} | ||
+ | ! Affiliation | ||
+ | | {{{affiliation}}} | ||
+ | |||
+ | |- {{#if: {{{entry|}}} | | style="display: none" }} | ||
+ | ! Astrographic Entry | ||
+ | | {{{entry}}} | ||
|}<noinclude> | |}<noinclude> | ||
+ | |||
===Usage=== | ===Usage=== | ||
− | The Planet Box template is used for Planet pages only, to describe the planet. Paste the following code into the top of an article, filling all known fields, leaving unknown ones blank. | + | The Planet Box template is used for Planet pages only, to describe the planet. Paste the following code into the top of an article, filling all known fields, and leaving unknown ones blank. |
<pre><nowiki> | <pre><nowiki> | ||
Line 62: | Line 117: | ||
| name = | | name = | ||
| image = | | image = | ||
+ | | region = | ||
| system = | | system = | ||
| sector = | | sector = | ||
| galcoord = | | galcoord = | ||
− | | | + | | suns = |
+ | | moons = | ||
| rotation = | | rotation = | ||
| orbital = | | orbital = | ||
| type = | | type = | ||
| terrain = | | terrain = | ||
− | | | + | | shielded = |
− | | | + | | points = |
− | | | + | | native = |
+ | | immigrate = | ||
+ | | demonym = | ||
+ | | languages = | ||
+ | | discoverydate = | ||
| governor = | | governor = | ||
| magistrate = | | magistrate = | ||
− | | | + | | cities = |
− | | | + | | tradegoods = |
+ | | affiliation = | ||
+ | | entry = | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
[[Category:Infobox templates]][[Category:Template]]</noinclude> | [[Category:Infobox templates]][[Category:Template]]</noinclude> |
Revision as of 15:19, 10 September 2023
{{{name}}} | |
---|---|
{{{image}}} | |
Astrographical Information | |
Sector | {{{sector}}} |
System | {{{System}}} |
Galactic Coordinates | {{{galcoord}}} |
Physical Information | |
Type | {{{type}}} |
Terrain | {{{terrain}}} |
Societal Information |
Usage
The Planet Box template is used for Planet pages only, to describe the planet. Paste the following code into the top of an article, filling all known fields, and leaving unknown ones blank.
{{Infobox Planet | name = | image = | region = | system = | sector = | galcoord = | suns = | moons = | rotation = | orbital = | type = | terrain = | shielded = | points = | native = | immigrate = | demonym = | languages = | discoverydate = | governor = | magistrate = | cities = | tradegoods = | affiliation = | entry = }}