Template:Planet infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "{{#if:{{{image\|}}}\|↵{{!}} class="infoboxmedia" colspan="2" style="background:([^\n;"]+); border-bottom:1px solid ([^\n;"]+)" {{!}} {{{image}}} {{#if:{{{caption\|}}}\|{{clear}}{{{caption}}}}}↵}}↵\|-" to "{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=$1|linebg=$2}}")
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} ?class="infoboxlabel" style="background:([^\n;"]+); border-color:([^\n;"]+)" {{!}}↵([^\n]+):↵{{!}} ?class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to " {{Infobox|entry|title=$4|content=$1|bg=$2|linebg=$3}}")
Line 6: Line 6:
}}
}}
|-
|-
{{#if:{{{star, position|}}}|
{{Infobox|entry|title={{{star, position-title|Star, position}}}|content={{{star, position|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{moon(s)-title|Satellites(s)}}}|content={{{moon(s)|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{{star, position-title|Star, position}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{star, position}}}
}}
|-
{{#if:{{{moon(s)|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{moon(s)-title|Satellites(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{moon(s)}}}
}}
|-
{{#if:{{{hideb|}}}||
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section3-title|Physical}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section3-title|Physical}}}
}}
}}
|-
|-
{{#if:{{{diameter|}}}|
{{Infobox|entry|title={{{diameter-title|Diameter}}}|content={{{diameter|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{gravity-title|Gravity}}}|content={{{gravity|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{{diameter-title|Diameter}}}:
{{Infobox|entry|title={{{daylength-title|Length of day}}}|content={{{daylength|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{yearlength-title|Orbital period}}}|content={{{yearlength|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{{diameter}}}
{{Infobox|entry|title={{{atmosphere-title|Atmosphere}}}|content={{{atmosphere|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
}}
{{Infobox|entry|title={{{temperature-title|Surface temperature}}}|content={{{temperature|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
|-
{{#if:{{{gravity|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{gravity-title|Gravity}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{gravity}}}
}}
|-
{{#if:{{{daylength|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{daylength-title|Length of day}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{daylength}}}
}}
|-
{{#if:{{{yearlength|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{yearlength-title|Orbital period}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{yearlength}}}
}}
|-
{{#if:{{{atmosphere|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{atmosphere-title|Atmosphere}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{atmosphere}}}
}}
|-
{{#if:{{{temperature|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{temperature-title|Surface temperature}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{temperature}}}
}}
|-
{{#if:{{{hidec|}}}||
{{#if:{{{hidec|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section2-title|Societal}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section2-title|Societal}}}
}}
}}
|-
|-
{{#if:{{{demonym|}}}|
{{Infobox|entry|title={{{demonym-title|[[wikipedia:demonym|Demonym]]}}}|content={{{demonym|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{{demonym-title|[[wikipedia:demonym|Demonym]]}}}:
{{Infobox|entry|title={{{population-title|Population}}}|content={{{population|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{government-title|Government}}}|content={{{government|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{{demonym}}}
}}
|-
{{#if:{{{species|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{species-title|Species}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{species}}}
}}
|-
{{#if:{{{population|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{population-title|Population}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{population}}}
}}
|-
{{#if:{{{government|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{government-title|Government}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{government}}}
}}
|-
| class="infoboxfooter" colspan="2" |  
| class="infoboxfooter" colspan="2" |  
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}

Revision as of 15:44, June 1, 2024

Planet infobox
Astrographical
Physical
Societal
 

Usage instructions

{{Planet infobox
|image=
|star, position=
|moon(s)=
|diameter=
|gravity=
|daylength=
|yearlength=
|atmosphere=
|temperature=
|demonym=
|species=
|population=
|government=
}}

Display parameters

The following allows you to hide the section header

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