Navigation menu
Template:Game-infobox: Difference between revisions
From Metroid Wiki
mNo edit summary |
AlexBot2004 (talk | contribs) mNo edit summary |
||
(43 intermediate revisions by 6 users not shown) | |||
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}} }}<!-- | ||
| | -->{| class="infobox" style="border:2px solid #{{{{#var:Game-infobox}} color light}}; background: #{{{{#var:Game-infobox}} color}}; {{#switch: {{#var:Game-infobox}} |mw= {{void}} | color:#{{{{#var:Game-infobox}} color light}} }};" | ||
| | |||
{| class="infobox-sub" | |||
! colspan="2" style="font-size: 13px; text-align: center; border: 1px solid #{{{{#var:Game-infobox}} color light}}; background: #{{{{#var:Game-infobox}} color dark}}; {{#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" style="text-align: center; border: 1px solid #{{{{#var:Game-infobox}} color light}}; background: #{{{{#var:Game-infobox}} color dark}};" {{!}} <div style="border-bottom:1px solid #{{{{#var:Game-infobox}} color light}}">{{#switch: {{#var:Game-infobox}} |m1= [[File:Metroid Cover.jpg|200px|Metroid]] |m2= [[File:M2 Cover NA.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:Metroid 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 Cover.jpg|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 Cover.jpg|200px|Metroid Prime Hunters]] | {{{image|}}} }}<br /><br /></div> | |||
<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> | |||
|} | |||
|- | |||
| | |||
{| class="infobox-sub {{#ifeq: {{#var:Game-infobox}} | mw | | {{#var:Game-infobox}}infobox }}" style="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="width: 30%; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} Publisher | |||
{{!}} {{{publisher|[[Nintendo]]}}} | |||
|- | |||
! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} Developer(s) | |||
{{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} {{{developer|}}} | |||
|- | |- | ||
{{#if:{{{platforms|}}}| | {{#if:{{{platforms|}}}| | ||
! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} Platform(s) | |||
! style="border:1px solid #{{{{ | {{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} {{{platforms|}}}}} | ||
{{!}} style="border:1px solid #{{{{ | |- | ||
}} | {{#if:{{{releasedUS|}}}| | ||
{{#if:{{{ | ! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} Released | ||
{{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} | |||
! style="border:1px solid #{{{{ | [[File:US.png|25px|North American release]] {{{releasedUS|}}} <br/> | ||
{{!}} style="border:1px solid #{{{{{ | {{#if:{{{releasedEu|}}}|[[File:Eu.png|25px|European release]] {{{releasedEu|}}} <br/>|}} | ||
}} | {{#if:{{{releasedAu|}}}|[[File:Au.png|25px|Australian release]] {{{releasedAu|}}} <br/>|}} | ||
{{#if:{{{releasedJp|}}}|[[File:Jp.png|25px|Japanese release]] {{{releasedJp|}}} <br/>|}} | |||
{{#if:{{{releasedSK|}}}|[[File:SK.png|25px|South Korean release]] {{{releasedSK|}}} <br/>|}} | |||
{{#if:{{{releasedChn|}}}|[[File:Chn.png|25px|Chinese release]] {{{releasedChn|}}} <br/>|}}}} | |||
|- | |||
{{#if:{{{genre|}}}| | {{#if:{{{genre|}}}| | ||
! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} Genre | |||
! style="border:1px solid #{{{{ | {{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} {{{genre|}}}}} | ||
{{!}} style="border:1px solid #{{{{ | |- | ||
}} | |||
{{#if:{{{ratings|}}}| | {{#if:{{{ratings|}}}| | ||
! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} Ratings | |||
! style="border:1px solid #{{{{ | {{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} {{{ratings|}}}}} | ||
{{!}} style="border:1px solid #{{{{ | |- | ||
}} | |||
{{#if:{{{modes|}}}| | {{#if:{{{modes|}}}| | ||
! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} Modes | |||
! style="border:1px solid #{{{{ | {{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} {{{modes|}}}}} | ||
{{!}} style="border:1px solid #{{{{ | |- | ||
}} | |||
{{#if:{{{media|}}}| | {{#if:{{{media|}}}| | ||
! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} Media | |||
! style="border:1px solid #{{{{ | {{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} {{{media|}}}}} | ||
{{!}} style="border:1px solid #{{{{ | |- | ||
}} | |||
{{#if:{{{websites|}}}| | {{#if:{{{websites|}}}| | ||
! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} Official Website(s) | |||
! style="border:1px solid #{{{{ | {{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} {{{websites|}}}}} | ||
{{!}} style="border:1px solid #{{{{ | |- | ||
}} | |||
{{#if:{{{input|}}}| | {{#if:{{{input|}}}| | ||
{{ | ! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} Input | ||
! style=" | {{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} {{{input|}}}}} | ||
{{!}} style=" | |- | ||
{{#if:{{{theme|}}}| | |||
! style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}; border-right: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} Theme | |||
{{!}} style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}}" {{!}} {{{theme|}}}}} | |||
|- | |||
{{#if:{{{strategywiki|}}}| | |||
! colspan="2" style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}};" {{!}} '''[[strategywiki:{{{strategywiki|{{PAGENAME}}}}}|Walkthrough and Guide]] at''' [[File:SWLink.png|Strategy Wiki|link=strategywiki:{{{strategywiki|{{PAGENAME}}}}}]]}} | |||
|- | |||
{{#if:{{{ssb|}}}| | |||
! colspan="2" style="border-top: 1px solid #{{{{#var:Game-infobox}} color light}};" {{!}} <u>'''''More Info'''''</u><br />[[File:SsbWLogo.png|70px|SmashWiki|link=smashwiki:{{{ssb|{{PAGENAME}}}}}]] | |||
}} | }} | ||
|} | |||
|} | |||
<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 | |||
*'''''Theme:''''' The theme of 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= | ||
|releasedEu= | |||
|releasedAu= | |||
|releasedJp= | |||
|genre= | |genre= | ||
|ratings= | |ratings= | ||
|modes= | |modes= | ||
|media= | |media= | ||
|websites= | |||
|input= | |input= | ||
| | |theme | ||
| | |stategywiki= | ||
|ssb= | |||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Infobox Templates]]</noinclude> | |||
[[Category:Infobox Templates |
Latest revision as of 03:35, 30 January 2023
| ||||
|
Usage[edit source]
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
- Theme: The theme of 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= |theme |stategywiki= |ssb= }}