Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
{{Dependencies|Module:Arguments|Module:Documentation|Module:Documentation/config}}
This is the {{tl|Documentation}} template, used on almost every template page to contain that template's documented instructions and information.
This is the {{tl|Documentation}} template, used on almost every template page to contain that template's documented instructions and information.


This template displays a documentation box like you are seeing now and automatically loads the content from a /doc subpage. It can also load the content from other places if instructed to.
For detailed instructions on how and when to use this template, see [[w:Wikipedia:Template documentation]].


This template is intended for documenting templates and other pages that are [[mw:Transclusion|transcluded]] onto other pages.
This template displays a green documentation box like you are seeing now and automatically loads the content from a /doc subpage. It can also load the content from other places if instructed to.


Use of this template allows templates to be [[mw:Help:Protection|protected]] where necessary, while allowing anyone to edit the documentation and categories.
This template is intended for documenting templates and other pages that are [[w:Wikipedia:Transclusion|transcluded]] onto other pages. It can be used in the [[w:Wikipedia:Template namespace|template namespace]] and most other [[w:Wikipedia:Namespace|namespace]]s.
 
Use of this template allows templates to be [[w:Wikipedia:Protection policy|protected]] where necessary, while allowing anyone to edit the documentation and categories.


===Usage===
===Usage===
Line 14: Line 17:
<!--Last line of your template code--><noinclude>
<!--Last line of your template code--><noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories to the /doc subpage, not here -->
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
</noinclude>
</noinclude>
</syntaxhighlight>
</syntaxhighlight>


Then this template automatically loads the content from the /doc subpage of the template it is used on, along with automatically transcluding {{tl|How to export}}. To hide the instructions from {{tl|How to export}}, set the parameter <code>noexportinstructions</code> to <code>yes</code>
Then this template automatically loads the content from the /doc subpage of the template it is used on.


This template can also load the content from any other page. Like this:
This template can also load the content from any other page. Like this:
Please note that all contributions to skyHow are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) (see skyHow:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)