Template:Planet infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{{pagelabel\|([^\n}]+)}}}" to "{{{pagelabel|$1 {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}")
m (Text replacement - "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}" to "{{{name|{{PAGENAME}}}}}")
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; background:{{{BG|#9AB973}}}; color:{{{color1|#000}}};"
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; background:{{{BG|#9AB973}}}; color:{{{color1|#000}}};"
{{!}}-
{{!}}-
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#000000}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#000000}}}; text-align:center; font-size:120%;" colspan="2" | {{{name|{{PAGENAME}}}}}
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
Line 107: Line 107:
{{!}}-}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px;" | 
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px;" | 
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Planet {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
|}<includeonly>{{pagetitle|{{{pagename|{{{name|{{PAGENAME}}}}}}}} - {{{pagelabel|Planet {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
==Usage==
==Usage==
<pre>
<pre>

Revision as of 20:37, April 23, 2022

Planet infobox
Astrographical
Physical
Societal
 

Usage

{{Planet infobox
|name=
|image=
|system=
|body=
|position=
|moon(s)=
|diameter=
|gravity=
|daylength=
|yearlength=
|atmosphere=
|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=