Toggle search
Search
Toggle menu
notifications
Toggle personal menu
Editing
Template:Documentation/doc
(section)
Template page
Views
Read
Edit
View history
associated-pages
Template
Discussion
More actions
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.
Anti-spam check. Do
not
fill this in!
=== Usage === Normally this template is used without any parameters, placed at the bottom of the template or page being documented, within <code><noinclude></code>: <pre> <!--Last line of your template code--><noinclude> {{documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude> </pre> 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: <pre> <!--Last line of your template code--><noinclude> {{documentation |Template:Other page/doc}} </noinclude> </pre> Note that when loading the documentation from another page than the local /doc page it becomes tricky to handle the categories and interwiki links. The content can also be fed directly as text. Like this: <pre> <!--Last line of your template code--><noinclude> {{documentation |content= Some documentation text. }} </noinclude> </pre> When the {{para|content}} parameter is used, the doc box normally does not show the [edit] [purge] links in the top right corner. Note that if the /doc page exists a link to it is still shown in the link box below the doc box. Parameter {{para|1}} and the {{para|content}} parameter can also be combined, like this: <pre> <!--Last line of your template code--><noinclude> {{documentation |1=Template:Any page/doc |content= {{Template:Any page/doc |parameters}} }} </noinclude> </pre> Then the pagename fed as parameter 1 is used for the [edit] [purge] links and for the /doc link in the link box below the doc box. But the '''content''' parameter is used for the content shown in the doc box. The above code means that the content is transcluded as {{tnull|Template:Any page/doc{{!}}parameters}}. In this example a parameter is also fed to the /doc page being loaded.
Summary:
Please note that all contributions to iFixWiki are considered to be released under the Creative Commons Attribution Share Alike (see
IFixWiki: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!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)