Navigation menu

Template:Planet-infobox: Difference between revisions

From Metroid Wiki
mNo edit summary
(infobox)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding=5 cellspacing=0 align=right width=265px style="Border: {{round|20px}}"
{| class="infobox"
| align="center" style="{{round}} Border:1px solid #{{mw color light}}" {{#if:{{{image|}}}|style="{{roundt}} border:1px solid #{{mw color light}}"}} colspan="2" {{!}}  '''''{{{name|{{PAGENAME}}}}}'''''
|
{| class="infobox-sub"
! colspan="2" style="font-size: 13px; text-align: center;" | ''{{{name|{{PAGENAME}}}}}''
|-
|-
{{#if:{{{image|}}}|
{{#if: {{{image|}}}|
! colspan="2" style="{{roundb}} Border:1px solid #{{mw color light}}" {{!}}  {{{image|}}}}}{{#if:{{{caption|}}}|<br>{{{caption|}}}}}
{{!}} 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>}}
! style="{{roundtl}} border:1px solid #{{mw color light}}" align="right" {{!}} Games
|}
{{!}} style="{{roundtr}} border:1px solid #{{mw color light}}" {{!}}  
{{{games|}}}
|-  
|-  
|
{| class="infobox-sub"
! Game(s)
{{!}}
{{{games|''None''}}}
|-
{{#if:{{{appearances|}}}|
! Off-game Appearances
{{!}}
{{{appearances|}}}}}
|-
{{#if:{{{region|}}}|
{{#if:{{{region|}}}|
! style="border:1px solid #{{mw color light}}" align="right" {{!}} Region
! Region
{{!}} style="border:1px solid #{{mw color light}}" {{!}}
{{!}}
{{{region|}}}}}
{{{region|}}}}}
|-
|-
{{#if:{{{system|}}}|
{{#if:{{{system|}}}|
! style="border:1px solid #{{mw color light}}" align="right" {{!}} Solar System
! Solar System
{{!}} style="border:1px solid #{{mw color light}}"{{!}}  
{{!}}
{{{system|}}}}}
{{{system|}}}}}
|-
|-
{{#if:{{{planets|}}}|
{{#if:{{{planets|}}}|
! style="border:1px solid #{{mw color light}}" align="right" {{!}} Neighboring Planets
! Neighboring Planets
{{!}} style="border:1px solid #{{mw color light}}" {{!}}
{{!}}
{{{planets|}}}}}
{{{planets|}}}}}
|-
{{#if:{{{moons|}}}|
! Moons
{{!}}
{{{moons|}}}}}
|-
|-
{{#if:{{{mass|}}}|
{{#if:{{{mass|}}}|
! style="border:1px solid #{{mw color light}}" align="right" {{!}} Mass
! Mass
{{!}} style="border:1px solid #{{mw color light}}" {{!}}
{{!}}
{{{mass|}}}}}
{{{mass|}}}}}
|-
|-
{{#if:{{{class|}}}|
{{#if:{{{class|}}}|
! style="border:1px solid #{{mw color light}}" align="right" {{!}} Class
! Class
{{!}} style="border:1px solid #{{mw color light}}" {{!}}
{{!}}
{{{class|}}}}}
{{{class|}}}}}
|-
|-
{{#if:{{{landscape|}}}|
{{#if:{{{landscape|}}}|
! style="border:1px solid #{{mw color light}}" align="right" {{!}} Landscape
! Landscape
{{!}} style="border:1px solid #{{mw color light}}" {{!}}
{{!}}
{{{landscape|}}}}}
{{{landscape|}}}}}
|-
|-
{{#if:{{{race|}}}|
{{#if:{{{race|}}}|
! style="border:1px solid #{{mw color light}}" align="right" {{!}} Dominant Race
! Dominant Race
{{!}} style="border:1px solid #{{mw color light}}" {{!}}
{{!}}
{{{race|}}}}}
{{{race|}}}}}
|-
|-
{{#if:{{{status|}}}|
! Current Status
{{!}} style="{{roundbl}}; border:1px solid #{{mw color light}}" align="right" {{!}} Current Status
{{!}}
{{!}} style="{{roundbr}}; border: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.
*'''Image:''' An image of the planet, preferably artwork
*'''''Image:''''' An image of the planet, preferably artwork
*'''Caption:''' A caption accompanying the image
*'''''Caption:''''' A caption accompanying the image
*'''Games:''' Any games or game the planet appears in
*'''''Games:''''' Any games or game the planet appears in
*'''Region:''' The planet's region <small>(if mentioned)</small>
*'''''Region:''''' The planet's region <small>(if mentioned)</small>
*'''System:''' The planet's system <small>{if mentioned)</small>
*'''''System:''''' The planet's system <small>{if mentioned)</small>
*'''Mass:''' The mass of the planet
*'''''Mass:''''' The mass of the planet
*'''Class:''' The class of the planet
*'''''Class:''''' The class of the planet
*'''Landscape:''' The overall setting, may be multiple
*'''''Landscape:''''' The overall setting, may be multiple
*'''Race:''' The planet's dominant race
*'''''Race:''''' The planet's dominant race
*'''Status:''' Mandatory: The current status of the planet <small>(e.g. destroyed, unknown, uninhabited)</small>
*'''''Status:''''' Mandatory: The current status of the planet <small>(e.g. destroyed, unknown, uninhabited)</small>


'''Blank code <small>(paste onto page)</small>:'''
'''Blank code <small>(paste onto page)</small>:'''
Line 71: Line 87:
|system=
|system=
|planets=
|planets=
|moons=
|mass=
|mass=
|class=
|class=
Line 77: 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=
}}