Template:SandboxDocumentation: Difference between revisions
Template page
More actions
sandbox |
use {{SandboxDocumentation/sandbox|template={{{template|}}}}} |
||
| Line 1: | Line 1: | ||
{{#if:{{Str endswith|{{PAGENAME}}|/sandbox}}{{Str endswith|{{PAGENAME}}|/sandbox/doc}}<!-- | {{#if:{{Str endswith|{{PAGENAME}}|/sandbox}}{{Str endswith|{{PAGENAME}}|/sandbox/doc}}<!-- | ||
-->|<!-- SANDBOX DOCUMENTATION: | -->|<!-- SANDBOX DOCUMENTATION: | ||
-->;Usage | -->;Usage | ||
:This template is used to test changes in {{tl|{{#if: {{{template|}}}|{{{template|}}}|{{#if:{{Str endswith|{{PAGENAME}}|/doc}}|{{str left| {{PAGENAME}} | {{#expr: {{str len|{{PAGENAME}}}}-4}} }} |{{PAGENAME}} }} }}}}. | :This template is used to test changes in {{tl|{{#if: {{{template|}}}|{{{template|}}}|{{#if:{{Str endswith|{{PAGENAME}}|/doc}}|{{str left| {{PAGENAME}} | {{#expr: {{str len|{{PAGENAME}}}}-4}} }} |{{PAGENAME}} }} }}}}. | ||
:When you have validated/tested your modification(s), just ask an [[:Commons:Administrators|administrator]] to copy the code from {{ | :When you have validated/tested your modification(s), just ask an [[:Commons:Administrators|administrator]] to copy the code from {{SandboxDocumentation/sandbox|template={{{template|}}}}} to {{tl|{{#if: {{{template|}}}|{{{template|}}}|{{#if:{{Str endswith|{{PAGENAME}}|/doc}}|{{str left| {{PAGENAME}} | {{#expr: {{str len|{{PAGENAME}}}}-4}} }} |{{PAGENAME}} }} }}}}.<!-- | ||
-->|<!-- REAL TEMPLATE DOCUMENTATION: | -->|<!-- REAL TEMPLATE DOCUMENTATION: | ||
-->'''{{Note:}}''' If you want to modify this template, first modify {{ | -->'''{{Note:}}''' If you want to modify this template, first modify {{SandboxDocumentation/sandbox|template={{{template|}}}}}, 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 12:20, 13 September 2011
- Usage
- This template is used to test changes in {{SandboxDocumenta}}.
- When you have validated/tested your modification(s), just ask an administrator to copy the code from Template:SandboxDocumentation/sandbox to {{SandboxDocumenta}}.