Jump to content

Template:Documentation/doc

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

Usage

This template is used to insert descriptions on template pages. The documentation page is usually located on the /doc subpage for a template. This template will automatically add Category:Template documentation to any page in the Template namespace which uses it. It will add Category:Module documentation to any page in the Module namespace which uses it.

Example

This is the normal format when used:

{{documentation}}

If your template is not a completed div or table, you may need to close the tags just before {{Documentation}} is inserted (within the noinclude tags).

A line break right before {{Documentation}} can also be useful as it helps prevent the documentation template "running into" previous code.