Navigation menu

Template:Planet-infobox: Difference between revisions

From Metroid Wiki
m (Adding color templates.)
(infobox)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding=2 cellspacing=2 align=right width=265px style="Border: {{round}}; Border: 1px solid #{{mw color light}}; Background-color: #{{mw color}};"
{| class="infobox"
| align="center" style="Border: {{roundtr}} {{roundtl}}; Border: 1px solid #{{mw color light}}; Background-color: #{{mw color dark}}"  colspan="2" {{!}}  '''''{{PAGENAME}}'''''
|
{| class="infobox-sub"
! colspan="2" style="font-size: 13px; text-align: center;" | ''{{{name|{{PAGENAME}}}}}''
|-
|-
{{#if:{{{image|}}}|
{{#if: {{{image|}}}|
{{!-}}
{{!}} colspan="2" style="text-align: center;" {{!}} <div style="float:center; border-bottom: 1px solid #{{mw color light}}">{{{image|}}}<br /><br /></div>
! colspan="2" style="Border: 1px solid #{{mw color light}}; Background-color: #{{mw color dark}}" {{!}} {{{image|}}}}}{{#if:{{{caption|}}}|<br>{{{caption|}}}}}
<span style="font-size: 10px">{{{caption|}}}</span>}}
{{#if:{{{games|}}}|
|}
{{!-}} valign="top" style="Border: 1px solid #{{mw color light}}; Background-color: #{{mw color dark}}"
|-
|
{| class="infobox-sub"
! Game(s)
! Game(s)
{{!}} {{{games|}}}
{{!}}
}}
{{{games|''None''}}}
|-
{{#if:{{{appearances|}}}|
! Off-game Appearances
{{!}}
{{{appearances|}}}}}
|-
{{#if:{{{region|}}}|
{{#if:{{{region|}}}|
{{!-}} valign="top" style="Border: 1px solid #{{mw color light}}; Background-color: #{{mw color dark}}"
! Region
! Region
{{!}} {{{region|}}}
{{!}}
}}
{{{region|}}}}}
|-
{{#if:{{{system|}}}|
{{#if:{{{system|}}}|
{{!-}} valign="top" style="Border: 1px solid #{{mw color light}}; Background-color: #{{mw color dark}}"
! Solar System
! Solar System
{{!}} {{{system|}}}
{{!}}
}}
{{{system|}}}}}
|-
{{#if:{{{planets|}}}|
{{#if:{{{planets|}}}|
{{!-}} valign="top" style="Border: 1px solid #{{mw color light}}; Background-color; #{{mw color dark}}"
! Neighboring Planets
! Neighboring Planets
{{!}} {{{planets|}}}
{{!}}
}}
{{{planets|}}}}}
|-
{{#if:{{{moons|}}}|
! Moons
{{!}}
{{{moons|}}}}}
|-
{{#if:{{{mass|}}}|
{{#if:{{{mass|}}}|
{{!-}} valign="top" style="Border: 1px solid #{{mw color light}}; Background-color: #{{mw color dark}}"
! Mass
! Mass
{{!}} {{{mass|}}}
{{!}}
}}
{{{mass|}}}}}
|-
{{#if:{{{class|}}}|
{{#if:{{{class|}}}|
{{!-}} valign="top" style="Border: 1px solid #{{mw color light}}; Background-color; #{{mw color dark}}"
! Class
! Class
{{!}} {{{class|}}}
{{!}}
}}
{{{class|}}}}}
|-
{{#if:{{{landscape|}}}|
{{#if:{{{landscape|}}}|
{{!-}} valign="top" style="Border: 1px solid #{{mw color light}}; Background-color: #{{mw color dark}}"
! Landscape
! Landscape
{{!}} {{{landscape|}}}
{{!}}
}}
{{{landscape|}}}}}
|-
{{#if:{{{race|}}}|
{{#if:{{{race|}}}|
{{!-}} valign="top" style="Border: 1px solid #{{mw color light}}; Background-color: #{{mw color dark}}"
! Dominant Race
! Dominant Race
{{!}} {{{race|}}}
{{!}}
}}
{{{race|}}}}}
{{#if:{{{status|}}}|
|-
{{!-}} valign="top" style="Border: 1px solid #{{mw color light}}; Background-color: #{{mw color dark}}"
! Current Status
! Current Status
{{!}} {{{status|}}}
{{!}}
}}
{{{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
*'''''Caption:''''' A caption accompanying the image
*'''''Games:''''' Any games or game the planet appears in
*'''''Region:''''' The planet's region <small>(if mentioned)</small>
*'''''System:''''' The planet's system <small>{if mentioned)</small>
*'''''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 <small>(e.g. destroyed, unknown, uninhabited)</small>


'''Blank code <small>(paste onto page)</small>:'''
<pre>{{Planet-infobox
<pre>{{Planet-infobox
|image=
|image=
Line 61: Line 87:
|system=
|system=
|planets=
|planets=
|moons=
|mass=
|mass=
|class=
|class=
Line 68: Line 95:
}}</pre>
}}</pre>


 
[[Category:Infobox Templates]]</noinclude>
[[Category:Infobox Templates|{{PAGENAME}}]]</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=
}}