Difference between revisions of "Template:Infobox System"
Clive Redrum (talk | contribs) |
|||
(8 intermediate revisions by 2 users not shown) | |||
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}}} |
+ | |||
|- | |- | ||
− | | | + | ! Galactic Coordinates |
− | | | + | | {{{galcoord}}} |
+ | |||
+ | |- {{#if: {{{suns|}}} | | style="display: none" }} | ||
+ | ! Suns | ||
+ | | {{{suns}}} | ||
+ | |||
+ | |- {{#if: {{{orbits|}}} | | style="display: none" }} | ||
+ | ! Orbits | ||
+ | | {{{orbits}}} | ||
+ | |||
+ | |- {{#if: {{{asteroidfields|}}} | | style="display: none" }} | ||
+ | ! Asteroid Fields | ||
+ | | {{{asteroidfields}}} | ||
+ | |||
+ | |- {{#if: {{{stations|}}} | | style="display: none" }} | ||
+ | ! Space Stations | ||
+ | | {{{stations}}} | ||
+ | |||
|- | |- | ||
− | | | + | | colspan="2" class="infoboxHOM-section" | '''Societal Information''' |
− | | | + | |
− | | | + | |- {{#if: {{{discoverydate|}}} | | style="display: none" }} |
− | | | + | ! Date of Discovery |
− | + | | {{{discoverydate}}} | |
− | + | ||
− | + | |- {{#if: {{{affiliation|}}} | | style="display: none" }} | |
− | + | ! Affiliation | |
− | |- | + | | {{{affiliation}}} |
− | + | ||
− | + | |- {{#if: {{{entry|}}} | | style="display: none" }} | |
− | | | + | ! Astrographic Entry |
− | + | | {{{entry}}} | |
− | | | ||
− | |||
− | |||
− | |||
− | |- | ||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
|}<noinclude> | |}<noinclude> | ||
===Usage=== | ===Usage=== | ||
Line 44: | Line 57: | ||
<pre><nowiki> | <pre><nowiki> | ||
− | |||
{{Infobox System | {{Infobox System | ||
| name = | | name = | ||
| image= | | image= | ||
+ | | region= | ||
| sector = | | sector = | ||
| galcoord = | | galcoord = | ||
− | |||
− | |||
| suns = | | suns = | ||
− | | | + | | orbits = |
| asteroidfields = | | asteroidfields = | ||
| stations = | | stations = | ||
− | | | + | | discoverydate = |
− | | | + | | affiliation = |
+ | | entry = | ||
+ | }} | ||
+ | </nowiki></pre> | ||
+ | |||
+ | {{Infobox System | ||
+ | | name = Sol system | ||
+ | | image= | ||
+ | | region= Alpha Quadrant | ||
+ | | sector = Terran Sector | ||
+ | | galcoord = (001,001) | ||
+ | | suns = 1. Sol | ||
+ | | orbits = 7 planets | ||
+ | 1. Mercury<br> | ||
+ | 2. Venus<br> | ||
+ | 3. Earth<br> | ||
+ | *Luna | ||
+ | 4. Mars<br> | ||
+ | 5. Jupiter<br> | ||
+ | 6. Saturn<br> | ||
+ | 7. Uranus<br> | ||
+ | 8. Neptune | ||
+ | | asteroidfields = | ||
+ | | stations = ISS Station | ||
+ | | discoverydate = | ||
+ | | affiliation = Earth Federation | ||
+ | | entry = | ||
+ | }} | ||
+ | |||
+ | ===Example=== | ||
+ | <pre><nowiki> | ||
+ | {{Infobox System | ||
+ | | name = Sol system | ||
+ | | image= | ||
+ | | region= Alpha Quadrant | ||
+ | | sector = Terran Sector | ||
+ | | galcoord = (001,001) | ||
+ | | suns = 1. Sol | ||
+ | | planets = <p></p> | ||
+ | 1. Mercury<br> | ||
+ | 2. Venus<br> | ||
+ | 3. Earth<br> | ||
+ | *Luna | ||
+ | 4. Mars<br> | ||
+ | 5. Jupiter<br> | ||
+ | 6. Saturn<br> | ||
+ | 7. Uranus<br> | ||
+ | 8. Neptune | ||
+ | | asteroidfields = | ||
+ | | stations = ISS Station | ||
+ | | discoverydate = | ||
+ | | affiliation = Earth Federation | ||
| entry = | | entry = | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
+ | |||
[[Category:Infobox templates|{{PAGENAME}}]][[Category:Template]] | [[Category:Infobox templates|{{PAGENAME}}]][[Category:Template]] | ||
</noinclude> | </noinclude> |
Latest revision as of 18:35, 9 September 2023
{{{name}}} | |
---|---|
{{{image}}} | |
Astrographical Information | |
Sector | {{{sector}}} |
Galactic Coordinates | {{{galcoord}}} |
Societal Information |
Usage
The System Box template is used for System pages only, to describe the System. Paste the following code into the top of an article, filling all known fields:
{{Infobox System | name = | image= | region= | sector = | galcoord = | suns = | orbits = | asteroidfields = | stations = | discoverydate = | affiliation = | entry = }}
Sol system | |
---|---|
Astrographical Information | |
Region | Alpha Quadrant |
Sector | Terran Sector |
Galactic Coordinates | (001,001) |
Suns | 1. Sol |
Orbits | 7 planets
1. Mercury
4. Mars |
Space Stations | ISS Station |
Societal Information | |
Affiliation | Earth Federation |
Example
{{Infobox System | name = Sol system | image= | region= Alpha Quadrant | sector = Terran Sector | galcoord = (001,001) | suns = 1. Sol | planets = <p></p> 1. Mercury<br> 2. Venus<br> 3. Earth<br> *Luna 4. Mars<br> 5. Jupiter<br> 6. Saturn<br> 7. Uranus<br> 8. Neptune | asteroidfields = | stations = ISS Station | discoverydate = | affiliation = Earth Federation | entry = }}