Template:Planet infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} ?class="infoboxlabel" style="[^\n"]+" {{!}}↵([^\n]+):↵{{!}} ?class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to " {{Infobox|entry|title=$2|content=$1}}")
m (Text replacement - "{{pagetitle\|{{{pagename\|{{#if:{{{name\|}}}\|{{{name}}}\|{{PAGETITLE}}}}}}} - {{{pagelabel\|([^ ]+) {{#ifeq:{{SUBPAGENAME}}\|Silver\|\(Silver Timeline\)}}}}}}}" to "{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|$1}}}}}")
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:260px; background:{{{BG|#9AB973}}}; color:{{{color1|#000}}}" cellspacing="0"
{{Infobox|start|bg=#9AB973|color=#000}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#000}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|}}}}}
|-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{#if:{{{image|}}}|
 
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|section|title={{{section1-title|Astrographical}}}|bg=#ADDFAD|entries=
}}
|-
{{#if:{{{hidea|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section1-title|Astrographical}}}
}}
|-
{{Infobox|entry|title={{{system-title|System}}}|content={{{system|}}}}}
{{Infobox|entry|title={{{system-title|System}}}|content={{{system|}}}}}
{{Infobox|entry|title={{{body-title|Orbiting}}}|content={{{body|}}}}}
{{Infobox|entry|title={{{body-title|Orbiting}}}|content={{{body|}}}}}
{{Infobox|entry|title={{{position-title|Orbital position}}}|content={{{position|}}}}}
{{Infobox|entry|title={{{position-title|Orbital position}}}|content={{{position|}}}}}
{{Infobox|entry|title={{{moon(s)-title|Moon(s)}}}|content={{{moon(s)|}}}}}
{{Infobox|entry|title={{{moon(s)-title|Moon(s)}}}|content={{{moon(s)|}}}}}
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section3-title|Physical}}}
}}
}}
|-
 
{{Infobox|section|title={{{section2-title|Physical}}}|bg=#ADDFAD|entries=
{{Infobox|entry|title={{{diameter-title|Diameter}}}|content={{{diameter|}}}}}
{{Infobox|entry|title={{{diameter-title|Diameter}}}|content={{{diameter|}}}}}
{{Infobox|entry|title={{{gravity-title|Gravity}}}|content={{{gravity|}}}}}
{{Infobox|entry|title={{{gravity-title|Gravity}}}|content={{{gravity|}}}}}
Line 24: Line 17:
{{Infobox|entry|title={{{atmosphere-title|Atmosphere}}}|content={{{atmosphere|}}}}}
{{Infobox|entry|title={{{atmosphere-title|Atmosphere}}}|content={{{atmosphere|}}}}}
{{Infobox|entry|title={{{temperature-title|Surface temperature}}}|content={{{temperature|}}}}}
{{Infobox|entry|title={{{temperature-title|Surface temperature}}}|content={{{temperature|}}}}}
{{#if:{{{hidec|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section2-title|Societal}}}
}}
}}
|-
 
{{Infobox|section|title={{{section3-title|Societal}}}|bg=#ADDFAD|entries=
{{Infobox|entry|title={{{demonym-title|Demonym}}}|content={{{demonym|}}}}}
{{Infobox|entry|title={{{demonym-title|Demonym}}}|content={{{demonym|}}}}}
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}}}
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}}}
Line 35: Line 27:
{{Infobox|entry|title={{{significance-title|UNSC strategic significance}}}|content={{{significance|}}}}}
{{Infobox|entry|title={{{significance-title|UNSC strategic significance}}}|content={{{significance|}}}}}
{{Infobox|entry|title={{{threat-title|UNSC threat level}}}|content={{{threat|}}}}}
{{Infobox|entry|title={{{threat-title|UNSC threat level}}}|content={{{threat|}}}}}
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Planet {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
}}
 
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Planet}}}}}</includeonly><noinclude>
==Usage==
==Usage==
<pre>
<pre>
{{Planet infobox
{{Planet infobox
Line 60: Line 53:
|threat=
|threat=
}}
}}
</pre>
==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)
<pre>
|hidea=
|hideb=
|hidec=
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 12:16, March 22, 2024

Planet infobox
 

Usage

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