222
edits
m (doo dee doo) |
m (testing something) |
||
Line 1: | Line 1: | ||
{| border="2" | <div id="Planet" class="infobox" style="padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}"> | ||
|- | {| id="infoboxinternal" class="infoboxtable" cellspacing="0" cellpadding="4" style="border-width: 0px" | ||
| style=" | |- | ||
|- | | class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:996|background: #996|background: #999999}}}}" | {{{image|}}} | ||
| | |- | ||
| {{{ | ! class="infoboxheading" colspan="2" style="{{#if:996|background: #996|background: #999999}}; {{{css|}}}" | {{{{{{2|name}}}}}} | ||
|- | {{#if:{{{hidea|}}}|{{!}}-|{{!}}- | ||
| | ! class="infoboxsubheading" colspan="2" style="background: #ddb" {{!}} '''Astrographical'''}} | ||
| {{{ | {{#if:{{{region|}}}| | ||
|- | {{!}}- | ||
| | {{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Region | ||
| {{{ | {{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | ||
|- | {{{region|}}} | ||
| | {{!}}- | ||
| {{{ | |}} {{#if:{{{sector|}}}| | ||
|- | {{!}}- | ||
| | {{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Sector | ||
| {{{ | {{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | ||
|- | {{{sector|}}} | ||
| | {{!}}- | ||
| {{{ | |}} {{#if:{{{system|}}}| | ||
|- | {{!}}- | ||
| | {{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} System | ||
| {{{ | {{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | ||
|- | {{{system|}}} | ||
{{!}}- | |||
|}} {{#if:{{{suns|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Suns | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{suns|}}} | |||
{{!}}- | |||
|}} {{#if:{{{moons|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Moons | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{moons|}}} | |||
{{!}}- | |||
|}} {{#if:{{{coord|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Coordinates | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{coord|}}} | |||
{{!}}- | |||
|}} {{#if:{{{distance|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Distance from Core | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{distance|}}} | |||
{{!}}- | |||
|}} {{#if:{{{lengthday|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Rotation period | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{lengthday|}}} | |||
{{!}}- | |||
|}} {{#if:{{{lengthyear|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Orbital period | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{lengthyear|}}} | |||
{{!}}- | |||
|}} {{#if:{{{hidep|}}}|{{!}}-|{{!}}- | |||
! class="infoboxsubheading" colspan="2" style="background: #ddb" {{!}} '''Physical'''}} | |||
{{#if:{{{class|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Class | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{class|}}} | |||
{{!}}- | |||
|}} {{#if:{{{diameter|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Diameter | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{diameter|}}} | |||
{{!}}- | |||
|}} {{#if:{{{atmosphere|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Atmosphere | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{atmosphere|}}} | |||
{{!}}- | |||
|}} {{#if:{{{climate|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Climate | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{climate|}}} | |||
{{!}}- | |||
|}} {{#if:{{{gravity|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Gravity | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{gravity|}}} | |||
{{!}}- | |||
|}} {{#if:{{{terrain|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Primary terrain | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{terrain|}}} | |||
{{!}}- | |||
|}} {{#if:{{{water|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Surface water | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{water|}}} | |||
{{!}}- | |||
|}} {{#if:{{{interest|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Points of interest | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{interest|}}} | |||
{{!}}- | |||
|}} {{#if:{{{hides|}}}|{{!}}-|{{!}}- | |||
! class="infoboxsubheading" colspan="2" style="background: #ddb" {{!}} '''Societal'''}} | |||
{{#if:{{{species|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Native species | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{species|}}} | |||
{{!}}- | |||
|}} {{#if:{{{otherspecies|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Immigrated species | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{otherspecies|}}} | |||
{{!}}- | |||
|}} {{#if:{{{language|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Official language | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{language|}}} | |||
{{!}}- | |||
|}} {{#if:{{{population|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Population | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{population|}}} | |||
{{!}}- | |||
|}} {{#if:{{{cities|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Major cities | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{cities|}}} | |||
{{!}}- | |||
|}} {{#if:{{{imports|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Major imports | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{imports|}}} | |||
{{!}}- | |||
|}} {{#if:{{{exports|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Major exports | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{exports|}}} | |||
{{!}}- | |||
|}} {{#if:{{{affiliation|}}}| | |||
{{!}}- | |||
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Affiliation | |||
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}} | |||
{{{affiliation|}}} | |||
{{!}}- | |||
|}} | |||
|} | |} | ||
<noinclude>[[Category:Infobox templates]]</noinclude> | <div class="infoboxfooter plainlinks" style="text-align: center; {{#if:996|background: #996|background: #999999}}"><span id="infoboxend"></span>[[{{{srclink|Template:Planet}}}|[Source]]]</div> | ||
{{#if:996|{{rb|#996}}|{{rb|#999999}}}}</div><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude> | |||
{{clear}} | |||
==Usage instructions== | |||
Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page. | |||
<pre><nowiki> | |||
{{Planet | |||
|image= | |||
|imageBG= | |||
|name= | |||
|region= | |||
|sector= | |||
|system= | |||
|suns= | |||
|moons= | |||
|coord= | |||
|distance= | |||
|lengthday= | |||
|lengthyear= | |||
|class= | |||
|diameter= | |||
|atmosphere= | |||
|climate= | |||
|gravity= | |||
|terrain= | |||
|water= | |||
|interest= | |||
|species= | |||
|otherspecies= | |||
|language= | |||
|population= | |||
|cities= | |||
|imports= | |||
|exports= | |||
|affiliation= | |||
}}</nowiki></pre> | |||
===Display parameters=== | |||
*hidea | |||
*hidep | |||
*hides | |||
===Source=== | |||
<nowiki> | |||
{{subst:slh|996}} {{subst:sli|996}} {{subst:slc|996}} {{subst:sls|Astrographical|ddb|hidea}} {{subst:sld|Region|region}} {{subst:sld|Sector|sector}} {{subst:sld|System|system}} {{subst:sld|Suns|suns}} {{subst:sld|Moons|moons}} {{subst:sld|Coordinates|coord}} {{subst:sld|Distance from Core|distance}} {{subst:sld|Rotation period|lengthday}} {{subst:sld|Orbital period|lengthyear}} {{subst:sls|Physical|ddb|hidep}} {{subst:sld|Class|class}} {{subst:sld|Diameter|diameter}} {{subst:sld|Atmosphere|atmosphere}} {{subst:sld|Climate|climate}} {{subst:sld|Gravity|gravity}} {{subst:sld|Primary terrain|terrain}} {{subst:sld|Surface water|water}} {{subst:sld|Points of interest|interest}} {{subst:sls|Societal|ddb|hides}} {{subst:sld|Native species|species}} {{subst:sld|Immigrated species|otherspecies}} {{subst:sld|Official language|language}} {{subst:sld|Population|population}} {{subst:sld|Major cities|cities}} {{subst:sld|Major imports|imports}} {{subst:sld|Major exports|exports}} {{subst:sld|Affiliation|affiliation}} {{subst:slf|996}} | |||
</nowiki> | |||
[[Category:Infobox templates|Planet]]</noinclude> |
edits