Template:Sandbox other: Difference between revisions

Adding a bunch of hacky code to deal with a stupid inconsistency in the naming convention for CSS sandbox pages
(add attribution (via JWB))
imported>Pppery
(Adding a bunch of hacky code to deal with a stupid inconsistency in the naming convention for CSS sandbox pages)
Line 1:
{{#if:{{#ifeq:{{SUBPAGENAME}}|sandbox |1}}{{#invoke:String|match|{{PAGENAME}}|/sandbox/styles.css$|plain=false|nomatch=}}|{{{1|}}}|{{{2|}}}}}<!--
--><noinclude>{{documentation}}</noinclude>
 
--><noinclude>{{documentation}}{{En-WP attribution notice|Template:Sandbox other}}
</noinclude>
Anonymous user