Template:Documentation/doc

From UCSB Nanofab Wiki
< Template:Documentation
Revision as of 15:06, 28 August 2012 by Zwarburg (talk | contribs) (Created page with " This is the {{tl|documentation}} template. For most of the instructions about how and when to use this template, see Wikipedia:Template documentation. This template displa…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is the {{documentation}} template.

For most of the instructions about how and when to use this template, see Wikipedia:Template documentation.

This template displays a green doc 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.

This template is intended for documenting templates and other pages which are transcluded onto other pages. It can be used in template space and most other namespaces.

Use of this template allows templates to be protected where necessary, while allowing anyone to edit the documentation, categories, and interwiki links.

Usage

Normally this template is used without any parameters, placed at the bottom of the template or page being documented, within <noinclude>:

<!--Last line of your template code--><noinclude>

{{documentation}}
</noinclude>

Then this template automatically loads the content from the /doc subpage of the template it is used on.