Template:Sandbox other: Difference between revisions
en>Pppery Adding a bunch of hacky code to deal with a stupid inconsistency in the naming convention for CSS sandbox pages |
m 12 revisions imported |
||
(10 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{#ifeq:{{SUBPAGENAME}}|sandbox|1}}{{#invoke:String|match|{{PAGENAME}}|/sandbox/styles.css$|plain=false|nomatch=}}|{{{1|}}}|{{{2|}}}}}<!-- | {{#if:{{#ifeq:{{#invoke:String|sublength|s={{SUBPAGENAME}}|i=0|len=7}}|sandbox|1}}{{#ifeq:{{SUBPAGENAME}}|doc|1}}{{#invoke:String|match|{{PAGENAME}}|/sandbox/styles.css$|plain=false|nomatch=}}|{{{1|}}}|{{{2|}}}}}<!-- | ||
--><noinclude>{{documentation}}</noinclude> | --><noinclude>{{documentation}}</noinclude> |