Template:Infobox Planet: Difference between revisions

From Holocron - Star Wars Combine
Jump to navigation Jump to search
Qatar Shendo (talk | contribs)
conditional fields
Syn (talk | contribs)
Undo revision 98899 by Syn (talk)
Tag: Undo
 
(6 intermediate revisions by 3 users not shown)
Line 18: Line 18:
|  width="69%" | {{{syscoord}}}
|  width="69%" | {{{syscoord}}}
|-  
|-  
{{#if:{{{rotation|}}}|
{{!}}  width="31%" {{!}} Rotational Period
{{!}}  width="69%" {{!}} {{{rotation}}}
{{!-}}}}
{{#if:{{{orbital|}}}|
{{!}}  width="31%" {{!}} Orbital Period
{{!}}  width="69%" {{!}} {{{orbital}}}
{{!-}}}}
|  width="31%" | Astrographic Entry
|  width="31%" | Astrographic Entry
|  width="69%" | {{{entry}}}
|  width="69%" | {{{entry}}}
Line 37: Line 29:
|  width="69%" | {{{terrain}}}
|  width="69%" | {{{terrain}}}
|-  
|-  
|  width="31%" | Controlled By
|  width="31%" | Rotational Period
|  width="69%" | {{{controller}}}
|  width="69%" | {{{rotation}}}
|-
|  width="31%" | Orbital Period
|  width="69%" | {{{orbital}}}
|-  
|-  
{{#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="100%" colspan="2" style="background-color: #21314c;" | <font color=white>'''Control'''</font>
|-
|  width="31%" | Controlled By
|  width="69%" | {{{controller}}}
|-
|  width="31%" | Governor
|  width="69%" | {{{governor}}}
|-
|  width="31%" | Magistrate
|  width="69%" | {{{magistrate}}}
|-
{{#if:{{{race|}}}|
{{#if:{{{race|}}}|
{{!}}  width="31%" {{!}} Sentient Races
{{!}}  width="31%" {{!}} Sentient Races
{{!}}  width="69%" {{!}} {{{race}}}}}
{{!}}  width="69%" {{!}} {{{race}}}}}
|}
|}<noinclude>
<noinclude>
===Usage===
===Usage===


Line 79: Line 73:
| controller =
| controller =
| entry =
| entry =
| shielded = 
| governor =   
| governor =   
| magistrate =  
| magistrate =  
Line 86: Line 79:
}}
}}
</nowiki></pre>
</nowiki></pre>
 
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 19:16, 17 June 2021

{{{name}}}
{{{image}}}
Location
System {{{system}}}
Sector {{{sector}}}
Galactic Coordinates {{{galcoord}}}
System Coordinates {{{syscoord}}}
Astrographic Entry {{{entry}}}
Statistics
Type {{{type}}}
Primary Terrain: {{{terrain}}}
Rotational Period {{{rotation}}}
Orbital Period {{{orbital}}}
Population {{{population}}}
Control
Controlled By {{{controller}}}
Governor {{{governor}}}
Magistrate {{{magistrate}}}

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 =
| governor =  
| magistrate = 
| population =  
| race =  
}}