Template:GlobalProblems/sandbox: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
mNo edit summary
m (it's impossible. the problem is not coming from newlines in the template, even with no active newlines to the point of breaking things, the whitespace still happens. it's all the page newlines)
Line 11: Line 11:
Problem display logic
Problem display logic


-->{{#if:{{#var:tl_globalproblems_{{#regex:{{{1|}}}|/\s+/|_}}_active}}{{#var:tl_globalproblems_{{#regex:{{{1|}}}|/\s+/|_}}_fixed}}{{#var:tl_globalproblems_Virtual_Console_active}}{{#var:tl_globalproblems_Virtual_Console_fixed}}|{{#ifpageincat:Platforms||__TOC__}}{{#var:tl_globalproblems_header}}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}}There are no known global problems with {{{1}}} titles on Dolphin.}}}}<!--
-->{{#if:{{#var:tl_globalproblems_{{#regex:{{{1|}}}|/\s+/|_}}_active}}{{#var:tl_globalproblems_{{#regex:{{{1|}}}|/\s+/|_}}_fixed}}{{#var:tl_globalproblems_Virtual_Console_active}}{{#var:tl_globalproblems_Virtual_Console_fixed}}|{{#ifpageincat:Platforms||__TOC__}}{{#var:tl_globalproblems_header}}
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}}
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}}}}|{{#vardefine:tl_globalproblems_mode|error}}}}{{#ifeq:{{#var:tl_globalproblems_mode}}|error|[[Category:Pages calling GlobalProblems template improperly]]}}</includeonly><noinclude>{{documentation|Template:GlobalProblems/sandbox/doc}}[[Category:Experimental templates]]</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|Template:GlobalProblems/sandbox/doc}}[[Category:Experimental templates]]</noinclude>

Revision as of 02:57, 11 September 2017

[edit] [purge] Template documentation

Example

Header Issues

  • [edit] button will be available where the others don't normally appear, like in edit preview or protected page
  • [edit] button's link is a very slightly lighter shade of blue compared to normal ones (difference between external and internal links)