Template:Planet infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "<div style="clear:both">{{{caption}}}</div>" to "<div>{{{caption}}}</div>")
m (Text replacement - "text-align: *center; " to "")
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="width:260px; background:{{{BG|#9AB973}}}; color:{{{color1|inherit}}}"
{| class="infobox" cellspacing="0" style="width:260px; background:{{{BG|#9AB973}}}; color:{{{color1|inherit}}}"
{{!}}-
{{!}}-
! class="infoboxheading" style="background:{{{nameBG|transparent}}}; color:{{{color2|inherit}}}; text-align:center; font-size:120%" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! class="infoboxheading" style="background:{{{nameBG|transparent}}}; color:{{{color2|inherit}}}; font-size:120%" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#F0F0F0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}}
! style="background:{{{imageBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}}
}}
}}
{{!}}-
{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section1-title|Astrographical}}}}}
! colspan="2" style="font-size:90%; color:{{{color2|#000}}}; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section1-title|Astrographical}}}}}
{{!}}-
{{!}}-
{{#if:{{{star, position|}}}|
{{#if:{{{star, position|}}}|
Line 23: Line 23:
{{!}}-}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section3-title|Physical}}}}}
! colspan="2" style="font-size:90%; color:{{{color2|#000}}}; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section3-title|Physical}}}}}
{{!}}-
{{!}}-
{{#if:{{{diameter|}}}|
{{#if:{{{diameter|}}}|
Line 62: Line 62:
{{!}}-}}
{{!}}-}}
{{#if:{{{hidec|}}}|{{!}}-|{{!}}-
{{#if:{{{hidec|}}}|{{!}}-|{{!}}-
! colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section2-title|Societal}}}}}
! colspan="2" style="font-size:90%; color:{{{color2|#000}}}; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section2-title|Societal}}}}}
{{!}}-
{{!}}-
{{#if:{{{demonym|}}}|
{{#if:{{{demonym|}}}|
Line 88: Line 88:
{{{government|}}}
{{{government|}}}
{{!}}-}}
{{!}}-}}
| colspan="2" style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px" | &nbsp;
| colspan="2" style="background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px" | &nbsp;
|}<noinclude>
|}<noinclude>
==Usage==
==Usage==

Revision as of 10:51, September 15, 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=