In order to edit this wiki, you must register and verify your account.

Template:Infobox VG: Difference between revisions

From Cemu Wiki
Jump to:navigation Jump to:search
No edit summary
(sort unknow rating in category unknown)
(24 intermediate revisions by 3 users not shown)
Line 4: Line 4:
{{#ifeq:{{{show image|}}}|yes|<table style="width:100%;font-size:90%; background:none;">|{{!}}-}}
{{#ifeq:{{{show image|}}}|yes|<table style="width:100%;font-size:90%; background:none;">|{{!}}-}}
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!}} colspan="2" style="text-align:center;" {{!}} {{{image|}}}<br />{{{caption|}}}
{{!}} colspan="2" class="ib_img" style="text-align:center;" {{!}} {{{image|}}}<br />{{{caption|}}}
}}
}}
{{#ifeq:{{{show image|}}}|yes|</table>}}
{{#ifeq:{{{show image|}}}|yes|</table>}}
Line 22: Line 22:
|{{#if:{{{released|{{{release|}}}}}}| {{!}} {{nowrap| '''[[:Category:Initial release year|Release date(s)]]'''}} {{!!}} {{{released|{{{release}}}}}} {{#regex:{{{released|}}}|/.*?(\d\d\d\d).*/rs|[[Category:$1 (Initial release year)]]|1}}|[[Category:Game pages without release date(s)]]}}
|{{#if:{{{released|{{{release|}}}}}}| {{!}} {{nowrap| '''[[:Category:Initial release year|Release date(s)]]'''}} {{!!}} {{{released|{{{release}}}}}} {{#regex:{{{released|}}}|/.*?(\d\d\d\d).*/rs|[[Category:$1 (Initial release year)]]|1}}|[[Category:Game pages without release date(s)]]}}
|{{#if:{{{genre|}}}|{{!}} '''[[:Category:Genres|Genre(s)]]'''{{!!}}{{#regex:{{#regex:{{{genre|}}}|/''/|}}|/([^,]+)(,? ?)/rs|[[:Category:$1 (Genre)|$1]][[Category:$1 (Genre)]]$2}}|[[Category:Game pages without genre]]}}
|{{#if:{{{genre|}}}|{{!}} '''[[:Category:Genres|Genre(s)]]'''{{!!}}{{#regex:{{#regex:{{{genre|}}}|/''/|}}|/([^,]+)(,? ?)/rs|[[:Category:$1 (Genre)|$1]][[Category:$1 (Genre)]]$2}}|[[Category:Game pages without genre]]}}
|{{#if:{{{modes|}}}|{{!}} '''[[:Category:Game mode|Mode(s)]]'''{{!!}}{{#regex:{{#regex:{{{modes|}}}|/(Single-player{{!}}Multi(-)?player{{!}}Co-op{{!}}Online)/rsi|[[:Category:$1 (Game mode)|$1]][[Category:$1 (Game mode)]]$2}}|/\((\d{1,2}{{!}}\*)\)/|([[:Category:$1 (Players supported)|$1]][[Category:$1 (Players supported)]])}}{{#ifeq:{{{modes|}}}|Single-player|[[Category:Single-player only (Game mode)]][[Category:1 (Players supported)]]|}}|{{#if:{{#regex:{{{modes|}}}|/(Single-player{{!}}Multiplayer{{!}}Co-op{{!}}Online)/rsi}}|valid|[[:Category:Game pages without modes of play]]}}}}
|{{#if:{{{modes|}}}|{{!}} '''[[:Category:Game mode|Mode(s)]]'''{{!!}}{{#regex:{{#regex:{{{modes|}}}|/(Single-player{{!}}Multi(-)?player{{!}}Co-op{{!}}Online)/rsi|[[:Category:$1 (Game mode)|$1]][[Category:$1 (Game mode)]]$2}}|/\((\d{1,2}{{!}}\*)\)/|([[:Category:$1 (Players supported)|$1]][[Category:$1 (Players supported)]])}}{{#ifeq:{{{modes|}}}|Single-player|[[Category:Single-player only (Game mode)]][[Category:1 (Players supported)]]|}}|{{#if:{{#regex:{{{modes|}}}|/(Single-player{{!}}Multiplayer{{!}}Co-op{{!}}Online)/rsi}}||[[:Category:Game pages without modes of play]]}}}}
|{{#if:{{{input|}}}|{{!}}'''[[:Category:Input supported|Input methods]]'''{{!!}}{{#regex:{{{input|}}}|/(Wii Remote{{!}}Nunchuk{{!}}Dance Pad{{!}}Wii Balance Board{{!}}USB Keyboard{{!}}Skylander Portal{{!}}Wii MotionPlus{{!}}GamePad{{!}}Wii Speak{{!}}Microphone{{!}}(Pro{{!}}GameCube{{!}}Classic{{!}}Keyboard{{!}}Guitar{{!}}) Controller)/rsi|[[:Category:$1 (Input supported)|$1]][[Category:$1 (Input supported)]]$2}}|[[Category:Game pages without possible inputs]]}}
|{{#if:{{{input|}}}|{{!}}'''[[:Category:Input supported|Input methods]]'''{{!!}}{{#regex:{{{input|}}}|/(Wii Remote{{!}}Nunchuk{{!}}Dance Pad{{!}}Wii Balance Board{{!}}USB Keyboard{{!}}Skylander Portal{{!}}Wii MotionPlus{{!}}GamePad{{!}}Wii Speak{{!}}Microphone{{!}}Classic Controller Pro{{!}}(Pro{{!}}GameCube{{!}}Classic{{!}}Keyboard{{!}}Guitar{{!}}) Controller)/rsi|[[:Category:$1 (Input supported)|$1]][[Category:$1 (Input supported)]]}}|[[Category:Game pages without possible inputs]]}}
|{{!}} '''[[:Category:Rating|Compatibility]]''' {{!!}}{{ratings|{{{rating|}}}}}[[Category:{{{rating}}} (Rating)]]
|{{!}} '''[[:Category:Rating|Compatibility]]''' {{!!}}{{ratings|{{{rating|}}}}}[[Category:{{#if: {{{rating}}} | {{{rating}}} | unknown}} (Rating)]]
|{{!}} '''[[GameIDs]]''' {{!!}} {{#dpl:
|{{!}} '''[[GameIDs]]''' {{!!}} {{gameid|{{#dpl:
|mode=inline
|mode=inline
|inlinetext=<nowiki>, </nowiki>
|inlinetext=<nowiki>, </nowiki>
Line 32: Line 32:
|titlematch=______
|titlematch=______
|notcategory=Not GameID
|notcategory=Not GameID
}}
}}|{{#dpl:
|mode=inline
|inlinetext=<nowiki>, </nowiki>
|linksto={{FULLPAGENAME}}
|redirects=only
|titlematch=____
|notcategory=Not GameID}}}}
|{{!}} '''See also...''' {{!!}}
|{{!}} '''See also...''' {{!!}}
{{#if:{{#regex:{{PAGENAME}}|/.*(\)).*/|}}||{{exist|{{#regex:{{PAGENAME}}|/(.+)\((?!Arcade).+\)/|$1}} (Arcade)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Arcade)|Arcade Version]]<br />
}}{{exist|{{#regex:{{PAGENAME}}|/(.+)\((?!C64).+\)/|$1}} (C64)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (C64)|C64 Version]]<br />
}}{{exist|{{#regex:{{PAGENAME}}|/(.+)\((?!Genesis).+\)/|$1}} (Genesis)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Genesis)|Genesis Version]]<br />
}}{{exist|{{#regex:{{PAGENAME}}|/(.+)\((?!MSX).+\)/|$1}} (MSX)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (MSX)|MSX Version]]<br />
}}{{exist|{{#regex:{{PAGENAME}}|/(.+)\((?!NES).+\)/|$1}} (NES)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (NES)|NES Version]]<br />
}}{{exist|{{#regex:{{PAGENAME}}|/(.+)\((?!SNES).+\)/|$1}} (SNES)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (SNES)|SNES Version]]<br />
}}{{exist|{{#regex:{{PAGENAME}}|/(.+)\((?!SMS).+\)/|$1}} (SMS)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (SMS)|SMS Version]]<br />
}}{{exist|{{#regex:{{PAGENAME}}|/(.+)\((?!TurboGrafx-16).+\)/|$1}} (TurboGrafx-16)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (TurboGrafx-16)|TurboGrafx-16 Version]]<br />
}}{{exist|{{#regex:{{PAGENAME}}|/(.+)\((?!Wii).+\)/|$1}} (Wii)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Wii)|Wii Version]]<br />
}}{{exist|{{#regex:{{PAGENAME}}|/(.+)\((?!GC).+\)/|$1}} (GC)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (GC)|GameCube Version]]<br />
}}{{exist|{{#regex:{{PAGENAME}}|/(.+)\((?!WiiWare).+\)/|$1}} (WiiWare)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (WiiWare)|WiiWare Version]]<br />
}}}}{{#ifeq:{{#regex:{{PAGENAME}}|/New Play Control\! (.+)/|New Play Control\! $1}}|{{PAGENAME}}||{{exist|{{#regex:{{PAGENAME}}|/New Play Control\! (.+)/|$1}} (GC)|[[{{#regex:{{PAGENAME}}|/New Play Control\! (.+)/|$1}} (GC)|GameCube Version]]<br />}}}}
[[google:{{#regex:{{PAGENAME}}|/\s/|+}}|Search Google]]<br />
[[google:{{#regex:{{PAGENAME}}|/\s/|+}}|Search Google]]<br />
{{#if:{{{wikipedia|}}}|[[wikipedia:{{{wikipedia|}}}|Wikipedia page]]|[[wikipedia:{{PAGENAME}}|Search Wikipedia]]}}}}|}<!--Data Quality Categories-->
{{#if:{{{wikipedia|}}}|[[wikipedia:{{{wikipedia|}}}|Wikipedia page]]|}}}}|}<!--Data Quality Categories-->
{{#if:{{{compatibility|}}}|[[Category:Pages with an un-needed compatibility param in InfoBox]]|}}{{#if:{{{series|}}}|{{#if:{{#regex:{{{series|}}}|/(''[^,]*?''(, {{!}}$))*/rs|}}|[[Category:Game pages with misformatted series]]}}}}
{{#if:{{{series|}}}|{{#if:{{#regex:{{{series|}}}|/(''[^,]*?''(, {{!}}$))*/rs|}}|[[Category:Game pages with misformatted series]]}}}}{{#ifeq:{{#regex:{{{input|}}}|/(((Wii Remote( \+ Nunchuk)?{{!}}Wii MotionPlus( \+ Nunchuk)?){{!}}Nunchuk{{!}}USB Keyboard{{!}}Skylander Portal{{!}}GamePad{{!}}Dance Pad{{!}}Keyboard{{!}}Wii Speak{{!}}Microphone{{!}}Classic Controller Pro{{!}}Wii Balance Board{{!}}(Pro{{!}}Classic{{!}}GameCube{{!}}Guitar{{!}}Keyboard) Controller)(, {{!}}$))*/rs}}|{{{input|}}}||[[Category:Pages with misformatted inputs]]|}}{{#if:{{#regex:{{{modes|}}}|/(Single-player{{!}}Multiplayer{{!}}Co-op{{!}}Online)/rsi}}||[[Category:Pages with misformatted modes of play]]}}{{#if:{{#regex:{{{modes|}}}|/Multiplayer/rsi}}|{{#if:{{#regex:{{{modes|}}}|/Multiplayer\s?\((\d{1,2})\)/rsi}}||[[Category:Pages with misformatted modes of play]]}}|}}{{#ifeq:{{#regex:{{{type|}}}|/((Game{{!}}eShop{{!}}VC(, {{!}}$))*/rs}}|[[Category:$1 (Game type)]]|[[Category:Pages with misformatted game types]]|}}</includeonly><noinclude>{{documentation}}</noinclude>
{{#ifeq:{{#regex:{{{input|}}}|/(((Wii Remote( \+ Nunchuk)?{{!}}Wii MotionPlus( \+ Nunchuk)?){{!}}Nunchuk{{!}}USB Keyboard{{!}}Skylander Portal{{!}}GamePad{{!}}Dance Pad{{!}}Keyboard{{!}}Wii Speak{{!}}Microphone{{!}}Wii Balance Board{{!}}(Pro{{!}}Classic{{!}}GameCube{{!}}Guitar{{!}}Keyboard) Controller)(, {{!}}$))*/rs}}|{{{input|}}}||[[Category:Pages with misformatted inputs]]|}}
<includeonly>[[Category:List of games]]</includeonly>
{{#if:{{#regex:{{{modes|}}}|/(Single-player{{!}}Multiplayer \((\d{1,2})\){{!}}Co-op{{!}}Online)/rsi}}||[[Category:Game pages misformatted modes of play]]}}
<noinclude>[[Category:List of editing tutorials]]</noinclude>
{{#ifeq:{{#regex:{{{type|}}}|/((Game{{!}}eShop{{!}}VC(, {{!}}$))*/rs}}|[[Category:$1 (Game type)]]|[[Category:Pages with misformatted game types]]|}}
</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 11:11, 6 August 2017

[edit

Documentation

Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.

As this template is widely used in our wiki, it may be protected. Use the discussion page to propose enhancements or fixes, or to voice your opinion.

Use this template to display an infobox of a game.

Usage

{{Infobox VG |title = Mario Kart 8 |image = [[File:Mario Kart 8.png|295px]] |developer = Nintendo EAD |publisher = Nintendo |released = {{vgrelease|NA=May 30, 2014|EU=May 30, 2014|AUS= May 31, 2014|JP=May 29, 2014}} |genre = Racing |modes = Single-player, Multiplayer (4), Online |input = GamePad, Pro Controller, Wii Remote, Wii Remote + Nunchuk, Classic Controller |wikipedia = Mario_Kart_8 |rating = Perfect }}

Note
The above documentation is transcluded from Template:Infobox VG/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. (See the subpages of this template.)