Template:Dochead/doc
Jump to navigation
Jump to search
This template automatically inserts the default documentation header:
Documentation transcluded from /doc
on templates and modules, while also providing a link to the documentation subpage. It is wrapped in a <span>
element with a switchable display
so that it is visible on the base page but not on the documentation page.
It also places items inside their respective categories, which eliminates the need to do this manually. Currently, it is configured to place templates inside Category:Templates and modules inside Category:Lua modules.
Usage
This template is invoked by placing {{dochead}}
at the top of a module or template's /doc
subpage.
See also
- Template:Docheadwiki – Similar template, used mainly for templates which are more or less copied over from Wikipedia.