Template:Documentation

From UCSB Nanofab Wiki
Revision as of 08:06, 28 August 2012 by Zwarburg (talk | contribs) (Created page with "{| style="background: #ecfcf4; border-spacing: 0; border-width: 1px; border-style: solid; border-color: #000; border-collapse: separate; border-spacing: 5;" cellspacing="8" cellp…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
[edit] [history] Documentation icon Template documentation

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.