Difference between revisions of "Template:Infobox System"

From Tresario Archives
Jump to: navigation, search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="border: 1px solid black; background:#232730; padding: 1px; margin: 5px; width: 25%; float: right; font-size: 11px;"
+
{| class="infobox" cellspacing="9"
width="100%" colspan="2" style="border: 1px solid grey; background-color: #CC9900; font-size: 16px; text-align: center;" | <font color=black>'''{{{name}}}'''</font>
+
|-
 +
! colspan="2" class="infoboxHOM-section" style="font-size: 16px;" | '''{{{name}}}'''
 +
 
 
|-  
 
|-  
width="100%" colspan="2" style="text-align: center;" | {{{image}}}
+
|  colspan="2" class="infobox-image" | {{{image}}}
 +
 
 
|-  
 
|-  
width="100%" colspan="2" style="border: 1px solid grey; background-color: #CC9900;" | <font color=black>'''General information'''</font>
+
|  colspan="2" class="infoboxHOM-section" | '''Astrographical Information'''
 +
 
 +
|- {{#if: {{{region|}}} | | style="display: none" }}
 +
!  Region
 +
|  {{{region}}}
 +
 
 
|-  
 
|-  
| width="31%" | '''Sector'''
+
! Sector
width="69%" | {{{sector}}}
+
|  {{{sector}}}
 +
 
 
|-  
 
|-  
width="31%" | '''Galactic Coordinates'''
+
!  Galactic Coordinates
| width="69%" | {{{galcoord}}}
+
{{{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}}}
 +
 
 
|-  
 
|-  
width="31%" | '''Date of Discovery'''
+
colspan="2" class="infoboxHOM-section" | '''Societal Information'''
| width="69%" | {{{discoverydate|Before record-keeping began}}}
+
 
|-
+
|- {{#if: {{{discoverydate|}}} | | style="display: none" }}
| width="31%" | '''Planets'''
+
! Date of Discovery
|  width="69%" | {{{planets}}}
+
| {{{discoverydate}}}
|-
+
 
|  width="31%" | '''Suns'''
+
|- {{#if: {{{affiliation|}}} | | style="display: none" }}
|  width="69%" | {{{suns}}}
+
! Affiliation
|-  
+
| {{{affiliation}}}
|  width="31%" | '''Moons'''
+
 
|  width="69%" | {{{moons}}}
+
|- {{#if: {{{entry|}}} | | style="display: none" }}
|-
+
! Astrographic Entry
|  width="31%" | '''Asteroid Fields'''
+
| {{{entry}}}
| width="69%" | {{{asteroidfields}}}
 
|- 
 
|  width="31%" | '''Space Stations'''
 
|  width="69%" | {{{stations}}}
 
|-
 
|  width="31%" | '''Population'''
 
|  width="69%" | {{{population}}}
 
|-
 
|  width="31%" | '''Controlled By'''
 
| width="69%" | {{{controller}}}
 
|-
 
|  width="31%" | '''Astrographic Entry'''
 
|  width="69%" | {{{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 =  
| discoverydate = (Leave blank for default="Before record-keeping began")
 
| planets =
 
 
| suns =  
 
| suns =  
| moons =  
+
| orbits =  
 
| asteroidfields =
 
| asteroidfields =
 
| stations =  
 
| stations =  
| population =  
+
| discoverydate =  
| controller =
+
| 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
Region {{{region}}}
Sector {{{sector}}}
Galactic Coordinates {{{galcoord}}}
Suns {{{suns}}}
Orbits {{{orbits}}}
Asteroid Fields {{{asteroidfields}}}
Space Stations {{{stations}}}
Societal Information
Date of Discovery {{{discoverydate}}}
Affiliation {{{affiliation}}}
Astrographic Entry {{{entry}}}

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
2. Venus
3. Earth

  • Luna

4. Mars
5. Jupiter
6. Saturn
7. Uranus
8. Neptune

Asteroid Fields
Space Stations ISS Station
Societal Information
Date of Discovery
Affiliation Earth Federation
Astrographic Entry

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 = 
}}