Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:SandboxDocumentation: Difference between revisions

Template page
suppress /doc only if PAGENAME ends with /doc
can also document the sandbox
Line 1: Line 1:
'''{{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.}}
{{#if:{{Str endswith|{{PAGENAME}}|/sandbox}}{{Str endswith|{{PAGENAME}}|/sandbox/doc}}<!--
-->|<!-- SANDBOX DOCUMENTATION:
-->;Usage
:This template is used to test changes in {{m|Wikispecies}}.
:When you have validated/tested your modification, just ask an [[:Commons:Administrators|administrator]] to copy the code from {{m|Wikispecies/sandbox}} to {{m|Wikispecies}}.<!--
-->|<!-- REAL TEMPLATE DOCUMENTATION:
-->'''{{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:56, 13 September 2011

{{#if:Template:Str endswithTemplate:Str endswith|;Usage

This template is used to test changes in Wikispecies.
When you have validated/tested your modification, just ask an administrator to copy the code from Wikispecies/sandbox to Wikispecies.|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.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.