Template:Planet infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "border-bottom:1px solid " to "border-color:")
m (Text replacement - "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} {{!}}- {{#if:{{{image|}}}|" to "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} |- {{#if:{{{image|}}}|")
Line 1: Line 1:
{| class="infobox" style="width:260px; background:{{{BG|#9AB973}}}; color:{{{color1|inherit}}}" cellspacing="0"
{| class="infobox" style="width:260px; background:{{{BG|#9AB973}}}; color:{{{color1|inherit}}}" cellspacing="0"
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|inherit}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|inherit}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{!}}-
|-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}

Revision as of 11:56, October 6, 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=