Template:GlobalProblems/sandbox: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
No edit summary
mNo edit summary
Line 3: Line 3:
Automatically grab platform name in right format
Automatically grab platform name in right format


-->{{#vardefine:tl_globalproblems_platform|{{#ifpageincat:Platforms|{{#if:{{#regex:{{PAGENAME}}|/Nintendo Entertainment System/}}|{{#if:{{#regex:{{PAGENAME}}|/Super/}}|Super NES|NES}}|{{PAGENAME}}}}|{{#ifpageincat:Virtual Console games|{{#ifpageincat:NES games|NES|{{#ifpageincat:TurboGrafx-16 games|TurboGrafx-16|{{#ifpageincat:SNES games|Super NES|{{#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|{{#vardefine:tl_globalproblems_mode|error}}}}}}}}}}}}}}}}}}}}}}}}}}}}<!--
-->{{#vardefineecho:tl_globalproblems_platform|{{#ifpageincat:Platforms|{{#if:{{#regex:{{PAGENAME}}|/Nintendo Entertainment System/}}|{{#if:{{#regex:{{PAGENAME}}|/Super/}}|Super NES|NES}}|{{PAGENAME}}}}|{{#ifpageincat:Virtual Console games|{{#ifpageincat:NES games|NES|{{#ifpageincat:TurboGrafx-16 games|TurboGrafx-16|{{#ifpageincat:SNES games|Super NES|{{#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|{{#vardefine:tl_globalproblems_mode|error}}}}}}}}}}}}}}}}}}}}}}}}}}}}<!--


Error handling and variable declarations
Error handling and variable declarations
6,906

edits

Navigation menu