Difference between revisions of "Template:Planet infobox"
Jump to navigation
Jump to search
(Created page with "<includeonly><infobox> <image source="image"/> <title source="name"><default>{{PAGENAME}}</default></title> <data source="star, position"> <label>Star, Position</label>...") |
|||
Line 1: | Line 1: | ||
− | + | {| cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:0 0 5px 10px; padding:2px; background:{{{BG|#9AB973}}}; border-radius: 0 0 .7em .7em; color:{{{color1|#000}}};" | |
− | + | {{!}}- | |
− | + | ! style="background:{{{nameBG|transparent}}}; color:{{{color2|#000000}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | |
− | + | {{!}}- | |
− | + | {{#if:{{{image|}}}| | |
− | + | ! style="background:{{{imageBG|#F0F0F0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}} | |
− | + | }} | |
− | + | {{!}}- | |
− | + | {{#if:{{{hidea|}}}|{{!}}-|{{!}}- | |
− | + | ! colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section1-title|Astrographical}}}}} | |
− | + | {{!}}- | |
− | + | {{#if:{{{system|}}}| | |
− | + | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |
− | + | '''{{{system-title|System}}}''': | |
− | + | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |
− | + | {{{system|}}} | |
− | + | {{!}}-}} | |
− | + | {{#if:{{{body|}}}| | |
− | + | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |
− | + | '''{{{body-title|Orbiting}}}''': | |
− | + | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |
− | + | {{{body|}}} | |
− | + | {{!}}-}} | |
− | + | {{#if:{{{position|}}}| | |
− | + | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |
− | + | '''{{{position-title|Orbital position}}}''': | |
− | + | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |
− | + | {{{position|}}} | |
− | + | {{!}}-}} | |
− | + | {{#if:{{{moon(s)|}}}| | |
− | + | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |
− | + | '''{{{moon(s)-title|Moon(s)}}}''': | |
− | + | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |
− | + | {{{moon(s)|}}} | |
− | + | {{!}}-}} | |
− | + | {{#if:{{{hideb|}}}|{{!}}-|{{!}}- | |
− | + | ! colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section3-title|Physical}}}}} | |
− | + | {{!}}- | |
− | + | {{#if:{{{diameter|}}}| | |
− | + | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |
− | + | '''{{{diameter-title|Diameter}}}''': | |
− | + | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |
− | + | {{{diameter|}}} | |
− | + | {{!}}-}} | |
− | + | {{#if:{{{gravity|}}}| | |
− | + | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |
− | + | '''{{{gravity-title|Gravity}}}''': | |
− | + | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |
− | + | {{{gravity|}}} | |
− | + | {{!}}-}} | |
− | + | {{#if:{{{daylength|}}}| | |
− | + | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |
− | + | '''{{{daylength-title|Length of day}}}''': | |
+ | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
+ | {{{daylength|}}} | ||
+ | {{!}}-}} | ||
+ | {{#if:{{{yearlength|}}}| | ||
+ | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
+ | '''{{{yearlength-title|Length of year}}}''': | ||
+ | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
+ | {{{yearlength|}}} | ||
+ | {{!}}-}} | ||
+ | {{#if:{{{atmosphere|}}}| | ||
+ | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
+ | '''{{{atmosphere-title|Atmosphere}}}''': | ||
+ | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
+ | {{{atmosphere|}}} | ||
+ | {{!}}-}} | ||
+ | {{#if:{{{temperature|}}}| | ||
+ | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
+ | '''{{{temperature-title|Surface temperature}}}''': | ||
+ | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
+ | {{{temperature|}}} | ||
+ | {{!}}-}} | ||
+ | {{#if:{{{hidec|}}}|{{!}}-|{{!}}- | ||
+ | ! colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|#ADDFAD}}}" {{!}} {{{section2-title|Societal}}}}} | ||
+ | {{!}}- | ||
+ | {{#if:{{{demonym|}}}| | ||
+ | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
+ | '''{{{demonym-title|Demonym}}}''': | ||
+ | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
+ | {{{demonym|}}} | ||
+ | {{!}}-}} | ||
+ | {{#if:{{{species|}}}| | ||
+ | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
+ | '''{{{species-title|Species}}}''': | ||
+ | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
+ | {{{species|}}} | ||
+ | {{!}}-}} | ||
+ | {{#if:{{{population|}}}| | ||
+ | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
+ | '''{{{population-title|Population}}}''': | ||
+ | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
+ | {{{population|}}} | ||
+ | {{!}}-}} | ||
+ | {{#if:{{{colonized|}}}| | ||
+ | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
+ | '''{{{colonized-title|Colonized}}}''': | ||
+ | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
+ | {{{colonized|}}} | ||
+ | {{!}}-}} | ||
+ | {{#if:{{{government|}}}| | ||
+ | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
+ | '''{{{government-title|Government}}}''': | ||
+ | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
+ | {{{government|}}} | ||
+ | {{!}}-}} | ||
+ | | colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | | ||
+ | |}<noinclude> | ||
==Usage== | ==Usage== | ||
− | <pre> | + | <pre> |
+ | {{Planet infobox | ||
|name= | |name= | ||
|image= | |image= | ||
− | | | + | |system= |
+ | |body= | ||
+ | |position= | ||
|moon(s)= | |moon(s)= | ||
− | | | + | |diameter= |
− | |gravity | + | |gravity= |
− | |||
|daylength= | |daylength= | ||
|yearlength= | |yearlength= | ||
− | |atmosphere= | + | |atmosphere= |
|temperature= | |temperature= | ||
− | | | + | |demonym= |
+ | |species= | ||
|population= | |population= | ||
− | | | + | |colonized= |
− | |||
|government= | |government= | ||
− | | | + | }} |
− | | | + | </pre> |
− | + | ||
− | [[Category: | + | ==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> | ||
+ | [[Category:Updated infoboxes|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Latest revision as of 02:13, 21 January 2019
Planet infobox | |
---|---|
Astrographical | |
Physical | |
Societal | |
Usage
{{Planet infobox |name= |image= |system= |body= |position= |moon(s)= |diameter= |gravity= |daylength= |yearlength= |atmosphere= |temperature= |demonym= |species= |population= |colonized= |government= }}
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)
|hidea= |hideb= |hidec=