Template:Infobox VG: Difference between revisions

Hopefully clean-up category regexps a bit, and add some spacing that should hopefully make things a bit more readable. Also noticing the "See Also" logic needs some clean-up to support additional platforms, and not sure we have "(Virtual Console)" titles.
No edit summary
(Hopefully clean-up category regexps a bit, and add some spacing that should hopefully make things a bit more readable. Also noticing the "See Also" logic needs some clean-up to support additional platforms, and not sure we have "(Virtual Console)" titles.)
Line 20: Line 20:
|{{!}} '''Compatibility''' {{!!}} {{ratings|{{#if:{{{nonerror|}}}|nonerror=true{{!}}|}}{{PAGENAME}}}}
|{{!}} '''Compatibility''' {{!!}} {{ratings|{{#if:{{{nonerror|}}}|nonerror=true{{!}}|}}{{PAGENAME}}}}
|{{!}} '''See also...''' {{!!}}
|{{!}} '''See also...''' {{!!}}
{{#ifeq:{{#regex:{{PAGENAME}}|/.*(NES)\)/$1}}|NES||{{#ifexist:{{#regex:{{PAGENAME}}|/(.*) \(NES\)/|$1}} (SNES)|[[{{#regex:{{PAGENAME}}|/(.*) \(NES\)/|$1}} (SNES)|SNES Title]]<br />}}}}{{#ifeq:{{#regex:{{PAGENAME}}|/.*(SNES)\)/$1}}|SNES||{{#ifexist:{{#regex:{{PAGENAME}}|/(.*) \(SNES\)/|$1}} (NES)|[[{{#regex:{{PAGENAME}}|/(.*) \(SNES\)/|$1}} (NES)|NES Title]]<br />}}}}{{#ifeq:{{#regex:{{PAGENAME}}|/New Play Control\! (.+)/|New Play Control\! $1}}|{{PAGENAME}}||{{#ifexist:{{#regex:{{PAGENAME}}|/New Play Control\! (.+)/|$1}} (GC)|[[{{#regex:{{PAGENAME}}|/New Play Control\! (.+)/|$1}} (GC)|GameCube Version]]<br />}}}}{{#ifeq:{{#regex:{{PAGENAME}}|/(.+)\ \(.+\)/|$1}} (Wii)|{{PAGENAME}}||{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Wii)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Wii)|Wii Version]]<br />}}}}{{#ifeq:{{#regex:{{PAGENAME}}|/(.+)\ \(.+\)/|$1}} (GC)|{{PAGENAME}}||{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (GC)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (GC)|GameCube Version]]<br />}}}}{{#ifeq:{{#regex:{{PAGENAME}}|/(.+)\ \(.+\)/|$1}} (WiiWare)|{{PAGENAME}}||{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (WiiWare)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (WiiWare)|WiiWare Version]]<br />}}}}{{#ifeq:{{#regex:{{PAGENAME}}|/(.+)\ \(.+\)/|$1}} (Virtual Console)|{{PAGENAME}}||{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Virtual Console)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Virtual Console)|Virtual Console Version]]<br />}}}}
{{#ifeq:{{#regex:{{PAGENAME}}|/.*(NES)\)/$1}}|NES||{{#ifexist:{{#regex:{{PAGENAME}}|/(.*) \(NES\)/|$1}} (SNES)|[[{{#regex:{{PAGENAME}}|/(.*) \(NES\)/|$1}} (SNES)|SNES Title]]<br />}}}}{{#ifeq:{{#regex:{{PAGENAME}}|/.*(SNES)\)/$1}}|SNES||{{#ifexist:{{#regex:{{PAGENAME}}|/(.*) \(SNES\)/|$1}} (NES)|[[{{#regex:{{PAGENAME}}|/(.*) \(SNES\)/|$1}} (NES)|NES Title]]<br />}}}}
{{#ifeq:{{#regex:{{PAGENAME}}|/New Play Control\! (.+)/|New Play Control\! $1}}|{{PAGENAME}}||{{#ifexist:{{#regex:{{PAGENAME}}|/New Play Control\! (.+)/|$1}} (GC)|[[{{#regex:{{PAGENAME}}|/New Play Control\! (.+)/|$1}} (GC)|GameCube Version]]<br />}}}}
{{#ifeq:{{#regex:{{PAGENAME}}|/(.+)\ \(.+\)/|$1}} (Wii)|{{PAGENAME}}||{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Wii)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Wii)|Wii Version]]<br />}}}}
{{#ifeq:{{#regex:{{PAGENAME}}|/(.+)\ \(.+\)/|$1}} (GC)|{{PAGENAME}}||{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (GC)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (GC)|GameCube Version]]<br />}}}}
{{#ifeq:{{#regex:{{PAGENAME}}|/(.+)\ \(.+\)/|$1}} (WiiWare)|{{PAGENAME}}||{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (WiiWare)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (WiiWare)|WiiWare Version]]<br />}}}}{{#ifeq:{{#regex:{{PAGENAME}}|/(.+)\ \(.+\)/|$1}} (Virtual Console)|{{PAGENAME}}||{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Virtual Console)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Virtual Console)|Virtual Console Version]]<br />}}}}
{{#if:{{{forumlink|}}}|[{{{forumlink|}}} Dolphin Forum thread]|[[google:{{#regex:{{PAGENAME}}|/\s/|+}}+site:forums.dolphin-emu.org|Search Dolphin Forums]]}}<br />
{{#if:{{{forumlink|}}}|[{{{forumlink|}}} Dolphin Forum thread]|[[google:{{#regex:{{PAGENAME}}|/\s/|+}}+site:forums.dolphin-emu.org|Search Dolphin Forums]]}}<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]]}}}}
{{#if:{{{wikipedia|}}}|[[wikipedia:{{{wikipedia|}}}|Wikipedia page]]|[[wikipedia:{{PAGENAME}}|Search Wikipedia]]}}}}
<!--Translations broken since migration to HTTPS as Google Translate doesn't support HTTPS pages.
<!--Translations broken since migration to HTTPS as Google Translate doesn't support HTTPS pages.
<ul id="nav"><li><span class="plainlinks" style="margin-left: 5px;">Translations <span style="font-size:80%;">▼</span></span><ul><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=zh-CN&u={{canonicalurl:{{FULLPAGENAME}}}} 中文(中国)]</span> <span style="margin: 2px;">[[File:CN.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=cs&u={{canonicalurl:{{FULLPAGENAME}}}} Česky]</span> <span style="margin: 2px;">[[File:CS.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=es&u={{canonicalurl:{{FULLPAGENAME}}}} Español]</span><span style="margin: 2px;">[[File:ES.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=de&u={{canonicalurl:{{FULLPAGENAME}}}} Deutsch]</span> <span style="margin: 2px;">[[File:DE.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=fa&u={{canonicalurl:{{FULLPAGENAME}}}} ﻑﺍﺮﺳی]</span> <span style="margin: 2px;">[[File:FA.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=fr&u={{canonicalurl:{{FULLPAGENAME}}}} Français]</span> <span style="margin: 2px;">[[File:FR.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=ja&u={{canonicalurl:{{FULLPAGENAME}}}} 日本語]</span> <span style="margin: 2px;">[[File:JP.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=ko&u={{canonicalurl:{{FULLPAGENAME}}}} 한국어]</span> <span style="margin: 2px;">[[File:KO.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=nl&u={{canonicalurl:{{FULLPAGENAME}}}} Nederlands]</span> <span style="margin: 2px;">[[File:NL.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=pl&u={{canonicalurl:{{FULLPAGENAME}}}} Polski]</span> <span style="margin: 2px;">[[File:PL.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=pt&u={{canonicalurl:{{FULLPAGENAME}}}} Português]</span> <span style="margin: 2px;">[[File:PT.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=ru&u={{canonicalurl:{{FULLPAGENAME}}}} Русский]</span> <span style="margin: 2px;">[[File:RU.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=sv&u={{canonicalurl:{{FULLPAGENAME}}}} Svenska]</span> <span style="margin: 2px;">[[File:SV.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=tr&u={{canonicalurl:{{FULLPAGENAME}}}} Türkçe]</span> <span style="margin: 2px;">[[File:TK.png|22px|link=]]</span></span></li></ul></ul>-->
<ul id="nav"><li><span class="plainlinks" style="margin-left: 5px;">Translations <span style="font-size:80%;">▼</span></span><ul><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=zh-CN&u={{canonicalurl:{{FULLPAGENAME}}}} 中文(中国)]</span> <span style="margin: 2px;">[[File:CN.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=cs&u={{canonicalurl:{{FULLPAGENAME}}}} Česky]</span> <span style="margin: 2px;">[[File:CS.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=es&u={{canonicalurl:{{FULLPAGENAME}}}} Español]</span><span style="margin: 2px;">[[File:ES.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=de&u={{canonicalurl:{{FULLPAGENAME}}}} Deutsch]</span> <span style="margin: 2px;">[[File:DE.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=fa&u={{canonicalurl:{{FULLPAGENAME}}}} ﻑﺍﺮﺳی]</span> <span style="margin: 2px;">[[File:FA.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=fr&u={{canonicalurl:{{FULLPAGENAME}}}} Français]</span> <span style="margin: 2px;">[[File:FR.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=ja&u={{canonicalurl:{{FULLPAGENAME}}}} 日本語]</span> <span style="margin: 2px;">[[File:JP.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=ko&u={{canonicalurl:{{FULLPAGENAME}}}} 한국어]</span> <span style="margin: 2px;">[[File:KO.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=nl&u={{canonicalurl:{{FULLPAGENAME}}}} Nederlands]</span> <span style="margin: 2px;">[[File:NL.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=pl&u={{canonicalurl:{{FULLPAGENAME}}}} Polski]</span> <span style="margin: 2px;">[[File:PL.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=pt&u={{canonicalurl:{{FULLPAGENAME}}}} Português]</span> <span style="margin: 2px;">[[File:PT.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=ru&u={{canonicalurl:{{FULLPAGENAME}}}} Русский]</span> <span style="margin: 2px;">[[File:RU.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=sv&u={{canonicalurl:{{FULLPAGENAME}}}} Svenska]</span> <span style="margin: 2px;">[[File:SV.png|22px|link=]]</span></span><li><span class="plainlinks"><span style="position: absolute; margin-left: 28px;">[http://translate.google.com/translate?sl=en&tl=tr&u={{canonicalurl:{{FULLPAGENAME}}}} Türkçe]</span> <span style="margin: 2px;">[[File:TK.png|22px|link=]]</span></span></li></ul></ul>
|}<!--Data Quality Categories-->{{#ifeq:{{#regex:{{{modes|}}}|/.*(Single-Player).*/|$1}}|Single-Player|[[Category:Game pages with mis-capitalized Single-player]]|}}{{#if:{{{compatibility|}}}|[[Category:Pages with an un-needed compatibility param in InfoBox]]|}}{{#if:{{{released|}}}{{{release|}}}||[[Category:Game pages without release date(s)]]}}{{#if:{{{forumlink|}}}||[[Category:Game pages without Dolphin forum link]]}}{{#if:{{{genre|}}}||[[Category:Game pages without genre]]}}{{#if:{{{modes|}}}||{{#ifeq:{{{genre|}}}|Utility||[[Category:Game pages without modes of play]]}}}}{{#if:{{{input|}}}||[[Category:Game pages without possible inputs]]}}{{#if: {{{series|}}}|{{#if:{{#regex: {{{series|}}}|/''/r||1}}||[[Category:Game pages with non-italic series]]}}}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Gamecube).*/|$1}}|Gamecube|[[Category:Game page with improperly capitalized inputs]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(controller).*/|$1}}|controller|[[Category:Game page with improperly capitalized inputs]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(wii).*/|$1}}|wii|[[Category:Game page with improperly capitalized inputs]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Balance board).*/|$1}}|Balance board|[[Category:Game page with improperly capitalized inputs]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(nunchuk).*/|$1}}|nunchuk|[[Category:Game page with improperly capitalized inputs]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(balance board).*/|$1}}|balance board|[[Category:Game page with improperly capitalized inputs]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Wiimote).*/|$1}}|Wiimote|[[Category:Game page with Wiimote rather than Wii Remote]]|}}<!--Developer categories-->{{#if:{{{developer|}}}|{{#ifeq:{{#regex:{{{developer|}}}|/>/r|}}||<!--1st-->{{#regex:{{{developer|}}}|/([^,]*).*/r|[[Category:Developed by $1]]|1}}<!--2nd-->{{#regex:{{{developer|}}}|/[^,]*,([^,]*)(,.*)?/r|[[Category:Developed by $1]]|1}}<!--3rd-->{{#regex:{{{developer|}}}|/[^,]*,[^,]*,([^,]*)(,.*)?/r|[[Category:Developed by $1]]|1}}|<!--NA-->{{#regex:{{{developer|}}}|/.*?NA.*?[>].*?[>](.*?)[<].*/r|[[Category:Developed by $1]]|1}}<!--EU-->{{#regex:{{{developer|}}}|/.*?EU.*?[>].*?[>](.*?)[<].*/r|[[Category:Developed by $1]]|1}}<!--JP-->{{#regex:{{{developer|}}}|/.*?JP.*?[>].*?[>](.*?)[<].*/r|[[Category:Developed by $1]]|1}}<!--AUS-->{{#regex:{{{developer|}}}|/.*?AUS.*?[>].*?[>](.*?)[<].*/r|[[Category:Developed by $1]]|1}}}}}}<!--Publisher categories-->{{#if:{{{publisher|}}}|{{#ifeq:{{#regex:{{{publisher|}}}|/>/r|}}||<!--1st-->{{#regex:{{{publisher|}}}|/([^,]*).*/r|[[Category:Published by $1]]|1}}<!--2nd-->{{#regex:{{{publisher|}}}|/[^,]*,([^,]*)(,.*)?/r|[[Category:Published by $1]]|1}}<!--3rd-->{{#regex:{{{publisher|}}}|/[^,]*,[^,]*,([^,]*)(,.*)?/r|[[Category:Published by $1]]|1}}|<!--NA-->{{#regex:{{{publisher|}}}|/.*?NA.*?[>].*?[>](.*?)[<].*/r|[[Category:Published by $1]]|1}}<!--EU-->{{#regex:{{{publisher|}}}|/.*?EU.*?[>].*?[>](.*?)[<].*/r|[[Category:Published by $1]]|1}}<!--JP-->{{#regex:{{{publisher|}}}|/.*?JP.*?[>].*?[>](.*?)[<].*/r|[[Category:Published by $1]]|1}}<!--AUS-->{{#regex:{{{publisher|}}}|/.*?AUS.*?[>].*?[>](.*?)[<].*/r|[[Category:Published by $1]]|1}}}}}}<!--Gameplay mode categories-->{{#ifeq:{{#regex:{{{modes|}}}|/.*(Multiplayer).*/|$1}}|Multiplayer|[[Category:Multiplayer games]]|}}{{#ifeq:{{#regex:{{{modes|}}}|/.*(Co-op).*/|$1}}|Co-op|[[Category:Multiplayer games]][[Category:Co-op games]]|}}{{#ifeq:{{#regex:{{{modes|}}}|/.*(Single-Player).*/|$1}}|Single-Player|[[Category:Single-player games]]{{#ifeq:{{{modes|}}}|Single-Player|[[Category:Single-player only games]]|}}|}}{{#ifeq:{{#regex:{{{modes|}}}|/.*(Single-player).*/|$1}}|Single-player|[[Category:Single-player games]]{{#ifeq:{{{modes|}}}|Single-player|[[Category:Single-player only games]]|}}|}}{{#ifeq:{{#regex:{{{modes|}}}|/.*(Online).*/|$1}}|Online|[[Category:Online games]]|}}<!--Input categories-->{{#ifeq:{{#regex:{{{input|}}}|/.*(Wii Remote).*/|$1}}|Wii Remote|[[Category:Wii Remote input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Nunchuk).*/|$1}}|Nunchuk|[[Category:Nunchuk input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Classic Controller).*/|$1}}|Classic Controller|[[Category:Classic Controller input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Classic controller).*/|$1}}|Classic controller|[[Category:Classic Controller input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(GameCube Controller).*/|$1}}|GameCube Controller|[[Category:GameCube Controller input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Gamecube Controller).*/|$1}}|Gamecube Controller|[[Category:GameCube Controller input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(GameCube controller).*/|$1}}|GameCube controller|[[Category:GameCube Controller input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Gamecube controller).*/|$1}}|Gamecube controller|[[Category:GameCube Controller input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Wii Balance Board).*/|$1}}|Wii Balance Board|[[Category:Wii Balance Board input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Shinkansen Controller).*/|$1}}|Shinkansen Controller|[[Category:Shinkansen Controller input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(uDraw).*/|$1}}|uDraw|[[Category:uDraw Tablet input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Nintendo DS).*/|$1}}|Nintendo DS|[[Category:Nintendo DS input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Game Boy Advance).*/|$1}}|Game Boy Advance|[[Category:Game Boy Advance input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Wii MotionPlus).*/|$1}}|Wii MotionPlus|[[Category:Wii MotionPlus input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(DK Bongos).*/|$1}}|DK Bongos|[[Category:DK Bongos input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Drum).*/|$1}}|Drum|[[Category:Drum input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Guitar).*/|$1}}|Guitar|[[Category:Guitar input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Keyboard).*/|$1}}|Keyboard|[[Category:Keyboard input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Microphone).*/|$1}}|Microphone|[[Category:Microphone input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Dance).*/|$1}}|Dance|[[Category:Dance Pad input supported]]|}}<!--Genre categories (up to 15)-->{{#if:{{{genre|}}}|<!--1st-->{{#regex: {{{genre|}}}|/([^,]*).*/r|[[Category:$1 games]]|1}}<!--2nd-->{{#regex: {{{genre|}}}|/[^,]*,([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--3rd-->{{#regex: {{{genre|}}}|/[^,]*,[^,]*,([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--4th-->{{#regex: {{{genre|}}}|/[^,]*,[^,]*,[^,]*,([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--5th-->{{#regex: {{{genre|}}}|/[^,]*,[^,]*,[^,]*,[^,]*,([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--6th-->{{#regex: {{{genre|}}}|/[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--7th-->{{#regex: {{{genre|}}}|/[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--8th-->{{#regex: {{{genre|}}}|/[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--9th-->{{#regex: {{{genre|}}}|/[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--10th-->{{#regex: {{{genre|}}}|/[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--11th-->{{#regex: {{{genre|}}}|/[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--12th-->{{#regex: {{{genre|}}}|/[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--13th-->{{#regex: {{{genre|}}}|/[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--14th-->{{#regex: {{{genre|}}}|/[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--15th-->{{#regex: {{{genre|}}}|/[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--16th-->{{#regex: {{{genre|}}}|/[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}}}<!--Series Categories (up to 3)-->{{#if:{{{series|}}}|<!--1st-->{{#regex: {{#regex: {{{series|}}}|/''/|}}|/([^,]*).*/r|[[Category:$1 series]]|1}}<!--2nd-->{{#regex: {{#regex: {{{series|}}}|/''/|}}|/[^,]*,([^,]*)(,.*)?/r|[[Category:$1 series]]|1}}<!--3rd-->{{#regex: {{#regex: {{{series|}}}|/''/|}}|/[^,]*,[^,]*,([^,]*)(,.*)?/r|[[Category:$1 series]]|1}}}}<!--Initial release year category (presumes appropriate date order)-->{{#regex: {{{released|}}}|/.*?(\d\d\d\d).*/r|[[Category:Initial release $1]]|1}}</includeonly><noinclude>
-->
|}<!--
 
Data Quality Categories-->{{#ifeq:{{#regex:{{{modes|}}}|/.*(Single-Player).*/|$1}}|Single-Player|[[Category:Game pages with mis-capitalized Single-player]]|}}{{#if:{{{compatibility|}}}|[[Category:Pages with an un-needed compatibility param in InfoBox]]|}}{{#if:{{{released|}}}{{{release|}}}||[[Category:Game pages without release date(s)]]}}{{#if:{{{forumlink|}}}||[[Category:Game pages without Dolphin forum link]]}}{{#if:{{{genre|}}}||[[Category:Game pages without genre]]}}{{#if:{{{modes|}}}||{{#ifeq:{{{genre|}}}|Utility||[[Category:Game pages without modes of play]]}}}}{{#if:{{{input|}}}||[[Category:Game pages without possible inputs]]}}{{#if: {{{series|}}}|{{#if:{{#regex: {{{series|}}}|/''/r||1}}||[[Category:Game pages with non-italic series]]}}}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Gamecube).*/|$1}}|Gamecube|[[Category:Game page with improperly capitalized inputs]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(controller).*/|$1}}|controller|[[Category:Game page with improperly capitalized inputs]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(wii).*/|$1}}|wii|[[Category:Game page with improperly capitalized inputs]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Balance board).*/|$1}}|Balance board|[[Category:Game page with improperly capitalized inputs]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(nunchuk).*/|$1}}|nunchuk|[[Category:Game page with improperly capitalized inputs]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(balance board).*/|$1}}|balance board|[[Category:Game page with improperly capitalized inputs]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Wiimote).*/|$1}}|Wiimote|[[Category:Game page with Wiimote rather than Wii Remote]]|}}<!--
 
Developer categories-->{{#if:{{{developer|}}}|{{#ifeq:{{#regex:{{{developer|}}}|/>/r|}}||<!--1st-->{{#regex:{{{developer|}}}|/([^,]*).*/r|[[Category:Developed by $1]]|1}}<!--2nd-->{{#regex:{{{developer|}}}|/[^,]*,([^,]*)(,.*)?/r|[[Category:Developed by $1]]|1}}<!--3rd-->{{#regex:{{{developer|}}}|/(?:[^,]*,){2}([^,]*)(,.*)?/r|[[Category:Developed by $1]]|1}}|<!--NA-->{{#regex:{{{developer|}}}|/.*?NA.*?[>].*?[>](.*?)[<].*/r|[[Category:Developed by $1]]|1}}<!--EU-->{{#regex:{{{developer|}}}|/.*?EU.*?[>].*?[>](.*?)[<].*/r|[[Category:Developed by $1]]|1}}<!--JP-->{{#regex:{{{developer|}}}|/.*?JP.*?[>].*?[>](.*?)[<].*/r|[[Category:Developed by $1]]|1}}<!--AUS-->{{#regex:{{{developer|}}}|/.*?AUS.*?[>].*?[>](.*?)[<].*/r|[[Category:Developed by $1]]|1}}}}}}<!--
 
Publisher categories-->{{#if:{{{publisher|}}}|{{#ifeq:{{#regex:{{{publisher|}}}|/>/r|}}||<!--1st-->{{#regex:{{{publisher|}}}|/([^,]*).*/r|[[Category:Published by $1]]|1}}<!--2nd-->{{#regex:{{{publisher|}}}|/[^,]*,([^,]*)(,.*)?/r|[[Category:Published by $1]]|1}}<!--3rd-->{{#regex:{{{publisher|}}}|/(?:[^,]*,){2}([^,]*)(,.*)?/r|[[Category:Published by $1]]|1}}|<!--NA-->{{#regex:{{{publisher|}}}|/.*?NA.*?[>].*?[>](.*?)[<].*/r|[[Category:Published by $1]]|1}}<!--EU-->{{#regex:{{{publisher|}}}|/.*?EU.*?[>].*?[>](.*?)[<].*/r|[[Category:Published by $1]]|1}}<!--JP-->{{#regex:{{{publisher|}}}|/.*?JP.*?[>].*?[>](.*?)[<].*/r|[[Category:Published by $1]]|1}}<!--AUS-->{{#regex:{{{publisher|}}}|/.*?AUS.*?[>].*?[>](.*?)[<].*/r|[[Category:Published by $1]]|1}}}}}}<!--
 
Gameplay mode categories-->{{#ifeq:{{#regex:{{{modes|}}}|/.*(Multiplayer).*/|$1}}|Multiplayer|[[Category:Multiplayer games]]|}}{{#ifeq:{{#regex:{{{modes|}}}|/.*(Co-op).*/|$1}}|Co-op|[[Category:Multiplayer games]][[Category:Co-op games]]|}}{{#ifeq:{{#regex:{{{modes|}}}|/.*(Single-Player).*/|$1}}|Single-Player|[[Category:Single-player games]]{{#ifeq:{{{modes|}}}|Single-Player|[[Category:Single-player only games]]|}}|}}{{#ifeq:{{#regex:{{{modes|}}}|/.*(Single-player).*/|$1}}|Single-player|[[Category:Single-player games]]{{#ifeq:{{{modes|}}}|Single-player|[[Category:Single-player only games]]|}}|}}{{#ifeq:{{#regex:{{{modes|}}}|/.*(Online).*/|$1}}|Online|[[Category:Online games]]|}}<!--
 
Input categories-->{{#ifeq:{{#regex:{{{input|}}}|/.*(Wii Remote).*/|$1}}|Wii Remote|[[Category:Wii Remote input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Nunchuk).*/|$1}}|Nunchuk|[[Category:Nunchuk input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Classic Controller).*/|$1}}|Classic Controller|[[Category:Classic Controller input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Classic controller).*/|$1}}|Classic controller|[[Category:Classic Controller input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(GameCube Controller).*/|$1}}|GameCube Controller|[[Category:GameCube Controller input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Gamecube Controller).*/|$1}}|Gamecube Controller|[[Category:GameCube Controller input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(GameCube controller).*/|$1}}|GameCube controller|[[Category:GameCube Controller input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Gamecube controller).*/|$1}}|Gamecube controller|[[Category:GameCube Controller input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Wii Balance Board).*/|$1}}|Wii Balance Board|[[Category:Wii Balance Board input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Shinkansen Controller).*/|$1}}|Shinkansen Controller|[[Category:Shinkansen Controller input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(uDraw).*/|$1}}|uDraw|[[Category:uDraw Tablet input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Nintendo DS).*/|$1}}|Nintendo DS|[[Category:Nintendo DS input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Game Boy Advance).*/|$1}}|Game Boy Advance|[[Category:Game Boy Advance input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Wii MotionPlus).*/|$1}}|Wii MotionPlus|[[Category:Wii MotionPlus input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(DK Bongos).*/|$1}}|DK Bongos|[[Category:DK Bongos input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Drum).*/|$1}}|Drum|[[Category:Drum input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Guitar).*/|$1}}|Guitar|[[Category:Guitar input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Keyboard).*/|$1}}|Keyboard|[[Category:Keyboard input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Microphone).*/|$1}}|Microphone|[[Category:Microphone input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Dance).*/|$1}}|Dance|[[Category:Dance Pad input supported]]|}}<!--
 
Genre categories (up to 16)-->{{#if:{{{genre|}}}|<!--1st-->{{#regex: {{{genre|}}}|/([^,]*).*/r|[[Category:$1 games]]|1}}<!--2nd-->{{#regex: {{{genre|}}}|/[^,]*,([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--3rd-->{{#regex: {{{genre|}}}|/(?:[^,]*,){2}([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--4th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){3}([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--5th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){4}([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--6th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){5}([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--7th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){6}([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--8th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){7}([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--9th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){8}([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--10th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){9}([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--11th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){10}([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--12th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){11}([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--13th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){12}([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--14th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){13}([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--15th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){14}([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}<!--16th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){15}([^,]*)(,.*)?/r|[[Category:$1 games]]|1}}}}<!--
Series Categories (up to 3)-->{{#if:{{{series|}}}|<!--1st-->{{#regex: {{#regex: {{{series|}}}|/''/|}}|/([^,]*).*/r|[[Category:$1 series]]|1}}<!--2nd-->{{#regex: {{#regex: {{{series|}}}|/''/|}}|/[^,]*,([^,]*)(,.*)?/r|[[Category:$1 series]]|1}}<!--3rd-->{{#regex: {{#regex: {{{series|}}}|/''/|}}|/(?:[^,]*,){2}([^,]*)(,.*)?/r|[[Category:$1 series]]|1}}}}<!--
 
Initial release year category (presumes appropriate date order)-->{{#regex: {{{released|}}}|/.*?(\d\d\d\d).*/r|[[Category:Initial release $1]]|1}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>