Template:Infobox VG: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
No edit summary
(Properly redirect Wikipedia links to HTTPS)
 
(270 intermediate revisions by 7 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><!--
 
Restore the "three special pagename characters".
 
{{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}}.
 
-->{{#vardefine:tl_infobox_searchfix|{{#regex:{{#regex:{{#regex:{{#var:tl_lowercase_title|{{PAGENAME}}}}|/&#34;/|"}}|/&#38;/|&}}|/&#39;/|'}}}}<!--
 
Strip console from title
 
-->{{#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)\)/|}}}}<!--
 
Store GameIDs in a variable so we can check that GameIDs exist for the page
 
-->{{#vardefine:tl_infobox_ids|{{#dpl:
|mode=inline
|listattr= style= "display: inline;"
|inlinetext=<nowiki>, </nowiki>
|linksto={{FULLPAGENAME}}
|redirects=only
|titlematch=______
|notcategory=Shared GameID
|notcategory=Not GameID
}}}}<!--
 
Get GameIDs again, this time in a format usable for searching the issue tracker
 
-->{{#vardefine:tl_infobox_searchids|{{#dpl:
|mode=userformat
|format=,%TITLE%,+,
|linksto={{FULLPAGENAME}}
|redirects=only
|titlematch=______
|notcategory=Not GameID
}}}}<!--
 
Check for shared GameIDs
 
-->{{#vardefine:tl_infobox_shared_ids|{{#dpl:
|mode=inline
|listattr= style= "display: inline;"
|inlinetext=<nowiki>, </nowiki>
|linksto={{FULLPAGENAME}}
|redirects=include
|titlematch=______
|category=Shared 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}}}}}}<!--
 
Wikitable
 
