Template:Planet

From Nanya

(Difference between revisions)
Line 1: Line 1:
-
<div id="Planet" class="infobox hidable" style="padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}">
+
<!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>
-
{| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style="border-width: 0px"
+
-
|-
+
-
| 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&nbsp;from&nbsp;Core
+
-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
+
-
{{{distance|}}}
+
-
{{!}}-
+
-
|}}{{#if:{{{lengthday|}}}|
+
-
{{!}}-
+
-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Rotation&nbsp;period
+
-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
+
-
{{{lengthday|}}}
+
-
{{!}}-
+
-
|}}{{#if:{{{lengthyear|}}}|
+
-
{{!}}-
+
-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Orbital&nbsp;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&nbsp;terrain
+
-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
+
-
{{{terrain|}}}
+
-
{{!}}-
+
-
|}}{{#if:{{{water|}}}|
+
-
{{!}}-
+
-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Surface&nbsp;water
+
-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
+
-
{{{water|}}}
+
-
{{!}}-
+
-
|}}{{#if:{{{interest|}}}|
+
-
{{!}}-
+
-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Points&nbsp;of&nbsp;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&nbsp;species
+
-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
+
-
{{{species|}}}
+
-
{{!}}-
+
-
|}}{{#if:{{{otherspecies|}}}|
+
-
{{!}}-
+
-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Immigrated&nbsp;species
+
-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
+
-
{{{otherspecies|}}}
+
-
{{!}}-
+
-
|}}{{#if:{{{language|}}}|
+
-
{{!}}-
+
-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Official&nbsp;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&nbsp;cities
+
-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
+
-
{{{cities|}}}
+
-
{{!}}-
+
-
|}}{{#if:{{{imports|}}}|
+
-
{{!}}-
+
-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Major&nbsp;imports
+
-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
+
-
{{{imports|}}}
+
-
{{!}}-
+
-
|}}{{#if:{{{exports|}}}|
+
-
{{!}}-
+
-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Major&nbsp;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|}}}
+
-
{{!}}-
+
-
|}}
+
-
|}
+
-
<div class="infoboxfooter plainlinks" style="text-align: center; {{#if:996|background: #996|background: #999999}}"><span class="hidable-button"></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}}
{{clear}}
==Usage instructions==
==Usage instructions==

Revision as of 21:44, 14 June 2007

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.

{{Planet
|image=
|imageBG=
|name=
|hidea=
|region=
|sector=
|system=
|suns=
|moons=
|coord=
|distance=
|lengthday=
|lengthyear=
|hidep=
|class=
|diameter=
|atmosphere=
|climate=
|gravity=
|terrain=
|water=
|interest=
|hides=
|species=
|otherspecies=
|language=
|population=
|cities=
|imports=
|exports=
|affiliation=
}}

Display parameters

  • hidea
  • hidep
  • hides

Source

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

Personal tools