Template:Infobox VG/sandbox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 24: Line 24:
|{{#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:{{{mode|{{{modes|}}}}}}|{{!}}'''Mode(s)'''{{!!}}{{#regex: {{{modes|}}}|/(Single-player{{!}}Multi(-)?player{{!}}Co-op{{!}}Online)/rsi|[[:Category:$1 games|$1]][[Category:$1 games|$1]]$2}}}}
|<!--Should output input links here, but complicated by + syntax-->{{#if:{{{input|}}}| {{!}} '''Input methods''' {{!!}} {{{input|}}}}}
|<!--Should output input links here, but complicated by + syntax-->{{#if:{{{input|}}}| {{!}} '''Input methods''' {{!!}} {{{input|}}}}}
|{{#if:{{{input|}}}|{{!}}'''Input methods'''{{!!}}{{#regex: {{{modes|}}}|/(Wii Remote{{!}}Nunchuck{{!}}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 games|$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 49: Line 52:


Input categories-->
Input 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|}}}|/.*Wii [Rr]emote.*/|Found}}|Found|[[Category:Wii Remote input supported]]|}}{{#ifeq:{{#regex:{{{input|}}}|/.*C.*/|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|}}}|/.*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]]|}}</includeonly><noinclude>
 
{{#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]]|}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>