Template:Planet infobox: Difference between revisions

From Halopedia, the Halo wiki

m (I think "Colonized" sounds better than "Date of foundation")
(One day, we may be adding sectors and regions to this infobox. Also open to suggestions on a couple of these field names (easily changeable).)
Line 10: Line 10:
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section1-title|Astrographical}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section1-title|Astrographical}}}}}
{{!}}-
{{!}}-
{{#if:{{{star, position|}}}|
{{#if:{{{system|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{star, position-title|Star, position}}}''':
'''{{{system-title|System}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{star, position|}}}
{{{system|}}}
{{!}}-}}
{{#if:{{{body|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{body-title|Orbiting}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{body|}}}
{{!}}-}}
{{#if:{{{position|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{position-title|Orbital position}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{position|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{moon(s)|}}}|
{{#if:{{{moon(s)|}}}|
Line 88: Line 100:
{{{population|}}}
{{{population|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{date of foundation|}}}|
{{#if:{{{colonized|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{date of foundation-title|Colonized}}}''':
'''{{{colonized-title|Colonized}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{date of foundation|}}}
{{{colonized|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{government|}}}|
{{#if:{{{government|}}}|
Line 99: Line 111:
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{government|}}}
{{{government|}}}
{{!}}-}}
{{#if:{{{technology tier|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{technology tier-title|[[Technological Achievement Tiers|Technology tier]]}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{technology tier|}}}
{{!}}-}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | 
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | 
Line 111: Line 117:
<pre>
<pre>
{{Planet infobox
{{Planet infobox
|name=
|image=
|image=
|star, position=  
|system=
|body=
|position=
|moon(s)=
|moon(s)=
|diameter=  
|diameter=
|gravity=  
|gravity=
|daylength=  
|daylength=
|yearlength=  
|yearlength=
|atmosphere=  
|atmosphere=
|composition=  
|composition=
|temperature=  
|temperature=
|demonym=  
|demonym=
|species=  
|species=
|population=  
|population=
|date of foundation=  
|colonized=
|government=
|government=
|technology tier=
}}
}}
</pre>
</pre>

Revision as of 00:22, May 18, 2016

Planet infobox
Astrographical
Physical
Societal
 

Usage

{{Planet infobox
|name=
|image=
|system=
|body=
|position=
|moon(s)=
|diameter=
|gravity=
|daylength=
|yearlength=
|atmosphere=
|composition=
|temperature=
|demonym=
|species=
|population=
|colonized=
|government=
}}

Display parameters

The following allows you to hide the section header

  • hidea (hides Astrographical section header)
  • hideb (hides Physical section header)
  • hideb (hides Societal section header)
|hidea=
|hideb=
|hidec=