Difference between revisions of "Template:God infobox"

From AchaeaWiki
Jump to navigation Jump to search
m (testing something)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div id="Planet" class="infobox" style="padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}">
{| border="1" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse; font-size: 95%;" style="margin:0 0 1em 1em; float:right; width:290px;"
{| id="infoboxinternal" class="infoboxtable" cellspacing="0" cellpadding="4" style="border-width: 0px"
{{#if:{{{image|}}}
|-
|{{!}}-
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:996|background: #996|background: #999999}}}}" | {{{image|}}}
{{!}} align="center" colspan="2" {{!}} {{{image}}}
|-  
|}}
! class="infoboxheading" colspan="2" style="{{#if:996|background: #996|background: #999999}}; {{{css|}}}" | {{{{{{2|name}}}}}}
|-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
| style="font-size: larger;" align="center" colspan="2" bgcolor="#3366CC" | <font color=white>'''{{{godname}}}'''</font>
! class="infoboxsubheading" colspan="2" style="background: #ddb" {{!}} '''Astrographical'''}}
|-
{{#if:{{{region|}}}|
| align="right" bgcolor="#7094DB" | <font color=white>'''Realm'''</font>
{{!}}-
| bgcolor="#F5FAFF" | {{{realm|''None''}}}
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Region
|-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
| align="right" bgcolor="#7094DB" | <font color=white>'''Symbols'''</font>
{{{region|}}}
| bgcolor="#F5FAFF" | {{{symbols|''None''}}}
{{!}}-
|-
|}} {{#if:{{{sector|}}}|
| align="right" bgcolor="#7094DB" | <font color=white>'''Relatives'''</font>
{{!}}-
| bgcolor="#F5FAFF" | {{{relatives|''None''}}}
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Sector
|-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
| align="right" bgcolor="#7094DB" | <font color=white>'''Allies'''</font>
{{{sector|}}}
| bgcolor="#F5FAFF" | {{{allies|''None''}}}
{{!}}-
|-
|}} {{#if:{{{system|}}}|
| align="right" bgcolor="#7094DB" | <font color=white>'''Enemies'''</font>
{{!}}-
| bgcolor="#F5FAFF" | {{{enemies|''None''}}}
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} System
|-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
| align="right" bgcolor="#7094DB" | <font color=white>'''Order Name'''</font>
{{{system|}}}
| bgcolor="#F5FAFF" | {{{ordername|''None''}}}
{{!}}-
|-
|}} {{#if:{{{suns|}}}|
| align="right" bgcolor="#7094DB" | <font color=white>'''Temples'''</font>
{{!}}-
| bgcolor="#F5FAFF" | {{{temples|''None''}}}
{{!}} 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|}}}
{{!}}-
|}}
|}
|}
<div class="infoboxfooter plainlinks" style="text-align: center; {{#if:996|background: #996|background: #999999}}"><span id="infoboxend"></span>[[{{{srclink|Template:Planet}}}|[Source]]]</div>
<noinclude>[[Category:Infobox templates]]</noinclude>
{{#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>

Latest revision as of 12:23, 1 March 2014

{{{godname}}}
Realm None
Symbols None
Relatives None
Allies None
Enemies None
Order Name None
Temples None