Navigation menu

Template:Planet-infobox: Difference between revisions

From Metroid Wiki
mNo edit summary
(infobox)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| width="300px" cellpadding="3" cellspacing="0" align="right" style="{{round|20px}} {{border|2}} {{background|neutral}}; font-size: 11px; margin-left:10px; margin-bottom:10px"
{| class="infobox"
|
|
{| width="100%" cellpadding="3" cellspacing="0" align="center" style="{{round}}"
{| class="infobox-sub"
! colspan="2" style="{{#if: {{{image|}}}| {{roundt}} | {{round}}}} {{border}} {{background}} font-size: 13px;" | ''{{{name|{{PAGENAME}}}}}''
! colspan="2" style="font-size: 13px; text-align: center;" | ''{{{name|{{PAGENAME}}}}}''
|-
|-
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
! colspan="2" align="center" style="{{roundb}} {{border}} {{background}}" {{!}} <div style="float:center; border-bottom:1px solid #{{mw color light}}">{{{image|}}}<br /><br /></div>
{{!}} colspan="2" style="text-align: center;" {{!}} <div style="float:center; border-bottom: 1px solid #{{mw color light}}">{{{image|}}}<br /><br /></div>
<span style="font-size: 10px">{{{caption|}}}</span>}}
<span style="font-size: 10px">{{{caption|}}}</span>}}
|}
|}
|-  
|-  
|
|
{| width="100%" cellpadding="3" cellspacing="0" align="center" style="{{round}} {{border}} {{background}}"
{| class="infobox-sub"
! style="width: 30%; border-right: 1px solid #{{mw color light}}" align="right"  {{!}} Game(s)
! Game(s)
{{!}}
{{!}}
{{{games|''None''}}}
{{{games|''None''}}}
|-
|-
{{#if:{{{appearances|}}}|
{{#if:{{{appearances|}}}|
! style="{{#if:{{{games|}}}|border-top: 1px solid #{{mw color light}}|}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Off-game Appearances
! Off-game Appearances
{{!}} {{#if:{{{games|}}}|style="border-top: 1px solid #{{mw color light}}"|}} {{!}}
{{!}}
{{{appearances|}}}}}
{{{appearances|}}}}}
|-
|-
{{#if:{{{region|}}}|
{{#if:{{{region|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Region
! Region
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}
{{!}}
{{{region|}}}}}
{{{region|}}}}}
|-
|-
{{#if:{{{system|}}}|
{{#if:{{{system|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Solar System
! Solar System
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}
{{{system|}}}}}
{{{system|}}}}}
|-
|-
{{#if:{{{planets|}}}|
{{#if:{{{planets|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Neighboring Planets
! Neighboring Planets
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}
{{!}}
{{{planets|}}}}}
{{{planets|}}}}}
|-
|-
{{#if:{{{moons|}}}|
{{#if:{{{moons|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Moons
! Moons
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}
{{!}}
{{{moons|}}}}}
{{{moons|}}}}}
|-
|-
{{#if:{{{mass|}}}|
{{#if:{{{mass|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Mass
! Mass
{{!}} style="border:1px solid #{{mw color light}}" {{!}}
{{!}}
{{{mass|}}}}}
{{{mass|}}}}}
|-
|-
{{#if:{{{class|}}}|
{{#if:{{{class|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Class
! Class
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}
{{!}}
{{{class|}}}}}
{{{class|}}}}}
|-
|-
{{#if:{{{landscape|}}}|
{{#if:{{{landscape|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Landscape
! Landscape
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}
{{!}}
{{{landscape|}}}}}
{{{landscape|}}}}}
|-
|-
{{#if:{{{race|}}}|
{{#if:{{{race|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Dominant Race
! Dominant Race
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}
{{!}}
{{{race|}}}}}
{{{race|}}}}}
|-
|-
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Current Status
! Current Status
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}
{{!}}
{{{status|''Unknown''}}}
{{{status|''Unknown''}}}
|}
|}
|}<noinclude>{{clear}}
|}
<noinclude>{{clear}}
==Usage==
==Usage==
To use this template copy the following and fill in the appropriate information.
To use this template copy the following and fill in the appropriate information.
Line 93: Line 94:
|status=
|status=
}}</pre>
}}</pre>
[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Infobox Templates]]</noinclude>

Latest revision as of 21:45, 16 August 2021

Planet-infobox
Game(s)

None

Current Status

Unknown

Usage[edit source]

To use this template copy the following and fill in the appropriate information.

  • Image: An image of the planet, preferably artwork
  • Caption: A caption accompanying the image
  • Games: Any games or game the planet appears in
  • Region: The planet's region (if mentioned)
  • System: The planet's system {if mentioned)
  • Mass: The mass of the planet
  • Class: The class of the planet
  • Landscape: The overall setting, may be multiple
  • Race: The planet's dominant race
  • Status: Mandatory: The current status of the planet (e.g. destroyed, unknown, uninhabited)

Blank code (paste onto page):

{{Planet-infobox
|image=
|caption=
|games=
|region=
|system=
|planets=
|moons=
|mass=
|class=
|landscape=
|race=
|status=
}}