Template:Infobox VG: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 24: Line 24:
|{{#if:{{{mode|{{{modes|}}}}}}|{{!}}'''[[:Category:Game modes|Mode(s)]]'''{{!!}}{{#regex:{{#regex:{{{modes|}}}|/(Single-player{{!}}Multi(-)?player{{!}}Co-op{{!}}Online)/rsi|[[:Category:Game modes:$1|$1]][[Category:Game modes:$1]]$2}}|/\((\d{1,2}{{!}}\*)\)/|([[:Category:Players supported:$1|$1]][[Category:Players supported:$1]])}}{{#ifeq:{{{modes|}}}|Single-player|[[Category:Game modes:Single-player only]]|}}|{{#if:{{#regex:{{{genre|}}}|/Utility/}}||[[Category:Game pages without modes of play]]}}}}
|{{#if:{{{mode|{{{modes|}}}}}}|{{!}}'''[[:Category:Game modes|Mode(s)]]'''{{!!}}{{#regex:{{#regex:{{{modes|}}}|/(Single-player{{!}}Multi(-)?player{{!}}Co-op{{!}}Online)/rsi|[[:Category:Game modes:$1|$1]][[Category:Game modes:$1]]$2}}|/\((\d{1,2}{{!}}\*)\)/|([[:Category:Players supported:$1|$1]][[Category:Players supported:$1]])}}{{#ifeq:{{{modes|}}}|Single-player|[[Category:Game modes:Single-player only]]|}}|{{#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{{!}}Dance Pad{{!}}Wii Balance Board{{!}}USB Keyboard{{!}}Skylander Portal{{!}}Active Heart Rate Monitor{{!}}Cyberbike{{!}}Your Shape Camera{{!}}Nintendo DS{{!}}Game( )?Boy Advance{{!}}uDraw GameTablet{{!}}Wii MotionPlus{{!}}DK Bongos{{!}}(GameCube{{!}}Classic{{!}}Shinkansen{{!}}Drum{{!}}Guitar{{!}}Keyboard{{!}}Turntable{{!}}Ride{{!}}Arcade) Controller{{!}}Microphone)/rsi|[[:Category:Input supported:$1|$1]][[Category:Input supported:$1]]$2}}|[[Category:Game pages without possible inputs]]}}
|{{#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{{!}}Your Shape Camera{{!}}Nintendo DS{{!}}Game( )?Boy Advance{{!}}uDraw GameTablet{{!}}Wii MotionPlus{{!}}DK Bongos{{!}}(GameCube{{!}}Classic{{!}}Shinkansen{{!}}Drum{{!}}Guitar{{!}}Keyboard{{!}}Turntable{{!}}Ride{{!}}Arcade) Controller{{!}}Microphone)/rsi|[[:Category:Input supported:$1|$1]][[Category:Input supported:$1]]$2}}|[[Category:Game pages without possible inputs]]}}
|{{!}} '''[[Template:Compatibility|Compatibility]]''' {{!!}} {{ratings|{{#if:{{{nonerror|}}}|nonerror=true{{!}}|}}{{PAGENAME}}}}{{#regex:{{ratings|{{#if:{{{nonerror|}}}|nonerror=true{{!}}|}}{{PAGENAME}}}}|/.*?Stars(\d)\.png.*/|[[Category:Games with $1 star rating]]}}|{{!}} '''See also...''' {{!!}}
|{{!}} '''[[Template:Compatibility|Compatibility]]''' {{!!}} {{ratings|{{#if:{{{nonerror|}}}|nonerror=true{{!}}|}}{{PAGENAME}}}}{{#regex:{{ratings|{{#if:{{{nonerror|}}}|nonerror=true{{!}}|}}{{PAGENAME}}}}|/.*?Stars(\d)\.png.*/|[[Category:Rating:$1 stars]]}}|{{!}} '''See also...''' {{!!}}
{{#if:{{#regex:{{PAGENAME}}|/.*(\)).*/|}}||{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\((?!Arcade).+\)/|$1}} (Arcade)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Arcade)|Arcade Version]]<br />
{{#if:{{#regex:{{PAGENAME}}|/.*(\)).*/|}}||{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\((?!Arcade).+\)/|$1}} (Arcade)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (Arcade)|Arcade Version]]<br />
}}{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\((?!C64).+\)/|$1}} (C64)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (C64)|C64 Version]]<br />
}}{{#ifexist:{{#regex:{{PAGENAME}}|/(.+)\((?!C64).+\)/|$1}} (C64)|[[{{#regex:{{PAGENAME}}|/(.+)\(.+\)/|$1}} (C64)|C64 Version]]<br />