Progress Continues
We've already had 21549 updates since Dolphin 5.0. Keep up with Dolphin's continuing progress through the Dolphin Blog: February, March, and April 2024 Dolphin Progress Report. |
The Dolphin Emulator Wiki needs your help! Dolphin can play thousands of games, and changes are happening all the time. Help us keep up! Join in and help us make this the best resource for Dolphin. |
Template:Infobox VG: Difference between revisions
Jump to navigation
Jump to search
(Regional developer/publisher links, now need to look into reducing down some of the craziness here.) |
(Significantly simplified various regex related calls, I think I'm finally done with these edits. Hooray inner-infobox links and logic simplification.) |
||
Line 10: | Line 10: | ||
|es=background:#f0f0f0; | |es=background:#f0f0f0; | ||
|{{#if:{{{channeltype|}}}| {{!}} '''Type''' {{!!}} {{{channeltype|}}}}} | |{{#if:{{{channeltype|}}}| {{!}} '''Type''' {{!!}} {{{channeltype|}}}}} | ||
|{{#if:{{{developer|}}}|{{!}}'''Developer(s)'''{{!!}}{{#ifeq:{{#regex:{{{developer|}}}|/>/rs|}}|| | |{{#if:{{{developer|}}}|{{!}}'''Developer(s)'''{{!!}}{{#ifeq:{{#regex:{{{developer|}}}|/>/rs|}}|| | ||
<!-- | <!--List-->{{#regex:{{{developer|}}}|/([^,]+)(,? ?)/rs|[[:Category:Developed by $1|$1]][[Category:Developed by $1|$1]]$2}}| | ||
<!--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:{{{publisher|}}}|{{!}}'''Publisher(s)'''{{!!}}{{#ifeq:{{#regex:{{{publisher|}}}|/>/rs|}}|| | |{{#if:{{{publisher|}}}|{{!}}'''Publisher(s)'''{{!!}}{{#ifeq:{{#regex:{{{publisher|}}}|/>/rs|}}|| | ||
<!-- | <!--List-->{{#regex:{{{publisher|}}}|/([^,]+)(,? ?)/rs|[[:Category:Published by $1|$1]][[Category:Published by $1|$1]]$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]]}}}} | |||
}} | }} | ||
|{{#if:{{{series|}}}|{{!}} '''*Series''' {{!!}}{{#regex: {{#regex: {{{series|}}}|/''/|}}|/([^,]+)(,? ?)/rs|[[:Category:$1 series|$1]][[Category:$1 series|$1]]$2}}}} | |||
| | |||
|{{#if:{{{platform|{{{platforms|}}}}}}| {{!}} '''Platform(s)''' {{!!}} {{{platform|{{{platforms|}}}}}}}} | |{{#if:{{{platform|{{{platforms|}}}}}}| {{!}} '''Platform(s)''' {{!!}} {{{platform|{{{platforms|}}}}}}}} | ||
|{{#if:{{{released|{{{release|}}}}}}| {{!}} {{nowrap|'''Release date(s)'''}} {{!!}} {{{released|{{{release}}}}}} | |{{#if:{{{released|{{{release|}}}}}}| {{!}} {{nowrap|'''Release date(s)'''}} {{!!}} {{{released|{{{release}}}}}} {{#regex: {{{released|}}}|/.*?(\d\d\d\d).*/rs|[[Category:Initial release $1]]|1}}}} | ||
|{{#if:{{{genre|}}}|{{!}}'''Genre(s)'''{{!!}}{{#regex: {{#regex: {{{genre|}}}|/''/|}}|/([^,]+)(,? ?)/rs|[[:Category:$1 games|$1]][[Category:$1 games|$1]]$2}}}} | |||
|{{#if:{{{mode|{{{modes|}}}}}}|{{!}}'''Mode(s)'''{{!!}}{{#regex: {{{modes|}}}|/(Single-player{{!}}Multi(-)?player{{!}}Co-op{{!}}Online)/rsi|[[:Category:$1 games|$1]][[Category:$1 games|$1]]$2}}}} | |||
|{{#if:{{{input|}}}|{{!}}'''Input methods'''{{!!}}{{#regex: {{{input|}}}|/(Wii Remote{{!}}Nunchu(c)?k{{!}}GameCube Controller{{!}}Classic Controller{{!}}Dance Pad{{!}}Wii Balance Board{{!}}Shinkansen{{!}}Nintendo DS{{!}}Game( )?Boy Advance{{!}}uDraw{{!}}Wii Motion Plus{{!}}DK Bongos{{!}}Drum{{!}}Guitar{{!}}Keyboard{{!}}Microphone)/rsi|[[:Category:$1 input supported|$1]][[Category:$1 input supported|$1]]$2}}}} | |||
| | |||
|{{!}} '''Compatibility''' {{!!}} {{ratings|{{#if:{{{nonerror|}}}|nonerror=true{{!}}|}}{{PAGENAME}}}} | |{{!}} '''Compatibility''' {{!!}} {{ratings|{{#if:{{{nonerror|}}}|nonerror=true{{!}}|}}{{PAGENAME}}}} | ||
|{{!}} '''See also...''' {{!!}} | |{{!}} '''See also...''' {{!!}} | ||
Line 47: | Line 41: | ||
[[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]]}}}} | ||
<!-- | |}<!--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> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |