Template:Documentation

{{#ifeq:{{PAGENAME}}|Documentation (copy)|| {{{!}} class="article-table" style="width:100%;" role="complementary" {{!}}- style="font-size:18px;" ! style="padding:0px;" {{!}} Template documentation {{!}}- {{!}} Note: the template above may sometimes be partially or fully invisible. {{!}}- {{!}} {{#if:{{{content|}}}| Edit [{{fullurl:{{FULLPAGENAME}}}}?action=edit&preload=Template:Documentation/preload this template for the documentation].| {{#ifexist: {{#if: {{{1|}}} | {{{1}}}                       | {{FULLPAGENAME}}/doc }} | View or edit }}}|{{{1}}}|{{FULLPAGENAME}}/doc}}|this documentation. [{{fullurl:{{#if: {{{1|}}} | {{{1}}}                         | {{FULLPAGENAME}}/doc }}               | action=edit&preload=Template:Documentation/preload }} create this documentation] }} (How does this work?) {{!}}- {{!}} Editors can experiment with this template's {{#if: {{{sandbox|}}} | {{#switch: {{#sub:{{lc:{{{sandbox}}}}}|0|1}} {{!}}} }} {{#ifeq:{{PAGENAME}}|Documentation (copy)|| {{#if:{{{content|}}}|{{{content}}}| {{#if:{{{1|}}}|{{{{{1}}}}}|{{{{FULLPAGENAME}}/doc}}}} }}}} {{Documentation|SPW = is not relevant|SPW-link = Documentation (copy)|sandbox=yes|content= This is a version of Template:Documentation customized for Templates Wiki and so not designed to be copied to other wikis.
 * y | t | 1 = sandbox
 * #default = [{{fullurl:{{FULLPAGENAME}}/sandbox|action=edit}} sandbox] }} | [{{fullurl:{{FULLPAGENAME}}/sandbox|action=edit}} sandbox]}} and {{#if: {{{testcases|}}} | {{#switch: {{#sub:{{lc:{{{testcases}}}}}|0|1}}
 * y | t | 1 = test case
 * #default = [{{fullurl:{{FULLPAGENAME}}/testcases|action=edit}} test case] }} | [{{fullurl:{{FULLPAGENAME}}/testcases|action=edit}} test case]}} pages.

It acts identically to the usual Template:Documentation - and should be treated identically - except for a few particular cases.
 * should the template have just a short blurb for documentation and not need a new page for it.
 * should the template have a /sandbox page.
 * should the template have a /testcases page.
 * If the template should transclude a documentation page other than its /doc subpage, use.
 * You may also use  to include documentation without a subpage at all.
 * If the template should be interlanguage linked but at a different name, use.
 * You might instead create a redirect on the foreign-language wiki from the name used on this wiki to theirs (and then update the relevant template in ).
 * Interlanguage links to existing Japanese and Chinese pages are automatically inserted if their names are equivalent, in which case no parameter is needed.
 * SPW
 * - The template exists on FANDOM starter pages but has been upgraded.
 * - The template (such as this one) are not relevant to wikis other than Templates Wiki.
 * The other possible relations to SPW - " " and " " [and unchanged] are automatically inserted, in which cases no parameter is needed.
 * to name up to four dependency templates (include Template: prefix, no need to name /doc pages).

Maintenance
}}
 * Periodically check the list of templates on FANDOM starter pages wiki to see if the list encoded into Template:Is SPW is up-to-date.
 * Periodically check the list of templates on Japanese Templates Wiki to see if the list encoded into Template:Is JA is up-to-date.
 * Periodically check the list of templates on Chinese Templates Wiki to see if the list encoded into Template:Is ZH is up-to-date.