--><div style="margin:1em; padding:10px; border: 0.5px solid #c91010; border-radius:10px; background:#f001"><span class="error">'''Your wiki got a version of [[Template:Documentation]] that is only relevant to [[w:c:templates|Templates Wiki]]!''' [{{fullurl:Template:Documentation}}?action=history Click here to revert it.]</span>
For a documentation template you can use on your wiki, see [[w:c:templates:Template:Documentation (copy)|Template:Documentation (copy) on Templates Wiki]].</div>}}<!--
--><div style="text-align:center;"><span style="font-size:large;">Template information, documentation, and installation instructions.</span><br/>
Expand the below text for usage and other information.</div>
-->&summary={{urlencode:Create documentation for [[{{FULLPAGENAME}}]]}}
}} Create documentation] for this template.
}}
}} ([[Template:Documentation/doc|How does this work?]])<br/>Editors can experiment with this template's [{{fullurl:{{{sandbox|{{FULLPAGENAME}}/sandbox}}}
--> Export this template]''', then [[w:Help:Importing and exporting pages|import]] to install it.<br/><!--
-->''Use edit summary: ''<code><nowiki>Copied from [[w:c:templates:</nowiki>{{FULLPAGENAME}}<nowiki>]]</nowiki></code>'' to properly attribute this template's editors.}}<!--
- If compatible with vanilla MediaWiki
-->{{#if:{{{vanilla|}}}|:''This template is compatible with vanilla MediaWiki.''}}
<!--
-
- is not relevant = Should be '''NOT''' copied
-
-->
:{{#switch: {{{SPW|}}}
| starter = This template is created by default after March 11, 2020. It should be in your wiki. [[Category:Starter templates]]
| is not relevant
| is not relevant to = [[File:Warning.svg|left|50px]]<!--
-->''This template should not be copied, 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}}}]].''}}<!--
{{Documentation|SPW = is not relevant|SPW-link = Documentation (copy)|fr=Modèle:Documentation|ja=Template:Documentation|tr=Şablon:Belgelendirme|zh=Template:Documentation|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.
* <code>content = </code> should the template have just a short blurb for documentation and not need a new page for it.
* <code>installonly =</code> for documentation templates
* If the template '''should transclude a documentation page other than its /doc subpage,''' use <code><nowiki>{{Documentation|documentation page}}</nowiki></code>.
*: You may also use <code><nowiki>{{Documentation|content=documentation goes here}}</nowiki></code> to include documentation without a subpage at all.
* If the template '''should be [[w:Help:Interlanguage links|interlanguage linked]] but at a different name,''' use <code><nowiki>{{Documentation|ja=Japanese name|tr=Turkish name|zh=Chinese name}}</nowiki></code>.
*: You might instead create a [[w:Help:Redirect|redirect]] on the foreign-language wiki from the name used on this wiki to theirs.
* SPW
** <code>SPW=is not relevant</code> - The template (such as this one) are not relevant to wikis other than Templates Wiki.
** <code>SPW=starter</code> - The wikis after created on March 11, 2020 by default.
* <code>dep1=</code><code>dep2=</code><code>dep3=</code><code>dep4=</code> to name up to four dependency templates (include Template: prefix, no need to name /doc pages).
}}[[Category:Documentation templates| ]]
Latest revision as of 14:10, 18 July 2022
{{#ifeq: Shaun Keaveny's Community Garden Radio|Templates Wiki||
Template information, documentation, and installation instructions.
Expand the below text for usage and other information.
{{#if: ||
Template Documentation:
Note: The template above might be broken without the parameters; this is normal. {{#if: 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.
content = should the template have just a short blurb for documentation and not need a new page for it.
installonly = for documentation templates
If the template should transclude a documentation page other than its /doc subpage, use {{Documentation|documentation page}}.
You may also use {{Documentation|content=documentation goes here}} to include documentation without a subpage at all.
If the template should be interlanguage linked but at a different name, use {{Documentation|ja=Japanese name|tr=Turkish name|zh=Chinese name}}.
You might instead create a redirect on the foreign-language wiki from the name used on this wiki to theirs.
SPW
SPW=is not relevant - The template (such as this one) are not relevant to wikis other than Templates Wiki.
SPW=starter - The wikis after created on March 11, 2020 by default.
dep1=dep2=dep3=dep4= to name up to four dependency templates (include Template: prefix, no need to name /doc pages).
| Documentation does not exist. Create it at [{{fullurl:
{{#if:|{{{1}}}|Template:Documentation/doc}}
|action=edit&preload=Template:Documentation/preload&summary=Create+documentation+for+%5B%5BTemplate%3ADocumentation%5D%5D {{#if:|{{{1}}}|Template:Documentation/doc}}].
}}
}}
}}
}}
Installation Instructions
{{#ifeq:is not relevant|is not relevant
|
| :Export this template, then import to install it. Use edit summary: Copied from [[w:c:templates:Template:Documentation]] to properly attribute this template's editors.}}{{#if:|:This template is compatible with vanilla MediaWiki.}}
{{#switch: is not relevant
| starter = This template is created by default after March 11, 2020. It should be in your wiki.
| is not relevant
| is not relevant to = File:Warning.svgThis template should not be copied, 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:Documentation (copy)|For a similar template intended to be copied, see Template:Documentation (copy).}}{{#ifeq: Shaun Keaveny's Community Garden Radio
{{#ifeq: is not relevant|is not relevant |
|{{#if:
| The above message will be enough for most cases; if there are additional instructions, you can see them below. Template:Documentation/install
| :There is no additional installation instructions for this template. If there is any, you may create it at Template:Documentation/install.