Template:SandboxDocumentation: Difference between revisions
Template page
More actions
same corr |
suppress /doc only if PAGENAME ends with /doc |
||
| Line 1: | Line 1: | ||
'''{{Note:}}''' If you want to modify this template, first modify {{tl|{{#if: {{{template|}}}|{{{template|}}}|{{str left | {{PAGENAME}} | {{#expr: {{str len|{{PAGENAME}}}}-4}}}}}}/sandbox}}, then test the sandbox template in {{tl|{{#if: {{{template|}}}|{{{template|}}}|{{str left | {{PAGENAME}} | {{#expr: {{str len|{{PAGENAME}}}}-4}}}}}}/testcases}}, finally {{#if:{{{protected}}}|ask an [[:Commons:Administrators|administrator]] to copy the sandbox code into the real template.|copy the sandbox code into the real template.}} | '''{{Note:}}''' If you want to modify this template, first modify {{tl|{{#if: {{{template|}}}|{{{template|}}}|{{#if:{{Str endswith|{{PAGENAME}}|/doc}}|{{str left| {{PAGENAME}} | {{#expr: {{str len|{{PAGENAME}}}}-4}} }} |{{PAGENAME}} }} }}/sandbox}}, then test the sandbox template in {{tl|{{#if: {{{template|}}}|{{{template|}}}|{{#if:{{Str endswith|{{PAGENAME}}|/doc}}|{{str left| {{PAGENAME}} | {{#expr: {{str len|{{PAGENAME}}}}-4}} }} |{{PAGENAME}} }} }}/testcases}}, finally {{#if:{{{protected}}}|ask an [[:Commons:Administrators|administrator]] to copy the sandbox code into the real template.|copy the sandbox code into the real template.}} | ||
Revision as of 11:18, 13 September 2011
Note: If you want to modify this template, first modify {{SandboxDocumenta/sandbox}}, then test the sandbox template in {{SandboxDocumenta/testcases}}, finally ask an administrator to copy the sandbox code into the real template.