Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Documentation/doc

Template page
Revision as of 09:07, 24 April 2026 by Demongrrl (talk | contribs) (Created page with "{{Documentation subpage}} == Usage == This template displays a green documentation box at the bottom of a template page, transcluded from a <code>/doc</code> subpage. It lets editors maintain a template's documentation separately from the template itself, which is especially useful when the template is protected <kcite ref="1"/>. === Standard usage === Place the following at the very bottom of a template, inside <code><noinclude></code> tags so it does not appear...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a documentation subpage for Documentation.
It contains usage information, categories and other content that is not part of the original template page.

Usage

This template displays a green documentation box at the bottom of a template page, transcluded from a /doc subpage. It lets editors maintain a template's documentation separately from the template itself, which is especially useful when the template is protected <kcite ref="1"/>.

Standard usage

Place the following at the very bottom of a template, inside <noinclude> tags so it does not appear in articles that transclude the template:

<noinclude>
{{Documentation}}
</noinclude>

This will transclude Template:NAME/doc, where NAME is the name of the template.

Custom doc location

To load documentation from a different page, pass it as the first parameter:

<noinclude>
{{Documentation|Template:Some other page}}
</noinclude>

Parameters

1 (unnamed)
Optional. The full page name of the documentation page to transclude. Defaults to Template:Documentation/doc/doc.

See also