Doc/doc

From Protoi Healing

Revision as of 17:08, 14 May 2016 by Root (Talk | contribs) (Created page with "<nowiki>{{Doc}}</nowiki> provides an easy way to add documentation for a template. == Usage == Put <tt><nowiki>{{Doc}}</nowiki></tt> at the end of the templ...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{Doc}} provides an easy way to add documentation for a template.

Usage

Put {{Doc}} at the end of the template, enclosed between tags noinclude. Without spaces or line breaks before.

To function properly there must be a page called x/doc. Replacing "x" by the full name of the template. For example, the name of this template is Doc, but the full name of this template is Template:Doc. Therefore, the documentation of this template should be on the page Template:Doc/doc.