Template:Infobox VG/sandbox: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(366 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| class="{{#ifeq:{{{collapsible|}}}|yes|collapsible {{{state|autocollapse}}}}} infobox vevent" style="float:{{{align|right}}}; width:{{{width|300px}}}; font-size:90%; text-align:left;" cellspacing="0" cellpadding="3"
<includeonly><!--
|-
! colspan=2 style="font-size:110%; text-align:center;" class="summary" | ''{{{title|{{PAGENAME}}}}}''
{{#ifeq:{{{show image|}}}|yes|<table style="width: 100%; font-size:90%; background:none;">|{{!}}-}}
{{#if:{{{image|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} {{{image|}}}<br />{{{caption|}}}
}}
{{#ifeq:{{{show image|}}}|yes|</table>}}
{{Alternating rows table section
|es=background:#f0f0f0;
|{{#if:{{{channeltype|}}}| {{!}} '''Type''' {{!!}} {{{channeltype|}}}}}


|{{#if:{{{developer|}}}|{{!}}'''Developer(s)'''{{!!}}
Restore the "three special pagename characters".


{{#ifeq:{{#regex:{{{developer|}}}|/>/r|}}||
{{PAGENAME}} always return the page name with occurrences of the characters ", & and ' replaced with &#34;, &#38; and &#39;, respectively. While this normally doesn't cause any harm, it doesn't play nice with the search links generated by this template (especially for Redmine), so {{PAGENAME}} goes through a series of nested RegExp queries to undo those replacements before actually being processed and stored on {{#var:tl_infobox_autotitle}}.
<!--1st-->{{#regex:{{{developer|}}}|/([^,]*).*/r|[[:Category:Developed by $1|$1]]|1}}<!--2nd-->{{#regex:{{{developer|}}}|/[^,]*,([^,]*)(,.*)?/r|,[[:Category:Developed by $1|$1]]|1}}<!--3rd-->{{#regex:{{{developer|}}}|/(?:[^,]*,){2}([^,]*)(,.*)?/r|,[[:Category:Developed by $1|$1]]|1}}|
<!--NA-->{{#regex:{{{developer|}}}|/.*?NA.*?>.*?>([^\[]*).*/r|[[:Category:Developed by $1|$1]]|1}}<!--EU-->{{#regex:{{{developer|}}}|/.*?EU.*?>.*?>\s*([^/[]*).*/r|[[:Category:Developed by $1|$1]]|1}}<!--JP-->{{#regex:{{{developer|}}}|/.*?JP.*?>.*?>([^/[]*).*/r|[[:Category:Developed by $1|$1]]|1}}<!--AUS-->{{#regex:{{{developer|}}}|/.*?AUS.*?>.*?>([^/[]*).*/r|[[:Category:Developed by $1|$1]]|1}}
}}


}}
-->{{#vardefine:tl_infobox_searchfix|{{#regex:{{#regex:{{#regex:{{#var:tl_lowercase_title|{{PAGENAME}}}}|/&#34;/|"}}|/&#38;/|&}}|/&#39;/|'}}}}<!--


|<!--Should output Publisher category links, but complicated by vgrelease/commas-->{{#if:{{{publisher|}}}|{{!}}'''Publisher(s)'''{{!!}}{{{publisher|}}}}}
Strip console from title


|<!--Series Category Links (up to 3)-->{{#if:{{{series|}}}|{{!}} '''Series''' {{!!}}<!--1st-->{{#regex: {{#regex: {{{series|}}}|/''/|}}|/([^,]*).*/r|[[:Category:$1 series|$1]]|1}}<!--2nd-->{{#regex: {{#regex: {{{series|}}}|/''/|}}|/[^,]*,([^,]*)(,.*)?/r|, [[:Category:$1 series|$1]]|1}}<!--3rd-->{{#regex: {{#regex: {{{series|}}}|/''/|}}|/(?:[^,]*,){2}([^,]*)(,.*)?/r|, [[:Category:$1 series|$1]]|1}}}}
-->{{#vardefine:tl_infobox_autotitle|{{#regex:{{#var:tl_infobox_searchfix}}|/\((Arcade{{!}}C64{{!}}Genesis{{!}}MSX{{!}}NES{{!}}SNES{{!}}SMS{{!}}TurboGrafx-16{{!}}Wii{{!}}GC{{!}}WiiWare{{!}}Triforce{{!}}Metroid Prime\: Trilogy)\)/|}}}}<!--


|{{#if:{{{platform|{{{platforms|}}}}}}| {{!}} '''Platform(s)''' {{!!}} {{{platform|{{{platforms|}}}}}}}}
Store GameIDs in a variable so we can check that GameIDs exist for the page
|{{#if:{{{released|{{{release|}}}}}}| {{!}} {{nowrap|'''Release date(s)'''}} {{!!}} {{{released|{{{release}}}}}}}}


|<!--Genre category links (up to 16)-->{{#if:{{{genre|}}}|{{!}}'''Genre(s)'''{{!!}}<!--1st-->{{#regex: {{{genre|}}}|/([^,]*).*/r|[[:Category:$1 games|$1]]|1}}<!--2nd-->{{#regex: {{{genre|}}}|/[^,]*,([^,]*)(,.*)?/r|, [[:Category:$1 games|$1]]|1}}<!--3rd-->{{#regex: {{{genre|}}}|/(?:[^,]*,){2}([^,]*)(,.*)?/r|, [[:Category:$1 games|$1]]|1}}<!--4th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){3}([^,]*)(,.*)?/r|, [[:Category:$1 games|$1]]|1}}<!--5th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){4}([^,]*)(,.*)?/r|, [[:Category:$1 games|$1]]|1}}<!--6th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){5}([^,]*)(,.*)?/r|, [[:Category:$1 games|$1]]|1}}<!--7th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){6}([^,]*)(,.*)?/r|, [[:Category:$1 games|$1]]|1}}<!--8th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){7}([^,]*)(,.*)?/r|, [[:Category:$1 games|$1]]|1}}<!--9th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){8}([^,]*)(,.*)?/r|, [[:Category:$1 games|$1]]|1}}<!--10th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){9}([^,]*)(,.*)?/r|, [[:Category:$1 games|$1]]|1}}
-->{{#vardefine:tl_infobox_ids|{{#dpl:
<!--11th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){10}([^,]*)(,.*)?/r|, [[:Category:$1 games|$1]]|1}}<!--12th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){11}([^,]*)(,.*)?/r|, [[:Category:$1 games|$1]]|1}}<!--13th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){12}([^,]*)(,.*)?/r|, [[:Category:$1 games|$1]]|1}}<!--14th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){13}([^,]*)(,.*)?/r|, [[:Category:$1 games|$1]]|1}}<!--15th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){14}([^,]*)(,.*)?/r|, [[:Category:$1 games|$1]]|1}}<!--16th-->{{#regex: {{{genre|}}}|/(?:[^,]*,){15}([^,]*)(,.*)?/r|, [[:Category:$1 games|$1]]|1}}}}
|mode=inline
|inlinetext=<nowiki>, </nowiki>
|linksto={{FULLPAGENAME}}
|redirects=only
|titlematch=______
|notcategory=Test Sharing GameID
|category=Unofficial GameID
}}}}<!--


|<!--Gameplay mode category links-->{{#if:{{{mode|{{{modes|}}}}}}|{{!}}'''Mode(s)'''{{!!}}{{#ifeq:{{#regex:{{{modes|}}}|/.*[Ss]ingle.*/|Single-player}}|Single-player|[[:Category:Single-player games|Single-player]]|}}{{#ifeq:{{#regex:{{{modes|}}}|/.*[Mm]ultiplayer.*/|Multiplayer}}|Multiplayer|{{#ifeq:{{#regex:{{{modes|}}}|/.*[Ss]ingle.*/|Prior}}|Prior|, |}} [[:Category:Multiplayer games|Multiplayer]]{{#regex:{{{modes|}}}|/.*[Mm]ultiplayer([^,]*).*/|$1}}|}}{{#ifeq:{{#regex:{{{modes|}}}|/.*[Cc]o-op.*/|Co-op}}|Co-op|{{#ifeq:{{#regex:{{{modes|}}}|/.*([Ss]ingle{{!}}[Mm]ultiplayer).*/|Prior}}|Prior|, |}} [[:Category:Co-op games|Co-op]]{{#regex:{{{modes|}}}|/.*[Cc]o-op([^,]*).*/|$1}}|}}{{#ifeq:{{#regex:{{{modes|}}}|/.*[Oo]nline.*/|Online}}|Online|{{#ifeq:{{#regex:{{{modes|}}}|/.*([Ss]ingle{{!}}[Mm]ultiplayer{{!}}[Cc]o-op).*/|Prior}}|Prior|, |}} [[:Category:Online games|Online]]{{#regex:{{{modes|}}}|/.*[Oo]nline([^,]*).*/|$1}}|}}}}
Get GameIDs again, this time in a format usable for searching the issue tracker


|<!--Should output category links here, but complicated by + syntax-->{{#if:{{{input|}}}| {{!}} '''Input methods''' {{!!}} {{{input|}}}}}
-->{{#vardefine:tl_infobox_searchids|{{#dpl:
|{{!}} '''Compatibility''' {{!!}} {{ratings|{{#if:{{{nonerror|}}}|nonerror=true{{!}}|}}{{PAGENAME}}}}
|mode=userformat
|{{!}} '''See also...''' {{!!}}
|format=,%TITLE%,+,
{{#if:{{#regex:{{PAGENAME}}|/.*(\)).*/|}}||{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\((?!Arcade).+\)/|$1}} (Arcade)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Arcade)|Arcade Version]]<br />
|linksto={{FULLPAGENAME}}
}}{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\((?!C64).+\)/|$1}} (C64)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (C64)|C64 Version]]<br />
|redirects=only
}}{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\((?!Genesis).+\)/|$1}} (Genesis)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Genesis)|Genesis Version]]<br />
|titlematch=______
}}{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\((?!MSX).+\)/|$1}} (MSX)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (MSX)|MSX Version]]<br />
|notcategory=Not GameID
}}{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\((?!NES).+\)/|$1}} (NES)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (NES)|NES Version]]<br />
}}}}<!--
}}{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\((?!SNES).+\)/|$1}} (SNES)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (SNES)|SNES Version]]<br />
}}{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\((?!SMS).+\)/|$1}} (SMS)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (SMS)|SMS Version]]<br />
}}{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\((?!TurboGrafx-16).+\)/|$1}} (TurboGrafx-16)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (TurboGrafx-16)|TurboGrafx-16 Version]]<br />
}}{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\((?!Wii).+\)/|$1}} (Wii)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Wii)|Wii Version]]<br />
}}{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\((?!GC).+\)/|$1}} (GC)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (GC)|GameCube Version]]<br />
}}{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\((?!WiiWare).+\)/|$1}} (WiiWare)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (WiiWare)|WiiWare Version]]<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 />}}}}
{{#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 />
{{#if:{{{wikipedia|}}}|[[wikipedia:{{{wikipedia|}}}|Wikipedia page]]|[[wikipedia:{{PAGENAME}}|Search Wikipedia]]}}}}
<!--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>
-->
|}<!--


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]]|}}<!--
Check for shared GameIDs


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}}}}}}<!--
-->{{#vardefine:tl_infobox_shared_ids|{{#dpl:
|mode=inline
|inlinetext=<nowiki>, </nowiki>
|linksto={{FULLPAGENAME}}
|redirects=include
|titlematch=______
|category=Test Sharing GameID
|category=Unofficial GameID
}}}}{{#if:{{#var:tl_infobox_shared_ids}}|{{#vardefine:tl_infobox_ids|{{#if:{{#var:tl_infobox_ids}}|{{#var:tl_infobox_ids}}<nowiki>, </nowiki>}}{{#var:tl_infobox_shared_ids}}}}}}<!--


Publisher categories: regional ones are outputting as text rather than as categories for some reason, seems to have something to do with the replacement used.-->{{#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}}|<!--NA-->{{#regex:{{{publisher|}}}|/.*?NA.*?>.*?>\s*([^\[]*).*/r|[[Category:Published by $1]]|1}}<!--EU-->{{#regex:{{{publisher|}}}|/.*?EU.*?>.*?>\s*([^\[]*).*/r|[[Category:Published by $1]]|1}}<!--JP-->{{#regex:{{{publisher|}}}|/.*?JP.*?>.*?>\s*([^\[]*).*/r|[[Category:Published by $1]]|1}}<!--AUS-->{{#regex:{{{publisher|}}}|/.*?AUS.*?>.*?>\s*([^\[]*).*/r|[[Category:Published by $1]]|1}}}}}}<!--
Wikitable


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]]|}}<!--
-->{| class="{{#ifeq:{{{collapsible|}}}|yes|collapsible {{{state|autocollapse}}}}} infobox vevent" style="float:{{{align|right}}}; width:{{{width|300px}}}; font-size:90%; text-align:left;" cellspacing="0" cellpadding="3"
|-
! colspan=2 style="font-size:110%; text-align:center;" class="summary" | ''{{#tag:nowiki|{{#var:tl_infobox_autotitle|{{PAGENAME}}}}}}''<!-- nowiki tag is needed here for Chindōchō!! Pole no Daibōken -->
{{#ifeq:{{{show image|}}}|yes|<table style="width:100%;font-size:90%; background:none;">|{{!}}-}}
{{#if:{{{image|}}}|
{{!}} colspan="2" style="text-align:center;" {{!}} {{{image|}}}<br />{{{caption|}}}
}}
{{#ifeq:{{{show image|}}}|yes|</table>}}
{{Alternating rows table section
|es=background:#f0f0f0;
|{{#if:{{{channeltype|}}}| {{!}} '''Type''' {{!!}} {{{channeltype|}}}}}<!--
 
Make sure to update Template:Vgrelease along with the developer and publisher regexes
 
-->
|{{#if:{{{developer|}}}|{{!}}'''[[:Category:Developers|Developer(s)]]'''{{!!}}{{#ifeq:{{#regex:{{{developer|}}}|/>/rs|}}||
<!--List-->{{#regex:{{{developer|}}}|/([^,]+)(,? ?)/rs|[[:Category:$1 (Developer)|$1]][[Category:$1 (Developer)]]$2}}|
<!--Regional List-->{{#regex:{{{developer|}}}|/({{#regex:{{{developer|}}}|/.*?(?:JP{{!}}NA{{!}}CA{{!}}EU{{!}}FR{{!}}DE{{!}}IT{{!}}NL{{!}}SC{{!}}SP{{!}}AUS{{!}}RU{{!}}KO{{!}}TW{{!}}SA).*?>.*?>\s*([^\[{{!}}<]*).*?>/rs|$1{{!}}}}#NOMATCH#)/rs|[[:Category:$1 (Developer)|$1]][[Category:$1 (Developer)]]}}}}
}}
|{{#if:{{{publisher|}}}|{{!}}'''[[:Category:Publishers|Publisher(s)]]'''{{!!}}{{#ifeq:{{#regex:{{{publisher|}}}|/>/rs|}}||
<!--List-->{{#regex:{{{publisher|}}}|/([^,]+)(,? ?)/rs|[[:Category:$1 (Publisher)|$1]][[Category:$1 (Publisher)]]$2}}|
<!--Regional List-->{{#regex:{{{publisher|}}}|/({{#regex:{{{publisher|}}}|/.*?(?:JP{{!}}NA{{!}}CA{{!}}EU{{!}}FR{{!}}DE{{!}}IT{{!}}NL{{!}}SC{{!}}SP{{!}}AUS{{!}}RU{{!}}KO{{!}}TW{{!}}SA).*?>.*?>\s*([^\[{{!}}<]*).*?>/rs|$1{{!}}}}#NOMATCH#)/rs|[[:Category:$1 (Publisher)|$1]][[Category:$1 (Publisher)]]}}}}
}}
|{{#if:{{{series|}}}|{{!}} '''[[:Category:Series|Series]]''' {{!!}}{{#vardefine:tl_infobox_series|{{#regex:{{{series|}}}|/''/|}}}}{{#vardefine:tl_infobox_seriescheck|{{#regex:{{#var:tl_infobox_series}}|/^\s*([^,]*).*/|$1}}}}{{#while:|{{#var:tl_infobox_seriescheck}}|{{#if:{{#var:tl_infobox_serieshaslooped}}|, <nowiki/>|{{#vardefine:tl_infobox_serieshaslooped|true}}}}''[[:Category:{{#var:tl_infobox_seriescheck}} (Series)|{{#var:tl_infobox_seriescheck}}]]''[[Category:{{#var:tl_infobox_seriescheck}} (Series)]]{{#ifexist:Category:{{#var:tl_infobox_seriescheck}} (Series)||[[Category:Pages with redlink series]]}}{{#vardefine:tl_infobox_series|{{#regex:{{#var:tl_infobox_series}}|/^\s*([^,]*)(,? ?)/|}}}}{{#vardefine:tl_infobox_seriescheck|{{#regex:{{#var:tl_infobox_series}}|/^\s*([^,]*).*/|$1}}}}}}{{#if:{{#var:tl_infobox_serieshaslooped}}||{{{category|[[Category:Game pages with misformatted series]]}}}}}}}
|{{#if:{{{system|}}}|{{!}} '''[[Virtual Console|Original system]]''' {{!!}} [[{{{system|}}}]]}}
|{{#ifpageincat:Platforms||{{!}} '''[[:Category:Platforms|Platform(s)]]''' {{!!}}{{#ifpageincat:Virtual Console games|[[Virtual Console]]{{#ifpageincat:NES games|, [[NES]]|{{#ifpageincat:TurboGrafx-16 games|, [[TurboGrafx-16]]|{{#ifpageincat:SNES games|, [[SNES]]|{{#ifpageincat:Sega Genesis games|, [[Sega Genesis]]|{{#ifpageincat:Arcade games|, [[Arcade]]|{{#ifpageincat:Neo Geo games|, [[Neo Geo]]|{{#ifpageincat:Nintendo 64 games|, [[Nintendo 64]]|{{#ifpageincat:Commodore 64 games|, [[Commodore 64]]|{{#ifpageincat:Sega Master System games|, [[Sega Master System]]|{{#ifpageincat:MSX games|, [[MSX]]|{{{category|[[Category:Pages missing platform category]]}}}}}}}}}}}}}}}}}}}}}}}|{{#ifpageincat:Wii games|[[Wii]]|{{#ifpageincat:GameCube games|[[GameCube]]|{{#ifpageincat:WiiWare games|[[WiiWare]]|{{#ifpageincat:Wii Channels|[[Wii Channels]]|{{#ifpageincat:Triforce games|[[Triforce]]|{{#ifpageincat:Wii U vWii|[[:Category:Wii U vWii|Wii U vWii]]|{{{category|[[Category:Pages missing platform category]]}}}}}}}}}}}}}}}}}}}
|{{#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|[[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|[[Category:Game pages without genre]]}}}}}
|{{#if:{{{mode|{{{modes|}}}}}}|{{!}}'''[[:Category:Game mode|Mode(s)]]'''{{!!}}{{#regex:{{#regex:{{{modes|}}}|/(Single-player{{!}}Multi(-)?player{{!}}Co-op{{!}}LAN{{!}}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:{{{genre|}}}|/Utility/}}||{{{category|[[Category:Game pages without modes of play]]}}}}}}}
|{{#if:{{{input|}}}|{{!}}'''[[:Category:Input supported|Input methods]]'''{{!!}}{{#regex:{{{input|}}}|/(Wii Remote{{!}}Nunchu(c)?k{{!}}Dance Pad{{!}}Wii Balance Board{{!}}USB Keyboard{{!}}Skylander Portal{{!}}Active Heart Rate Monitor{{!}}Cyberbike{{!}}Ubisoft Camera{{!}}Nintendo DS{{!}}Game( )?Boy Advance{{!}}uDraw GameTablet{{!}}Drawsome Tablet{{!}}Wii MotionPlus{{!}}TaTaCon{{!}}DK Bongos{{!}}(GameCube{{!}}Classic{{!}}Shinkansen{{!}}Drum{{!}}Guitar{{!}}Keyboard{{!}}Turntable{{!}}Ride{{!}}Arcade) Controller{{!}}Wii Speak{{!}}USB Microphone{{!}}GameCube Microphone{{!}}Microphone)/rsi|[[:Category:$1 (Input supported)|$1]][[Category:$1 (Input supported)]]$2}}|{{{category|[[Category:Game pages without possible inputs]]}}}}}
|{{#if:{{#var:tl_infobox_ids}}|{{!}} '''[[GameIDs]]''' {{!!}} {{#var:tl_infobox_ids}}}}
|{{!}} '''See also...''' {{!!}}
{{#ifeq:{{#var:tl_infobox_autotitle}}|{{#var:tl_infobox_searchfix}}||{{#ifexist:{{#var:tl_infobox_autotitle}} (Arcade)|{{#ifeq:{{#var:tl_infobox_autotitle}} (Arcade)|{{#var:tl_infobox_searchfix}}||[[{{#var:tl_infobox_autotitle}} (Arcade)|Arcade Version]]<br />
}}}}{{#ifexist:{{#var:tl_infobox_autotitle}} (C64)|{{#ifeq:{{#var:tl_infobox_autotitle}} (C64)|{{#var:tl_infobox_searchfix}}||[[{{#var:tl_infobox_autotitle}} (C64)|C64 Version]]<br />
}}}}{{#ifexist:{{#var:tl_infobox_autotitle}} (Genesis)|{{#ifeq:{{#var:tl_infobox_autotitle}} (Genesis)|{{#var:tl_infobox_searchfix}}||[[{{#var:tl_infobox_autotitle}} (Genesis)|Genesis Version]]<br />
}}}}{{#ifexist:{{#var:tl_infobox_autotitle}} (MSX)|{{#ifeq:{{#var:tl_infobox_autotitle}} (MSX)|{{#var:tl_infobox_searchfix}}||[[{{#var:tl_infobox_autotitle}} (MSX)|MSX Version]]<br />
}}}}{{#ifexist:{{#var:tl_infobox_autotitle}} (NES)|{{#ifeq:{{#var:tl_infobox_autotitle}} (NES)|{{#var:tl_infobox_searchfix}}||[[{{#var:tl_infobox_autotitle}} (NES)|NES Version]]<br />
}}}}{{#ifexist:{{#var:tl_infobox_autotitle}} (SNES)|{{#ifeq:{{#var:tl_infobox_autotitle}} (SNES)|{{#var:tl_infobox_searchfix}}||[[{{#var:tl_infobox_autotitle}} (SNES)|SNES Version]]<br />
}}}}{{#ifexist:{{#var:tl_infobox_autotitle}} (SMS)|{{#ifeq:{{#var:tl_infobox_autotitle}} (SMS)|{{#var:tl_infobox_searchfix}}||[[{{#var:tl_infobox_autotitle}} (SMS)|SMS Version]]<br />
}}}}{{#ifexist:{{#var:tl_infobox_autotitle}} (TurboGrafx-16)|{{#ifeq:{{#var:tl_infobox_autotitle}} (TurboGrafx-16)|{{#var:tl_infobox_searchfix}}||[[{{#var:tl_infobox_autotitle}} (TurboGrafx-16)|TurboGrafx-16 Version]]<br />
}}}}{{#ifexist:{{#var:tl_infobox_autotitle}} (Triforce)|{{#ifeq:{{#var:tl_infobox_autotitle}} (Triforce)|{{#var:tl_infobox_searchfix}}||[[{{#var:tl_infobox_autotitle}} (Triforce)|Triforce Version]]<br />
}}}}{{#ifexist:{{#var:tl_infobox_autotitle}} (GC)|{{#ifeq:{{#var:tl_infobox_autotitle}} (GC)|{{#var:tl_infobox_searchfix}}||[[{{#var:tl_infobox_autotitle}} (GC)|GameCube Version]]<br />
}}}}{{#ifexist:{{#var:tl_infobox_autotitle}} (WiiWare)|{{#ifeq:{{#var:tl_infobox_autotitle}} (WiiWare)|{{#var:tl_infobox_searchfix}}||[[{{#var:tl_infobox_autotitle}} (WiiWare)|WiiWare Version]]<br />
}}}}{{#ifexist:{{#var:tl_infobox_autotitle}} (Wii)|{{#ifeq:{{#var:tl_infobox_autotitle}} (Wii)|{{#var:tl_infobox_searchfix}}||[[{{#var:tl_infobox_autotitle}} (Wii)|Wii Version]]<br />
}}}}{{#ifexist:{{#var:tl_infobox_autotitle}} (Metroid Prime: Trilogy)|{{#ifeq:{{#var:tl_infobox_autotitle}} (Metroid Prime: Trilogy)|{{#var:tl_infobox_searchfix}}||[[{{#var:tl_infobox_autotitle}} (Metroid Prime: Trilogy)|Trilogy Version]]<br />
}}}}}}
{{#if:{{{altsys|}}}|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} ({{{altsys|}}})|{{#ifeq:{{{altsys|}}}|GC|GameCube|{{{altsys|}}}}} Version]]<br />}}
{{#if:{{{forumlink|}}}|[{{{forumlink|}}} Dolphin Forum thread]|[https://www.google.com/search?q=site:forums.dolphin-emu.org+{{urlencode:{{#var:tl_infobox_autotitle}}|QUERY}} Search Dolphin Forums]{{{category|[[Category:Game pages without Dolphin forum link]]}}}}}<br />
{{#if:{{#var:tl_infobox_searchids}}|[https://bugs.dolphin-emu.org/projects/emulator/search?q={{urlencode:"{{#var:tl_infobox_autotitle}}"|QUERY}}+{{#var:tl_infobox_searchids}}&all_words=&open_issues=1 Open Issues]|[https://bugs.dolphin-emu.org/projects/emulator/search?q={{urlencode:{{#var:tl_infobox_autotitle}}|QUERY}}&open_issues=1 Open Issues]}}<br />
{{#if:||[https://www.google.com/search?q={{urlencode:{{#var:tl_infobox_autotitle}}|QUERY}} Search Google]<br />}}
{{#if:{{{wikipedia|}}}|[[wikipedia:{{{wikipedia|}}}|Wikipedia page]]|[[wikipedia:{{#var:tl_infobox_autotitle}}|Search Wikipedia]]}}<br />
{{#incat:Ships with debugging symbols|[[Ships with Debugging Symbols|Debug Symbol Files]]}}
}}
|}<!--


Input categories-->
Static variables to prevent sandboxed pages from appearing in any of the quality categories.
{{#ifeq:{{#regex:{{{input|}}}|/.*Wii [Rr]emote.*/|Found}}|Found|[[Category:Wii Remote input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*Nunchuk.*/|Found}}|Found|[[Category:Nunchuk input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*Classic [Cc]ontroller.*/|Found}}|Found|[[Category:Classic Controller input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*Game[Cc]ube [Cc]ontroller.*/|Found}}|Found|[[Category:GameCube Controller input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*Wii Balance Board.*/|Found}}|Found|[[Category:Wii Balance Board input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*Shinkansen.*/|Found}}|Found|[[Category:Shinkansen Controller input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*[uU][Dd]raw.*/|Found}}|Found|[[Category:uDraw Tablet input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*Nintendo DS.*/|Found}}|Nintendo DS|[[Category:Nintendo DS input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*Game[ ]?[Bb]oy Advance.*/|Found}}|Found|[[Category:Game Boy Advance input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*Wii Motion[Pp]lus.*/|Found}}|Found|[[Category:Wii MotionPlus input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*DK Bongos.*/|Found}}|Found|[[Category:DK Bongos input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*Drum.*/|Found}}|Found|[[Category:Drum input supported]]|}}
{{#ifeq:{{#regex:{{{input|}}}|/.*Guitar.*/|$1}}|Found|[[Category:Guitar input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*Keyboard.*/|$1}}|Found|[[Category:Keyboard input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*Microphone.*/|$1}}|Found|[[Category:Microphone input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*Dance.*/|$1}}|Found|[[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}}}}<!--
-->{{#vardefine:tl_infobox_ids|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}}}}<!--
Data Quality Categories


Initial release year category (presumes appropriate date order)-->{{#regex: {{{released|}}}|/.*?(\d\d\d\d).*/r|[[Category:Initial release $1]]|1}}</includeonly>
-->{{#if:{{#var:tl_infobox_ids}}||[[Category:Pages with no GameIDs]]}}{{#if:{{{released|}}}|{{#if:{{#regex:{{{released|}}}|/Category/}}||[[Category:Pages with regionless release dates]]}}}}{{#ifeq:{{#regex:{{{input|}}}|/(((Wii Remote( \+ Nunchuk)?{{!}}Wii MotionPlus( \+ Nunchuk)?){{!}}Nunchuk{{!}}Nintendo DS{{!}}Active Heart Rate Monitor{{!}}Cyberbike{{!}}Ubisoft Camera{{!}}USB Keyboard{{!}}Skylander Portal{{!}}Game Boy Advance{{!}}Dance Pad{{!}}DK Bongos{{!}}TaTaCon{{!}}Wii Speak{{!}}USB Microphone{{!}}GameCube Microphone{{!}}Microphone{{!}}uDraw GameTablet{{!}}Drawsome Tablet{{!}}Wii Balance Board{{!}}(Classic{{!}}GameCube{{!}}Drum{{!}}Guitar{{!}}Keyboard{{!}}Shinkansen{{!}}Turntable{{!}}Ride{{!}}Arcade) Controller)(, {{!}}$))*/rs}}|{{{input|}}}||[[Category:Pages with misformatted inputs]]}}{{#ifeq:{{#regex:{{{modes|}}}|/((Single-player{{!}}(Multiplayer{{!}}Co-op{{!}}Online{{!}}LAN) \((\d{1,2}{{!!}}\*)\))(, {{!}}$))*/rs}}|{{{modes|}}}||[[Category:Pages with misformatted modes of play]]}}</includeonly><noinclude>
{{documentation|Template:Infobox VG/sandbox/doc}}
</noinclude>

Latest revision as of 04:33, 12 February 2022