Template:Planet infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "{{!}}-}}" to "}} |-")
m (Text replacement - "}}}}} {{!}}-" to "}}} }} |-")
Line 7: Line 7:
|-
|-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section1-title|Astrographical}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section1-title|Astrographical}}}
{{!}}-
}}
|-
{{#if:{{{star, position|}}}|
{{#if:{{{star, position|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
Line 24: Line 25:
|-
|-
{{#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|}}}|
{{#if:{{{diameter|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
Line 69: Line 71:
|-
|-
{{#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|}}}|
{{#if:{{{demonym|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}

Revision as of 10:32, October 18, 2022

Planet infobox
Astrographical
Physical
Societal
 

Usage

{{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=