Difference between revisions of "Template:Infobox Planet"

From Tresario Archives
Jump to: navigation, search
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>
 
|-
 
|  width="100%" colspan="2" style="text-align: center;" | {{{image}}}
 
|-
 
|  width="100%" colspan="2" style="border: 1px solid grey; background-color: #CC9900;" | <font color=black>'''Location'''</font>
 
 
|-
 
|-
| width="31%" | System
+
! colspan="2" class="infoboxHOM-section" style="font-size: 16px;" | '''{{{name}}}'''
|  width="69%" | {{{system}}}
+
 
 
|-  
 
|-  
width="31%" | Sector
+
colspan="2" class="infobox-image" | {{{image}}}
|  width="69%" | {{{sector}}}
+
 
 
|-  
 
|-  
width="31%" | Galactic Coordinates
+
colspan="2" class="infoboxHOM-section" | '''Astrographical Information'''
| width="69%" | {{{galcoord}}}
+
 
 +
|- {{#if: {{{region|}}} | | style="display: none" }}
 +
!  Region
 +
| {{{region}}}
 +
 
 
|-  
 
|-  
| width="31%" | System Coordinates
+
! Sector
width="69%" | {{{syscoord}}}
+
|  {{{sector}}}
 +
 
 
|-  
 
|-  
|  width="31%" | Rotational Period
+
! System
|  width="69%" | {{{rotation}}}
+
|  {{{System}}}
|-
+
 
| width="31%" | Orbital Period
 
width="69%" | {{{orbital}}}
 
|-
 
|  width="31%" | Astrographic Entry
 
|  width="69%" | {{{entry}}}
 
 
|-  
 
|-  
width="100%" colspan="2" style="border: 1px solid grey; background-color: #CC9900;" | <font color=Black>'''Statistics'''</font>
+
!  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}}}
 +
 
 
|-  
 
|-  
width="31%" | Type
+
colspan="2" class="infoboxHOM-section" | '''Physical Information'''
|  width="69%" | {{{type}}}
+
 
 
|-  
 
|-  
|  width="31%" | Primary Terrain:
+
! Type
|  width="69%" | {{{terrain}}}
+
| {{{type}}}
 +
 
 
|-  
 
|-  
| width="31%" | Controlled By
+
! Terrain
| width="69%" | {{{controller}}}
+
| {{{terrain}}}
 +
 
 +
|- {{#if: {{{shielded|}}} | | style="display: none" }}
 +
! Shielded
 +
| {{{shielded}}}
 +
 
 +
|- {{#if: {{{points|}}} | | style="display: none" }}
 +
! Points of Interest
 +
| {{{points}}}
 +
 
 
|-  
 
|-  
width="31%" | Shielded
+
colspan="2" class="infoboxHOM-section" | '''Societal Information'''
| width="69%" | {{{shielded}}}
+
 
|-
+
|- {{#if: {{{native|}}} | | style="display: none" }}
| width="31%" | Governor
+
! Native Species
| width="69%" | {{{governor}}}
+
| {{{native}}}
|-
+
 
| width="31%" | Magistrate
+
|- {{#if: {{{immigrate|}}} | | style="display: none" }}
| width="69%" | {{{magistrate}}}
+
! Immigrated Species
|-
+
| {{{immigrate}}}
| width="31%" | Population
+
 
| width="69%" | {{{population}}}
+
|- {{#if: {{{demonym|}}} | | style="display: none" }}
|-
+
! Demonym
| width="31%" | Sentient Races
+
| {{{demonym}}}
| width="69%" | {{{race}}}
+
 
 +
|- {{#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 =  
| syscoord =  
+
| suns =
 +
| moons =
 
| rotation =  
 
| rotation =  
 
| orbital =  
 
| orbital =  
 
| type =  
 
| type =  
 
| terrain =  
 
| terrain =  
| controller =
+
| shielded =
| entry =
+
| points =
| shielded =
+
| native =
 +
| immigrate =
 +
| demonym =
 +
| languages =
 +
| discoverydate =
 
| governor =   
 
| governor =   
 
| magistrate =  
 
| magistrate =  
| population =
+
| cities =
| race =
+
| 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
Region {{{region}}}
Sector {{{sector}}}
System {{{System}}}
Galactic Coordinates {{{galcoord}}}
Suns {{{suns}}}
Moons {{{moons}}}
Rotational Period {{{rotation}}}
Orbital Period {{{Orbital}}}
Physical Information
Type {{{type}}}
Terrain {{{terrain}}}
Shielded {{{shielded}}}
Points of Interest {{{points}}}
Societal Information
Native Species {{{native}}}
Immigrated Species {{{immigrate}}}
Demonym {{{demonym}}}
Primary Languages {{{languages}}}
Date of Discovery {{{discoverydate}}}
Governor {{{governor}}}
Magistrate {{{magistrate}}}
Major Cities {{{cities}}}
Major Trade Goods {{{tradegoods}}}
Affiliation {{{affiliation}}}
Astrographic Entry {{{entry}}}

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