-->{| 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" | ''{{{title|{{PAGENAME}}}}}''
! 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;">|{{!}}-}}
{{#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" style="text-align:center;" {{!}} {{{image|}}}<br />{{{caption|}}}
}}
}}
{{#ifeq:{{{show image|}}}|yes|</table>}}
{{#ifeq:{{{show image|}}}|yes|</table>}}
{{Alternating rows table section
{{Alternating rows table section
|es=background:#f0f0f0;
|es=background:#f0f0f0;
|{{#if:{{{channeltype|}}}| {{!}} '''Type''' {{!!}} {{{channeltype|}}}}}
|{{#if:{{{channeltype|}}}| {{!}} '''Type''' {{!!}} {{{channeltype|}}}}}<!--
|{{#if:{{{developer|}}}|{{!}}'''[[:Category:Developed by|Developer(s)]]'''{{!!}}{{#ifeq:{{#regex:{{{developer|}}}|/>/rs|}}||
 
<!--List-->{{#regex:{{{developer|}}}|/([^,]+)(,? ?)/rs|[[:Category:Developed by $1|$1]][[Category:Developed by $1|$1]]$2}}|
Make sure to update Template:Vgrelease along with the developer and publisher regexes
<!--Regional List-->{{#regex:{{{publisher|}}}|/({{#regex:{{{publisher|}}}|/.*?(?:NA{{!}}JP{{!}}EU{{!}}AUS{{!}}KO{{!}}RUS).*?>.*?>\s*([^\[]*).*?>/rs|$1{{!}}}}#NOMATCH#)/rs|[[:Category:Developed by $1|$1]][[Category:Developed by $1|$1]]}}}}
 
-->
|{{#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:Published by|Publisher(s)]]'''{{!!}}{{#ifeq:{{#regex:{{{publisher|}}}|/>/rs|}}||
|{{#if:{{{publisher|}}}|{{!}}'''[[:Category:Publishers|Publisher(s)]]'''{{!!}}{{#ifeq:{{#regex:{{{publisher|}}}|/>/rs|}}||
<!--List-->{{#regex:{{{publisher|}}}|/([^,]+)(,? ?)/rs|[[:Category:Published by $1|$1]][[Category:Published by $1|$1]]$2}}|
<!--List-->{{#regex:{{{publisher|}}}|/([^,]+)(,? ?)/rs|[[:Category:$1 (Publisher)|$1]][[Category:$1 (Publisher)]]$2}}|
<!--Regional List-->{{#regex:{{{publisher|}}}|/({{#regex:{{{publisher|}}}|/.*?(?:NA{{!}}JP{{!}}EU{{!}}AUS{{!}}KO{{!}}RUS).*?>.*?>\s*([^\[]*).*?>/rs|$1{{!}}}}#NOMATCH#)/rs|[[:Category:Published by $1|$1]][[Category:Published by $1|$1]]}}}}
<!--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]]''' {{!!}}{{#regex: {{#regex: {{{series|}}}|/''/|}}|/([^,]+)(,? ?)/rs|[[:Category:$1 series|$1]][[Category:$1 series|$1]]$2}}}}
|{{#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:Game pages with misformatted series]]}}}}
|{{#if:{{{platform|{{{platforms|}}}}}}| {{!}} '''[[:Category:Platforms|Platform(s)]]''' {{!!}} {{{platform|{{{platforms|}}}}}}}}
|{{#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: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: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:Initial release $1]]|1}}}}
|{{#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 games|$1]][[Category:$1 games|$1]]$2}}}}
|{{#if:{{{genre|}}}|{{!}}'''[[:Category:Genres|Genre(s)]]'''{{!!}}{{#regex:{{#regex:{{{genre|}}}|/''/|}}|/([^,]+)(,? ?)/rs|[[:Category:$1 (Genre)|$1]][[Category:$1 (Genre)]]$2}}|[[Category:Game pages without genre]]}}
|{{#if:{{{mode|{{{modes|}}}}}}|{{!}}'''[["Category:Game modes|Mode(s)]]'''{{!!}}{{#regex: {{{modes|}}}|/(Single-player{{!}}Multi(-)?player{{!}}Co-op{{!}}Online)/rsi|[[:Category:$1 games|$1]][[Category:$1 games|$1]]$2}}}}
|{{#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:Game pages without modes of play]]}}}}
|{{#if:{{{input|}}}|{{!}}'''[[:Category:Input supported|Input methods]]'''{{!!}}{{#regex: {{{input|}}}|/(Wii Remote{{!}}Nunchu(c)?k{{!}}GameCube Controller{{!}}Classic Controller{{!}}Dance Pad{{!}}Wii Balance Board{{!}}Shinkansen Controller{{!}}Nintendo DS{{!}}Game( )?Boy Advance{{!}}uDraw GameTablet{{!}}Wii MotionPlus{{!}}DK Bongos{{!}}Drum{{!}}Guitar{{!}}Keyboard{{!}}Microphone)/rsi|[[:Category:$1 input supported|$1]][[Category:$1 input supported|$1]]$2}}}}
|{{#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{{!}}Speed Force Wireless{{!}}Headbanger Chat Headset)/rsi|[[:Category:$1 (Input supported)|$1]][[Category:$1 (Input supported)]]$2}}|[[Category:Game pages without possible inputs]]}}
|{{!}} '''Compatibility''' {{!!}} {{ratings|{{#if:{{{nonerror|}}}|nonerror=true{{!}}|}}{{PAGENAME}}}}
|{{#ifpageincat:Disambiguation pages||{{!}} '''[[:Category:Rating|Compatibility]]''' {{!!}}{{ratings|{{#var:tl_lowercase_title|{{PAGENAME}}}}}}{{#regex:{{ratings|{{#var:tl_lowercase_title|{{PAGENAME}}}}}}|/.*?Stars(\d)\.png.*/|[[Category:$1 stars (Rating)]]<br /><span style="display:inline-block;width:118px;text-align:center;font-size:8pt;font-weight:bold;color:#666;">{{#switch:{{#regex:{{ratings|{{#var:tl_lowercase_title|{{PAGENAME}}}}}}|/.*?Stars(\d)\.png.*/|$1}}|=Unknown|0=Unknown|1=Broken|2=Intro/Menu|3=Starts|4=Playable|5=Perfect|$1}}</span>}}}}
|{{#if:{{#var:tl_infobox_ids}}|{{!}} '''[[GameIDs]]''' {{!!}} {{#var:tl_infobox_ids}}}}
|{{!}} '''See also...''' {{!!}}
|{{!}} '''See also...''' {{!!}}
{{#if:{{#regex:{{PAGENAME}}|/.*(\)).*/|}}||{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\((?!Arcade).+\)/|$1}} (Arcade)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Arcade)|Arcade Version]]<br />
{{#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:{{#regex:{{PAGENAME}}|/(.+)\((?!C64).+\)/|$1}} (C64)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (C64)|C64 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:{{#regex:{{PAGENAME}}|/(.+)\((?!Genesis).+\)/|$1}} (Genesis)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Genesis)|Genesis 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:{{#regex:{{PAGENAME}}|/(.+)\((?!MSX).+\)/|$1}} (MSX)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (MSX)|MSX 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:{{#regex:{{PAGENAME}}|/(.+)\((?!NES).+\)/|$1}} (NES)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (NES)|NES 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:{{#regex:{{PAGENAME}}|/(.+)\((?!SNES).+\)/|$1}} (SNES)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (SNES)|SNES 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:{{#regex:{{PAGENAME}}|/(.+)\((?!SMS).+\)/|$1}} (SMS)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (SMS)|SMS 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:{{#regex:{{PAGENAME}}|/(.+)\((?!TurboGrafx-16).+\)/|$1}} (TurboGrafx-16)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (TurboGrafx-16)|TurboGrafx-16 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:{{#regex:{{PAGENAME}}|/(.+)\((?!Wii).+\)/|$1}} (Wii)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Wii)|Wii 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:{{#regex:{{PAGENAME}}|/(.+)\((?!GC).+\)/|$1}} (GC)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (GC)|GameCube 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:{{#regex:{{PAGENAME}}|/(.+)\((?!WiiWare).+\)/|$1}} (WiiWare)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (WiiWare)|WiiWare 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 />
}}}}{{#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 />}}}}
}}}}{{#ifexist:{{#var:tl_infobox_autotitle}} (Wii)|{{#ifeq:{{#var:tl_infobox_autotitle}} (Wii)|{{#var:tl_infobox_searchfix}}||[[{{#var:tl_infobox_autotitle}} (Wii)|Wii Version]]<br />
{{#if:{{{forumlink|}}}|[{{{forumlink|}}} Dolphin Forum thread]|[[google:{{#regex:{{PAGENAME}}|/\s/|+}}+site:forums.dolphin-emu.org|Search Dolphin Forums]]}}<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 />
[[google:{{#regex:{{PAGENAME}}|/\s/|+}}|Search Google]]<br />
}}}}}}
{{#if:{{{wikipedia|}}}|[[wikipedia:{{{wikipedia|}}}|Wikipedia page]]|[[wikipedia:{{PAGENAME}}|Search Wikipedia]]}}}}
{{#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:Game pages without Dolphin forum link]]}}<br />
|}<!--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|}}}|/''/rs||1}}||[[Category:Game pages with non-italic series]]}}}}{{#ifeq:{{#regex:{{{input|}}}|/.*(game{{!}}cube{{!}}controller{{!}}wii{{!}}balance{{!}}board{{!}}nunchuk).*/|Found}}|Found|[[Category:Game page with improperly capitalized inputs]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*(Wiimote).*/|$1}}|Wiimote|[[Category:Game page with Wiimote rather than Wii Remote]]|}}</includeonly><noinclude>
{{#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|}}}|[https://en.wikipedia.org/wiki/{{{wikipedia|}}} Wikipedia page]|[https://en.wikipedia.org/wiki/{{#regex:{{#var:tl_infobox_autotitle}}|/\s/|_}} Search Wikipedia]}}<br />
{{#incat:Ships with debugging symbols|[[Ships with Debugging Symbols|Debug Symbol Files]]}}
}}
|}<!--
 
Data Quality Categories
 
-->{{#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{{!}}Speed Force Wireless{{!}}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}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 02:10, 19 March 2024

[edit] [purge] Template documentation

About

Infobox VG is used on all game pages to display a title's compatibility rating along with various other information, including the title's GameIDs, release dates, and box art. Categories are also generated depending on the parameters to indicate information about the title, and flag parts of the infobox that may need improvement. When creating a new page, the infobox should be fleshed out with as much release information as possible.

Example

The following parameters are considered required on all pages:

{{Infobox VG
|image     =
|developer =
|publisher =
|released  =
|genre     =
|modes     =
|input     =
|forumlink =
}}

Produces

Infobox VG
Platform(s)
Compatibility Stars0.pngNote.svg.png
Unknown
See also...

Search Dolphin Forums
Open Issues
Search Google
Search Wikipedia

Parameters

The following are the only valid parameters accepted by this template.

  • |image= Box cover art. Supply only with [[File:{{SUBPAGENAME}}.jpg|300px]]. The image size tag is optional, used to resize when the image is not 300px (or 160px for WiiWare titles, 350px for Wii Channels).
  • |channeltype= Used only in Wii Channel pages. Valid value to use: Downloadable, Downloadable (third party), Pre-installed, or Game Channel.
  • |developer= May be supplied with {{vgrelease|}} template to list developers by region. Further details on how to use vgrelease are available at Template:vgrelease.
  • |publisher= May be supplied with {{vgrelease|}} template to list publishers by region. Further details on how to use vgrelease are available at Template:vgrelease.
  • |series= Used only for games that are part of a series with more than one title playable in Dolphin. Input there will be italicized automatically.
  • |released= Supply only with {{vgrelease|}} template(s). Further details on how to use vgrelease are available at Template:vgrelease.
  • |genre=
  • |modes= Valid modes of play: Single-player, Multiplayer (#), Co-op (#), Online (#). Separate modes with commas. Parentheses are required. "Online" here means online multiplayer, not online functionality.
  • |input= Valid controller inputs: Active Heart Rate Monitor, Arcade Controller, Classic Controller, Cyberbike, Dance Pad, DK Bongos, TaTaCon, Drawsome Tablet, Drum Controller, Game Boy Advance, GameCube Controller, Guitar Controller, Keyboard Controller, Microphone, Nintendo DS, Nunchuk, Ride Controller, Shinkansen Controller, Skylander Portal, Speed Force Wireless, Turntable Controller, uDraw GameTablet, USB Keyboard, Wii Balance Board, Wii MotionPlus, Wii MotionPlus + Nunchuk, Wii Remote, Wii Remote + Nunchuk, Wii Speak, Your Shape Camera. Separate controller inputs with commas.
  • |forumlink= Supply only with Dolphin forum page URL. As the forums have restrictions on creating per-game threads, this can only be created and added to the infobox by users with privileges on the forums.
  • |wikipedia= Wikipedia page title, only when automatic link does not work; see F1 2002.