Template:GlobalProblems: Difference between revisions
Jump to navigation
Jump to search
m (remove more newlines) |
m (this can really be anywhere, so im putting it with other declarations) |
||
Line 3: | Line 3: | ||
Error handling and variable declarations | Error handling and variable declarations | ||
-->{{#ifeq:{{#var:tl_globalproblems_visible|false}}|false|{{#if:{{{1|}}}|{{GlobalProblems/Virtual Console}}{{#ifexist:Template:GlobalProblems/{{{1}}}|{{GlobalProblems/{{{1}}}}}|{{#vardefine:tl_globalproblems_mode|error}}}}<!-- | -->{{#ifeq:{{#var:tl_globalproblems_visible|false}}|false|{{#if:{{{1|}}}|{{#vardefine:tl_globalproblems_visible|true}}{{GlobalProblems/Virtual Console}}{{#ifexist:Template:GlobalProblems/{{{1}}}|{{GlobalProblems/{{{1}}}}}|{{#vardefine:tl_globalproblems_mode|error}}}}<!-- | ||
Custom header made to have working [edit] link | Custom header made to have working [edit] link | ||
Line 14: | Line 14: | ||
Problems that may occur with any {{{1}}} title on Dolphin are listed below. | Problems that may occur with any {{{1}}} title on Dolphin are listed below. | ||
{{#ifeq:{{{1}}}|Virtual Console||{{#var:tl_globalproblems_{{#regex:{{{1|}}}|/\s+/|_}}_active}}}}{{#var:tl_globalproblems_Virtual_Console_active}}{{#ifeq:{{{1}}}|Virtual Console||{{#var:tl_globalproblems_{{#regex:{{{1|}}}|/\s+/|_}}_fixed}}}}{{#var:tl_globalproblems_Virtual_Console_fixed}}|{{#ifpageincat:Platforms|{{#var:tl_globalproblems_header}} | {{#ifeq:{{{1}}}|Virtual Console||{{#var:tl_globalproblems_{{#regex:{{{1|}}}|/\s+/|_}}_active}}}}{{#var:tl_globalproblems_Virtual_Console_active}}{{#ifeq:{{{1}}}|Virtual Console||{{#var:tl_globalproblems_{{#regex:{{{1|}}}|/\s+/|_}}_fixed}}}}{{#var:tl_globalproblems_Virtual_Console_fixed}}|{{#ifpageincat:Platforms|{{#var:tl_globalproblems_header}} | ||
There are no known global problems with {{{1}}} titles on Dolphin.}} | There are no known global problems with {{{1}}} titles on Dolphin.}}}}<!-- | ||
More error handling | More error handling | ||
-->|{{#vardefine:tl_globalproblems_mode|error}}}}|{{#vardefine:tl_globalproblems_mode|error}}}}{{#ifeq:{{#var:tl_globalproblems_mode}}|error|[[Category:Pages calling GlobalProblems template improperly]]}}</includeonly><noinclude>{{documentation}}</noinclude> | -->|{{#vardefine:tl_globalproblems_mode|error}}}}|{{#vardefine:tl_globalproblems_mode|error}}}}{{#ifeq:{{#var:tl_globalproblems_mode}}|error|[[Category:Pages calling GlobalProblems template improperly]]}}</includeonly><noinclude>{{documentation}}</noinclude> |