Difference between revisions of "Template:Infobox Planet"

From Holocron - Star Wars Combine
Jump to: navigation, search
(cat change)
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| style="border: 1px solid gray; padding: 1px; width: 25%; float: right; font-size: 10px;"
+
{|style="border: 1px solid grey; padding: 1px; margin: 5px; width: 25%; float: right; font-size: 11px;"
 +
|  width="100%" colspan="2" style="background-color: #21314c; font-size: 16px; text-align: center;" | <font color=white>'''{{{name}}}'''</font>
 +
|-
 
|  width="100%" colspan="2" style="text-align: center;" | {{{image}}}
 
|  width="100%" colspan="2" style="text-align: center;" | {{{image}}}
 
|-  
 
|-  
|  width="100%" colspan="2" style="background-color: #009900; font-size: 13px; text-align: center;" | <font color=white>'''{{{name}}}'''</font>
+
|  width="100%" colspan="2" style="background-color: #21314c;" | <font color=white>'''Location'''</font>
|-
 
|  width="100%" colspan="2" style="background-color: #009900;" | <font color=white>'''Location'''</font>
 
 
|-
 
|-
 
|  width="31%" | System
 
|  width="31%" | System
Line 18: Line 18:
 
|  width="69%" | {{{syscoord}}}
 
|  width="69%" | {{{syscoord}}}
 
|-  
 
|-  
|  width="31%" | Rotation Period
+
{{#if:{{{rotation|}}}|
|  width="69%" | {{{rotation}}}
+
{{!}} width="31%" {{!}} Rotational Period
 +
{{!}}  width="69%" {{!}} {{{rotation}}}
 +
{{!-}}}}
 +
{{#if:{{{orbital|}}}|
 +
{{!}}  width="31%" {{!}} Orbital Period
 +
{{!}}  width="69%" {{!}} {{{orbital}}}
 +
{{!-}}}}
 +
|  width="31%" | Astrographic Entry
 +
|  width="69%" | {{{entry}}}
 
|-  
 
|-  
|  width="31%" | Orbital Period
+
|  width="100%" colspan="2" style="background-color: #21314c;" | <font color=white>'''Statistics'''</font>
|  width="69%" | {{{orbital}}}
 
|-
 
|  width="100%" colspan="2" style="background-color: #009900;" | <font color=white>'''Statistics'''</font>
 
 
|-  
 
|-  
 
|  width="31%" | Type
 
|  width="31%" | Type
Line 33: Line 38:
 
|-  
 
|-  
 
|  width="31%" | Controlled By
 
|  width="31%" | Controlled By
|  width="69%" | {{{faction}}}
+
|  width="69%" | {{{controller}}}
|-
 
|  width="31%" | Governor
 
|  width="69%" | {{{governor}}}
 
|-
 
|  width="31%" | Magistrate
 
|  width="69%" | {{{magistrate}}}
 
 
|-  
 
|-  
 +
{{#if:{{{shielded|}}}|
 +
{{!}}  width="31%" {{!}} Shielded
 +
{{!}}  width="69%" {{!}} {{{shielded}}}
 +
{{!-}}}}
 +
{{#if:{{{governor|}}}|
 +
{{!}}  width="31%" {{!}} Governor
 +
{{!}}  width="69%" {{!}} {{{governor}}}
 +
{{!-}}}}
 +
{{#if:{{{magistrate|}}}|
 +
{{!}}  width="31%" {{!}} Magistrate
 +
{{!}}  width="69%" {{!}} {{{magistrate}}}
 +
{{!-}}}}
 
|  width="31%" | Population
 
|  width="31%" | Population
 
|  width="69%" | {{{population}}}
 
|  width="69%" | {{{population}}}
|-  
+
|-
|  width="31%" | Sentient Races
+
{{#if:{{{race|}}}|
| width="69%" | {{{race}}}
+
{{!}} width="31%" {{!}} Sentient Races
|}
+
{{!}} width="69%" {{!}} {{{race}}}}}
<noinclude>[[Category:Templates|{{PAGENAME}}]]
+
|}<noinclude>
<pre>
+
===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.
 +
 
 +
<pre><nowiki>
  
 
{{Infobox Planet
 
{{Infobox Planet
|name =  
+
| name =  
|image =  
+
| image =  
|system =
+
| system =
|sector =
+
| sector =
|galcoord =  
+
| galcoord =  
|syscoord =  
+
| syscoord =  
|rotation =  
+
| rotation =  
|orbital =  
+
| orbital =  
|type   =  
+
| type =  
|terrain =  
+
| terrain =  
|faction =  
+
| controller =
|governor =   
+
| entry =
|magistrate =  
+
| shielded = 
|population =   
+
| governor =   
|race =   
+
| magistrate =  
 +
| population =   
 +
| race =   
 
}}
 
}}
</pre>
+
</nowiki></pre>
</noinclude>
+
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Revision as of 18:00, 17 April 2014

{{{name}}}
{{{image}}}
Location
System {{{system}}}
Sector {{{sector}}}
Galactic Coordinates {{{galcoord}}}
System Coordinates {{{syscoord}}}
Astrographic Entry {{{entry}}}
Statistics
Type {{{type}}}
Primary Terrain: {{{terrain}}}
Controlled By {{{controller}}}
Population {{{population}}}

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.


{{Infobox Planet
| name = 
| image = 
| system =
| sector =
| galcoord = 
| syscoord = 
| rotation = 
| orbital = 
| type = 
| terrain = 
| controller =
| entry =
| shielded =  
| governor =  
| magistrate = 
| population =  
| race =  
}}