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 this template for the documentation].|View or edit }}}|{{{1}}}|{{FULLPAGENAME}}/doc}}|this documentation]].}} (How does this work?) {{!}}} }}{{#ifeq:{{SITENAME}}|Templates Wiki|
 * ''{{#switch: {{{SPW|{{Template:Is SPW}}}}}

| is newer | is newer than = This template is newer than a similar one on {{PAGENAME}}}}}|FANDOM starter pages. This template may therefore have bug fixes or improvements when compared to the older version.{{#ifeq: {{SITENAME}} | Templates Wiki | }} | is not relevant | is not relevant to = This template is not on Fandom starter pages because it is probably not relevant to wikis other than Templates Wiki. You probably don't want to copy this template to your wiki. {{#if:{{{SPW-link|}}}|For a similar template intended to be copied, see Template:{{{SPW-link}}}.}} {{#ifeq: {{SITENAME}} | Templates Wiki | }} | true | is on = This template or a similar one is on {{PAGENAME}}}}}|FANDOM starter pages, whence it is incorporated in every new FANDOM site and can be copied to older ones. {{#ifeq: {{SITENAME}} | Templates Wiki | }} | is not on      	| #default = This template is not on FANDOM starter pages. It can be copied to other FANDOM sites, but it is not included on any by default. }}'' {{#ifeq:{{{SPW}}}|is not relevant||
 * To install it, copy [{{FULLURL:{{FULLPAGENAME}}}}?action=edit this template]{{sup|export}} and [{{FULLURL:{{FULLPAGENAME}}/doc}}?action=edit its documentation]{{sup|export}} to Template:{{{SPW-link|{{PAGENAME}}}}} and Template:{{{SPW-link|{{PAGENAME}}}}}/doc on your wiki. Need help?{{#if:{{{dep1|}}}|
 * Copy also [{{FULLURL:{{{dep1}}}}}?action=edit {{{dep1}}}]{{sup|export}}{{#if:{{{dep2|}}}|, [{{FULLURL:{{{dep2}}}}}?action=edit {{{dep2}}}]{{sup|export}}}}{{#if:{{{dep3|}}}|, [{{FULLURL:{{{dep3}}}}}?action=edit {{{dep3}}}]{{sup|export}}}} to the same location{{#if:{{{dep2|}}}|(s) on your wiki.}}}}
 * Use edit summary   to properly attribute this template's editors.{{#if:{{{vanilla|}}}|
 * This template is compatible with vanilla Mediawiki.}}

}} {{#ifeq:{{CONTENTLANG}}|ja||{{#if:{{{ja|}}}|{{{ja}}}|{{#switch:{{{nothing|{{Is JA}}}}}|true=ja:Template:{{PAGENAME}}}}}}}} {{#ifeq:{{CONTENTLANG}}|zh||{{#if:{{{zh|}}}|{{{zh}}}|{{#switch:{{{nothing|{{Is ZH}}}}}|true=zh:Template:{{PAGENAME}}}}}}}} {{#ifeq:{{CONTENTLANG}}|en||{{#if:{{{en|}}}|{{{en}}}|{{#switch:{{{nothing|{{Is EN 1}}{{Is EN 2}}{{Is EN 3}}}}}|true=en:Template:{{PAGENAME}}}}}}}} }} {{#ifeq:{{PAGENAME}}|Documentation (copy)|| {{#if:{{{content|}}}|{{{content}}}| {{#if:{{{1|}}}|{{{{{1}}}}}|{{{{FULLPAGENAME}}/doc}}}} }}}} {{Documentation|SPW = is not relevant|SPW-link = Documentation (copy)|content= This is a version of Template:Documentation customized for Templates Wiki and so not designed to be copied to other wikis.

It acts identically to the usual Template:Documentation - and should be treated identically - except for a few particular cases.
 * 1) 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.
 * 1) 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.
 * 1) If the template exists on FANDOM starter pages but has been upgraded, use.
 * The other possible relations to SPW - "is not on" and "is on" [and unchanged] are automatically inserted, in which cases no parameter is needed.
 * Some templates (such as this one) are not relevant to wikis other than Templates Wiki: these can be marked by.

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.