Template:Moon: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
mNo edit summary
mNo edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
{| class="infoboxtemp"  width="250" align="right" cellpadding="3" cellspacing="0"
<tr><td colspan="2"><div id="infoboxinternal">
|-
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
{{#if: {{{image|}}}|
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:#000;">{{{image|}}}</td></tr>
{{!}}  class="infoboximage" colspan="2" {{!}} {{{image}}}}}
<tr style="text-align:center; color:#ffffff; background:#000; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hidea|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#996;">'''Astrographical'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Region</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{region|}}}
| colspan="2" class="name system" | '''{{{name}}}'''
</td></tr>|1{{{region|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Sector</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{sector|}}}
| colspan="2" class="header system" | '''Astrographical'''
</td></tr>|1{{{sector|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">System</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{system|}}}
{{#if: {{{region|}}}|
</td></tr>|1{{{system|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Planet</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfoheader" {{!}} Region:
{{{planet|}}}
{{!}} class="infoboxinfodata" {{!}}
</td></tr>|1{{{planet|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Coordinates</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{region}}}}}
{{{coord|}}}
|-
</td></tr>|1{{{coord|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Rotation&nbsp;period</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{sector|}}}|
{{{lengthday|}}}
{{!}} class="infoboxinfoheader" {{!}} Sector:
</td></tr>|1{{{lengthday|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Orbital&nbsp;period</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfodata" {{!}}
{{{lengthyear|}}}
{{{sector}}}}}
</td></tr>|1{{{lengthyear|}}}=}} {{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#996;">'''Physical'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Diameter</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{diameter|}}}
{{#if: {{{system|}}}|
</td></tr>|1{{{diameter|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Atmosphere</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfoheader" {{!}} System:
{{{atmosphere|}}}
{{!}} class="infoboxinfodata" {{!}}
</td></tr>|1{{{atmosphere|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Primary&nbsp;terrain</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{system}}}}}
{{{terrain|}}}
|-
</td></tr>|1{{{terrain|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Points&nbsp;of&nbsp;interest</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{planet|}}}|
{{{interest|}}}
{{!}} class="infoboxinfoheader" {{!}} Planet:
</td></tr>|1{{{interest|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Native&nbsp;species</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfodata" {{!}}
{{{species|}}}
{{{planet}}}}}
</td></tr>|1{{{species|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Immigrated&nbsp;species</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{otherspecies|}}}
{{#if: {{{coord|}}}|
</td></tr>|1{{{otherspecies|}}}=}} {{t|1=|1{{{hides|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#996;">'''Societal'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Language</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfoheader" {{!}} Coordinates:
{{{language|}}}
{{!}} class="infoboxinfodata" {{!}}
</td></tr>|1{{{language|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Major&nbsp;cities</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{coord}}}}}
</td></tr>|1{{{cities|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Population</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{population|}}}
{{#if: {{{lengthday|}}}|
</td></tr>|1{{{population|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#333}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Affiliation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfoheader" {{!}} Rotation period:
{{{cities|}}}
{{!}} class="infoboxinfodata" {{!}}  
{{{affiliation|}}}
{{{lengthday}}}}}
</td></tr>|1{{{affiliation|}}}=}} </table></div></td></tr><tr style="background:#000;"><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Moon|[Source]]]</td></tr></table><noinclude>
|-
{{clear}}
{{#if: {{{lengthyear|}}}|
==Usage instructions==
{{!}} class="infoboxinfoheader" {{!}} Orbital period:
Copy and paste the following code into the top of the article, filling the appropriate fields. If a field is unknown, just leave it blank; if it doesn't apply, remove it.
{{!}} class="infoboxinfodata" {{!}}  
<pre><nowiki>
{{{lengthyear}}}}}
|-
| colspan="2" class="header system" | '''Physical'''
|-
{{#if: {{{diameter|}}}|
{{!}} class="infoboxinfoheader" {{!}} Diameter:
{{!}} class="infoboxinfodata" {{!}}
{{{diameter}}}}}
|-
{{#if: {{{atmosphere|}}}|
{{!}} class="infoboxinfoheader" {{!}} Atmosphere:
{{!}} class="infoboxinfodata" {{!}}
{{{atmosphere}}}}}
|-
{{#if: {{{terrain|}}}|
{{!}} class="infoboxinfoheader" {{!}} Primary Terrain:
{{!}} class="infoboxinfodata" {{!}}  
{{{terrain}}}}}
|-
{{#if: {{{interest|}}}|
{{!}} class="infoboxinfoheader" {{!}} Points of interest:
{{!}} class="infoboxinfodata" {{!}}  
{{{interest}}}}}
|-
| colspan="2" class="header system" | '''Societal'''
|-
{{#if: {{{species|}}}|
{{!}} class="infoboxinfoheader" {{!}} Native species:
{{!}} class="infoboxinfodata" {{!}}  
{{{species}}}}}
|-
{{#if: {{{otherspecies|}}}|
{{!}} class="infoboxinfoheader" {{!}} Immigrated species:
{{!}} class="infoboxinfodata" {{!}}  
{{{otherspecies}}}}}
|-
{{#if: {{{language|}}}|
{{!}} class="infoboxinfoheader" {{!}} Official language:
{{!}} class="infoboxinfodata" {{!}}  
{{{language}}}}}
|-
{{#if: {{{population|}}}|
{{!}} class="infoboxinfoheader" {{!}} Population:
{{!}} class="infoboxinfodata" {{!}}  
{{{population}}}}}
|-
{{#if: {{{affiliation|}}}|
{{!}} class="infoboxinfoheader" {{!}} Affiliation:
{{!}} class="infoboxinfodata" {{!}}  
{{{affiliation}}}}}
|-
{{#if: {{{item|}}}|
{{!}} class="infoboxinfoheader" {{!}} Possession Item:
{{!}} class="infoboxinfodata" {{!}}
{{{item}}}}}
|-
| colspan="2" class="infoboxfooter system" | {{Link color|Template:Moon|#C0C08F|[ Source ]}}
|}
<noinclude>{{Clear}}
To use: Paste the following text into the desired character article, and fill in the appropriate fields.
<pre>
{{Moon
{{Moon
| image =  
| image =  
Line 62: Line 122:
| population =
| population =
| affiliation =  
| affiliation =  
}}
|item=}}
</nowiki></pre>
</pre>
 
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
===Display parameters===
*hidea
*hidep
*hides
 
===Source===
<nowiki>{{subst:slh|#996|250px}} {{subst:sls|Astrographical|#996|hidea}} {{subst:sld|Region|region}} {{subst:sld|Sector|sector}} {{subst:sld|System|system}} {{subst:sld|Planet|planet}} {{subst:sld|Coordinates|coord}} {{subst:sld|Rotation&nbsp;period|lengthday}} {{subst:sld|Orbital&nbsp;period|lengthyear}} {{subst:sls|Physical|#996|hidep}} {{subst:sld|Diameter|diameter}} {{subst:sld|Atmosphere|atmosphere}} {{subst:sld|Primary&nbsp;terrain|terrain}} {{subst:sld|Points&nbsp;of&nbsp;interest|interest}} {{subst:sld|Native&nbsp;species|species}} {{subst:sld|Immigrated&nbsp;species|otherspecies}}
{{subst:sls|Societal|#996|hides}} {{subst:sld|Official&nbsp;language|language}} {{subst:sld|Major&nbsp;cities|cities}} {{subst:sld|Population&nbsp;population|population}}{{subst:sld|Affiliation|affiliation}} {{subst:slf}}</nowiki>
 
[[Category:Infobox templates|Moon]]</noinclude>

Latest revision as of 10:42, 4 December 2021

{{{name}}}
Astrographical
Physical
Societal
[ Source ]

To use: Paste the following text into the desired character article, and fill in the appropriate fields.

{{Moon
| image = 
| name = 
| region = 
| sector = 
| system = 
| planet = 
| coord = 
| lengthday = 
| lengthyear = 
| diameter = 
| atmosphere = 
| terrain = 
| interest = 
| species = 
| otherspecies = 
| language = 
| cities = 
| population =
| affiliation = 
|item=}}