Difference between revisions of "Template:God infobox"

From AchaeaWiki
Jump to navigation Jump to search
m (doo dee doo)
m (testing something)
Line 1: Line 1:
{| border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-size: 95%;" style="margin:0 0 1em 1em; float:right; width:290px;"
<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="font-size: larger;" align="center" colspan="2" bgcolor="dodgerblue" | '''{{{godname}}}'''
|-
|-
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:996|background: #996|background: #999999}}}}" | {{{image|}}}
| align="right" bgcolor="lightblue" | '''Realm'''
|-
| {{{realm|''None''}}}
! class="infoboxheading" colspan="2" style="{{#if:996|background: #996|background: #999999}}; {{{css|}}}" | {{{{{{2|name}}}}}}
|-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
| align="right" bgcolor="lightblue" | '''Symbols'''
! class="infoboxsubheading" colspan="2" style="background: #ddb" {{!}} '''Astrographical'''}}
| {{{symbols|''None''}}}
{{#if:{{{region|}}}|
|-
{{!}}-
| align="right" bgcolor="lightblue" | '''Relatives'''
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Region
| {{{relatives|''None''}}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
|-
{{{region|}}}
| align="right" bgcolor="lightblue" | '''Allies'''
{{!}}-
| {{{allies|''None''}}}
|}} {{#if:{{{sector|}}}|
|-
{{!}}-
| align="right" bgcolor="lightblue" | '''Enemies'''
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Sector
| {{{enemies|''None''}}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
|-
{{{sector|}}}
| align="right" bgcolor="lightblue" | '''Order Name'''
{{!}}-
| {{{ordername|''None''}}}
|}} {{#if:{{{system|}}}|
|-
{{!}}-
| align="right" bgcolor="lightblue" | '''Temples'''
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} System
| {{{temples|''None''}}}
{{!}} 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&nbsp;from&nbsp;Core|distance}} {{subst:sld|Rotation&nbsp;period|lengthday}} {{subst:sld|Orbital&nbsp;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&nbsp;terrain|terrain}} {{subst:sld|Surface&nbsp;water|water}} {{subst:sld|Points&nbsp;of&nbsp;interest|interest}} {{subst:sls|Societal|ddb|hides}} {{subst:sld|Native&nbsp;species|species}} {{subst:sld|Immigrated&nbsp;species|otherspecies}} {{subst:sld|Official&nbsp;language|language}} {{subst:sld|Population|population}} {{subst:sld|Major&nbsp;cities|cities}} {{subst:sld|Major&nbsp;imports|imports}} {{subst:sld|Major&nbsp;exports|exports}} {{subst:sld|Affiliation|affiliation}} {{subst:slf|996}}
</nowiki>
 
[[Category:Infobox templates|Planet]]</noinclude>

Revision as of 02:40, 10 April 2007

{{{name}}}
Astrographical
Physical
Societal

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

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