Template:Infobox VG: Difference between revisions
Jump to navigation
Jump to search
(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 |
||
Line 19: | Line 19: | ||
|{{#if:{{{input|}}}| {{!}} '''Input methods''' {{!!}} {{{input|}}} }} | |{{#if:{{{input|}}}| {{!}} '''Input methods''' {{!!}} {{{input|}}} }} | ||
|{{!}} '''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 />}}}} | NES/SNES version (This needs revision to handle any VC playform title (SMS, etc.)-->{{#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 />}}}} | New Play Control version-->{{#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 />}}}} | Wii version-->{{#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 />}}} | GameCube version-->{{#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 | WiiWare version-->{{#ifeq:{{#regex:{{PAGENAME}}|/(.+)\ \(.+\)/|$1}} (WiiWare)|{{PAGENAME}}||{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (WiiWare)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (WiiWare)|WiiWare 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 /> |