Navigation menu
Template:Game-infobox: Difference between revisions
From Metroid Wiki
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{| | {{#vardefine:Game-infobox| {{#switch:{{PAGENAME}}|Metroid (game)=m1|Metroid II: Return of Samus=m2|Super Metroid=sm|Metroid Prime (game)=mp1|Metroid Fusion=mf|Metroid: Zero Mission=zm|Metroid Prime Pinball=mpp|Metroid Prime Hunters=mph|Metroid Prime 2: Echoes=mp2|Metroid Prime 3: Corruption=mp3|Metroid Prime: Trilogy=mpt|Metroid: Other M=om|mw}} }}<!-- | ||
| | -->{| width="300px" cellpadding="3" cellspacing="0" align="right" style="{{round|20px}} border:2px solid #{{{{#var:Game-infobox}} color light}}; background: #{{{{#var:Game-infobox}} color}}; font-size: 11px; {{#switch: {{#var:Game-infobox}} |mw= {{void}} | color:#{{{{#var:Game-infobox}} color light}} }}; margin-left:10px; margin-bottom:10px" | ||
| | |||
{| width="100%" cellpadding="3" cellspacing="0" align="center" style="{{round}}" | |||
! colspan="2" style="{{roundt}} border: 1px solid #{{{{#var:Game-infobox}} color light}}; background: #{{{{#var:Game-infobox}} color dark}}; font-size: 13px; {{#switch: {{#var:Game-infobox}} |mw= {{void}} | color:#{{{{#var:Game-infobox}} color light}} }};" | ''{{#switch: {{#var:Game-infobox}}|m1=Metroid|mp1=Metroid Prime|{{{name|{{PAGENAME}}}}}}}'' | |||
|- | |- | ||
! colspan="2" align="center" style="{{roundb}} border: 1px solid #{{{{#var:Game-infobox}} color light}}; background: #{{{{#var:Game-infobox}} color dark}};" {{!}} <div style="float:center; border-bottom:1px solid #{{{{#var:Game-infobox}} color light}}">{{#switch: {{#var:Game-infobox}} |m1= [[File:Metroid Cover.jpg|200px|Metroid]] |m2= [[File:Metroid II Return of Samus Cover.jpg|200px|Metroid II: Return of Samus]] |sm= [[File:Super Metroid Cover.jpg|200px|Super Metroid]] |mf= [[File:Metroid Fusion Cover.jpg|200px|Metroid Fusion]] |zm= [[File:Zero Mission Cover.jpg|200px|Zero Mission]] |om= [[File:Metroid Other M Cover.jpg|200px|Metroid: Other M]] |mp1= [[File:Metroid Prime Cover.jpg|200px|Metroid Prime]] |mp2= [[File:Metroid Prime 2 Echoes|200px|Metroid Prime 2: Echoes]] |mp3= [[File:Metroid Prime 3 Corruption Cover.jpg|200px|Metroid Prime 3: Corruption]] |mpp= [[File:Metroid Prime Pinball Cover.jpg|200px|Metroid Prime Pinball]] |mpt= [[File:Metroid Prime Trilogy Cover.jpg|200px|Metroid Prime: Trilogy]] |mph= [[File:Metroid Prime Hunters.jpg|200px|Metroid Prime Hunters]] | {{{image|}}} }}<br /><br /></div> | |||
! colspan="2" style="{{roundb}} border: 1px solid #{{{{ | <span style="font-size: 10px; {{#switch: {{#var:Game-infobox}} |mw= {{void}} | color:#{{{{#var:Game-infobox}} color light}} }};">{{{caption|''{{#switch: {{#var:Game-infobox}}|m1=Metroid|mp1=Metroid Prime|{{{name|{{PAGENAME}}}}}}}'' North American Cover Art}}}</span> | ||
{{# | |} | ||
{ | |||
|- | |- | ||
{{# | | | ||
{| {{#ifeq: {{#var:Game-infobox}} | mw | | class="{{#var:Game-infobox}}infobox" }} width="100%" cellpadding="3" cellspacing="0" align="center" style="{{round}} border: 1px solid #{{{{#var:Game-infobox}} color light}}; {{#ifeq: {{#var:Game-infobox}} | mw | {{background}} | }}; {{#switch: {{#var:Game-infobox}} |mw= {{void}} | color:#{{{{#var:Game-infobox}} color light}} }};" | |||
{{!}} style="border:1px solid #{{{{ | ! style="width: 30%; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" align="right" {{!}} Publisher | ||
{{{ | {{!}} | ||
{{{publisher|[[Nintendo]]}}} | |||
|- | |||
! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" align="right" {{!}} Developer(s) | |||
{{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} | |||
{{{developer|}}} | |||
|- | |- | ||
{{#if:{{{platforms|}}}| | {{#if:{{{platforms|}}}| | ||
! style="border:1px solid #{{{{ | ! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" align="right" {{!}} Platform(s) | ||
{{!}} style="border:1px solid #{{ | {{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} | ||
{{{platforms|}}}}} | {{{platforms|}}}}} | ||
|- | |- | ||
{{#if:{{{releasedUS|}}}| | {{#if:{{{releasedUS|}}}| | ||
! style="border:1px solid #{{{{ | ! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" align="right" {{!}} Released | ||
{{!}} style="border:1px solid #{{ | {{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} | ||
[[File:US.png|25px|North American release]] {{{releasedUS|}}} <br/> | [[File:US.png|25px|North American release]] {{{releasedUS|}}} <br/> | ||
{{#if:{{{releasedEu|}}}|[[File:Eu.png|25px|European release]] {{{releasedEu|}}} <br/>|}} | {{#if:{{{releasedEu|}}}|[[File:Eu.png|25px|European release]] {{{releasedEu|}}} <br/>|}} | ||
Line 30: | Line 34: | ||
|- | |- | ||
{{#if:{{{genre|}}}| | {{#if:{{{genre|}}}| | ||
! style="border:1px solid #{{{{ | ! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" align="right" {{!}} Genre | ||
{{!}} style="border:1px solid #{{ | {{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} | ||
{{{genre|}}}}} | {{{genre|}}}}} | ||
|- | |- | ||
{{#if:{{{ratings|}}}| | {{#if:{{{ratings|}}}| | ||
! style="border:1px solid #{{{{ | ! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" align="right" {{!}} Ratings | ||
{{!}} style="border:1px solid #{{ | {{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} | ||
{{{ratings|}}}}} | {{{ratings|}}}}} | ||
|- | |- | ||
{{#if:{{{modes|}}}| | {{#if:{{{modes|}}}| | ||
! style="border:1px solid #{{{{ | ! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" align="right" {{!}} Modes | ||
{{!}} style="border:1px solid #{{ | {{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} | ||
{{{modes|}}}}} | {{{modes|}}}}} | ||
|- | |- | ||
{{#if:{{{media|}}}| | {{#if:{{{media|}}}| | ||
! style="border:1px solid #{{{{ | ! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" align="right" {{!}} Media | ||
{{!}} style="border:1px solid #{{ | {{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} | ||
{{{media|}}}}} | {{{media|}}}}} | ||
|- | |- | ||
{{#if:{{{websites|}}}| | {{#if:{{{websites|}}}| | ||
! style="border:1px solid #{{{{ | ! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" align="right" {{!}} Official Website(s) | ||
{{!}} style="border:1px solid #{{ | {{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} | ||
{{{websites|}}}}} | {{{websites|}}}}} | ||
|- | |- | ||
{{#if:{{{input|}}}| | {{#if:{{{input|}}}| | ||
! style="border:1px solid #{{{{ | ! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" align="right" {{!}} Input | ||
{{!}} style="border:1px solid #{{ | {{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} | ||
{{{input|}}}}} | {{{input|}}}}} | ||
|- | |- | ||
{{# | {{#ifeq:{{{strategywiki|}}} | none | | | ||
! style=" | ! colspan="2" style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}};" align="center" {{!}} <u><i><b>Walkthrough</b></i></u><br />[[File:SWLink.png|Strategy Wiki|link=strategywiki:{{{strategywiki|{{PAGENAME}}}}}]]}} | ||
|- | |||
{{{strategywiki|}}} | {{#if:{{{ssb|}}}| | ||
! colspan="2" style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}};" align="right" {{!}} <u><i><b>More Info</b></i></u><br />[[File:SsbWLogo.png|70px|SmashWiki|link=smashwiki:{{{strategywiki|{{PAGENAME}}}}}]] | |||
}} | }} | ||
|} | |||
|}<noinclude>{{clear}} | |}<noinclude>{{clear}} | ||
==Usage== | ==Usage== | ||
''For reference, the major Metroid games are those listed on the main page's timeline'' | |||
*'''''Image:''''' Image of the game's North American cover artwork. Major ''Metroid'' games' images are added automatically | |||
*'''''Caption:''''' A caption accompanying the image. It defaults to " ''[PAGENAME] North American Cover-Art'' " so there is rarely a need for this parameter | |||
*'''''Publisher:''''' The game's publisher; defaults to [[Nintendo]] | |||
*'''''Developer:''''' The game's developer | |||
*'''''Platforms:''''' Platform(s) on which the game was released | |||
*'''''Released:''''' Four variants: ''releasedUS'', ''releasedEu'', ''releasedAu'', ''releasedJp'' for NTSC, Europe, Australia, and Japan respectively. The release date in each section | |||
*'''''Genre:''''' The game's listed genre | |||
*'''''Ratings:''''' Game ratings from PEGI, CERO, ESRB, etc. | |||
*'''''Modes:''''' Any game modes | |||
*'''''Media:''''' The medium the game is played on | |||
*'''''Websites:''''' Any official website which the game is tied to | |||
*'''''Input:''''' Player input medium for the game | |||
*'''''StrategyWiki:''''' The title of the game's walkthrough on StrategyWiki. It defaults to the page's (on Metroid Wiki) name. If " ''none'' " is inputed, the StrategyWiki link will be deleted. | |||
*'''''Super Smash. Bros:''''' The title of the game's article on SmashWiki (only for ''Super Smash Bros.'' games) | |||
To use this template copy the following code and fill in the information: | To use this template copy the following code and fill in the information: | ||
<pre> | <pre> | ||
{{Game-infobox | {{Game-infobox | ||
|image= | |image= | ||
|caption= | |||
|publisher= | |||
|developer= | |developer= | ||
|platforms= | |platforms= | ||
|releasedUS= | |releasedUS= | ||
Line 85: | Line 109: | ||
|input= | |input= | ||
|stategywiki= | |stategywiki= | ||
|ssb= | |||
}} | }} | ||
</pre> | </pre> | ||
{{Cat|Infobox Templates|Templates}}</noinclude> | |||
Revision as of 05:50, 15 February 2011
Usage
For reference, the major Metroid games are those listed on the main page's timeline
- Image: Image of the game's North American cover artwork. Major Metroid games' images are added automatically
- Caption: A caption accompanying the image. It defaults to " [PAGENAME] North American Cover-Art " so there is rarely a need for this parameter
- Publisher: The game's publisher; defaults to Nintendo
- Developer: The game's developer
- Platforms: Platform(s) on which the game was released
- Released: Four variants: releasedUS, releasedEu, releasedAu, releasedJp for NTSC, Europe, Australia, and Japan respectively. The release date in each section
- Genre: The game's listed genre
- Ratings: Game ratings from PEGI, CERO, ESRB, etc.
- Modes: Any game modes
- Media: The medium the game is played on
- Websites: Any official website which the game is tied to
- Input: Player input medium for the game
- StrategyWiki: The title of the game's walkthrough on StrategyWiki. It defaults to the page's (on Metroid Wiki) name. If " none " is inputed, the StrategyWiki link will be deleted.
- Super Smash. Bros: The title of the game's article on SmashWiki (only for Super Smash Bros. games)
To use this template copy the following code and fill in the information:
{{Game-infobox |image= |caption= |publisher= |developer= |platforms= |releasedUS= |releasedEu= |releasedAu= |releasedJp= |genre= |ratings= |modes= |media= |websites= |input= |stategywiki= |ssb= }}