Template:Moon: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
<tr><td colspan="2"><div id="infoboxinternal"> | <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;"> | <table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;"> | ||
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:# | <tr style="text-align:center;"><td colspan="2" style="padding:0; background:#000;">{{{image|}}}</td></tr> | ||
<tr style="text-align:center; color:#ffffff; background:# | <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|}}} | {{{region|}}} | ||
</td></tr>|1{{{region|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </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|}}} | {{{sector|}}} | ||
</td></tr>|1{{{sector|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </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|}}} | {{{system|}}} | ||
</td></tr>|1{{{system|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </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;"> | ||
{{{planet|}}} | {{{planet|}}} | ||
</td></tr>|1{{{planet|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </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;"> | ||
{{{coord|}}} | {{{coord|}}} | ||
</td></tr>|1{{{coord|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </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 period</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;"> | ||
{{{lengthday|}}} | {{{lengthday|}}} | ||
</td></tr>|1{{{lengthday|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </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 period</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;"> | ||
{{{lengthyear|}}} | {{{lengthyear|}}} | ||
</td></tr>|1{{{lengthyear|}}}=}} {{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:# | </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|}}} | {{{diameter|}}} | ||
</td></tr>|1{{{diameter|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </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;"> | ||
{{{atmosphere|}}} | {{{atmosphere|}}} | ||
</td></tr>|1{{{atmosphere|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </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 terrain</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;"> | ||
{{{terrain|}}} | {{{terrain|}}} | ||
</td></tr>|1{{{terrain|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </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 of interest</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;"> | ||
{{{interest|}}} | {{{interest|}}} | ||
</td></tr>|1{{{interest|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </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 species</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;"> | ||
{{{species|}}} | {{{species|}}} | ||
</td></tr>|1{{{species|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </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 species</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;"> | ||
{{{otherspecies|}}} | {{{otherspecies|}}} | ||
</td></tr>|1{{{otherspecies|}}}=}} {{t|1=|1{{{hides|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:# | </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;"> | ||
{{{language|}}} | {{{language|}}} | ||
</td></tr>|1{{{language|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </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 cities</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;"> | ||
</td></tr>|1{{{cities|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </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|}}} | {{{population|}}} | ||
</td></tr>|1{{{population|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|# | </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;"> | ||
{{{cities|}}} | {{{cities|}}} | ||
{{{affiliation|}}} | {{{affiliation|}}} | ||
</td></tr>|1{{{affiliation|}}}=}} </table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;"> [[Template:Moon|[Source]]]</td></tr></table><noinclude> | </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%;"> [[Template:Moon|[Source]]]</td></tr></table><noinclude> | ||
{{clear}} | {{clear}} | ||
==Usage instructions== | ==Usage instructions== | ||
Line 71: | Line 71: | ||
===Source=== | ===Source=== | ||
<nowiki>{{subst:slh|#996|250px}} {{subst:sls|Astrographical|# | <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 period|lengthday}} {{subst:sld|Orbital period|lengthyear}} {{subst:sls|Physical|#996|hidep}} {{subst:sld|Diameter|diameter}} {{subst:sld|Atmosphere|atmosphere}} {{subst:sld|Primary terrain|terrain}} {{subst:sld|Points of interest|interest}} {{subst:sld|Native species|species}} {{subst:sld|Immigrated species|otherspecies}} | ||
{{subst:sls|Societal|# | {{subst:sls|Societal|#996|hides}} {{subst:sld|Official language|language}} {{subst:sld|Major cities|cities}} {{subst:sld|Population population|population}}{{subst:sld|Affiliation|affiliation}} {{subst:slf}}</nowiki> | ||
[[Category:Infobox templates|Moon]]</noinclude> | [[Category:Infobox templates|Moon]]</noinclude> |
Revision as of 20:56, 6 March 2009
| |||||||||||
[Source] |
Usage instructions
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.
{{Moon | image = | name = | region = | sector = | system = | planet = | coord = | lengthday = | lengthyear = | diameter = | atmosphere = | terrain = | interest = | species = | otherspecies = | language = | cities = | population = | affiliation = }}
Display parameters
- hidea
- hidep
- hides
Source
{{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 period|lengthday}} {{subst:sld|Orbital period|lengthyear}} {{subst:sls|Physical|#996|hidep}} {{subst:sld|Diameter|diameter}} {{subst:sld|Atmosphere|atmosphere}} {{subst:sld|Primary terrain|terrain}} {{subst:sld|Points of interest|interest}} {{subst:sld|Native species|species}} {{subst:sld|Immigrated species|otherspecies}} {{subst:sls|Societal|#996|hides}} {{subst:sld|Official language|language}} {{subst:sld|Major cities|cities}} {{subst:sld|Population population|population}}{{subst:sld|Affiliation|affiliation}} {{subst:slf}}