Template:GlobalProblems: Difference between revisions

Jump to navigation Jump to search
m
debatably worse, but more consistent
(this automatically grabs the platform name in the correct format, instead of needing it as an input to display the right global problems)
m (debatably worse, but more consistent)
Line 18: Line 18:
Problems that may occur with any {{#var:tl_globalproblems_platform}} title on Dolphin are listed below.
Problems that may occur with any {{#var:tl_globalproblems_platform}} title on Dolphin are listed below.
{{#ifeq:{{#var:tl_globalproblems_platform}}|Virtual Console||{{#var:tl_globalproblems_{{#regex:{{#var:tl_globalproblems_platform}}|/\s+/|_}}_active}}}}{{#var:tl_globalproblems_Virtual_Console_active}}{{#ifeq:{{#var:tl_globalproblems_platform}}|Virtual Console||{{#var:tl_globalproblems_{{#regex:{{#var:tl_globalproblems_platform}}|/\s+/|_}}_fixed}}}}{{#var:tl_globalproblems_Virtual_Console_fixed}}|{{#ifpageincat:Platforms|{{#var:tl_globalproblems_header}}
{{#ifeq:{{#var:tl_globalproblems_platform}}|Virtual Console||{{#var:tl_globalproblems_{{#regex:{{#var:tl_globalproblems_platform}}|/\s+/|_}}_active}}}}{{#var:tl_globalproblems_Virtual_Console_active}}{{#ifeq:{{#var:tl_globalproblems_platform}}|Virtual Console||{{#var:tl_globalproblems_{{#regex:{{#var:tl_globalproblems_platform}}|/\s+/|_}}_fixed}}}}{{#var:tl_globalproblems_Virtual_Console_fixed}}|{{#ifpageincat:Platforms|{{#var:tl_globalproblems_header}}
There are no known global problems with {{PAGENAME}} titles on Dolphin.}}}}<!--
There are no known global problems with {{#var:tl_globalproblems_platform}} titles on Dolphin.}}}}<!--


More error handling
More error handling


-->|{{#vardefine:tl_globalproblems_mode|error}}}}|{{#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}}}}|{{#vardefine:tl_globalproblems_mode|error}}}}{{#ifeq:{{#var:tl_globalproblems_mode}}|error|[[Category:Pages calling GlobalProblems template improperly]]}}</includeonly><noinclude>{{documentation}}</noinclude>
6,906

edits

Navigation menu