Template Documentation [ view ] [ edit ]
{{Documentation}} is a meta template used on all template pages to document how the template is used. The documentation is displayed in a green box like you are seeing now and automatically loads the content from a /doc subpage.
Usage
This template is typically placed at the top of the template code with no space before <noinclude> (which would cause extra space on pages where the template is used).
<noinclude>{{Documentation}} </noinclude>
Categorization
Categories that apply to the template itself should be added to the bottom of the /doc subpage inside <includeonly>...</includeonly>.
This template adds pages that have {{Documentation}} but no /doc subpage (and therefore no actual documentation) to Category:Templates missing documentation.
Linked templates
The final header is Templates that use this template. There you will find a list of all template that use this template, allowing for easier visibility of the impacts
Technical notes
- Use of this template allows the template page to be protected where necessary, while allowing anyone to edit the documentation and categories.
- If the documentation page contains <noinclude> or <includeonly> tags as part of the visible documentation text, replace the
<
with&<
.
See also
Wikipedia:Template:Documentation - The Wikipedia documentation template.
Templates that use this template
- Template:Infobox (transclusion) (← links)
- Template:Mbox (transclusion) (← links)
- Template:Notice (transclusion) (← links)
- Template:Navbox (transclusion) (← links)
- Template:User (transclusion) (← links)
- Template:Disambiguation (transclusion) (← links)
- Template:Infobox Magic Element (transclusion) (← links)
- Template:Hatnote (transclusion) (← links)
- Template:For (transclusion) (← links)
- Template:Session (transclusion) (← links)
- Template:Campaign (transclusion) (← links)
- Template:Party (transclusion) (← links)
- Template:Documentation (transclusion) (← links)
- Template:Documentation/doc (← links)
- Template:Shortcut (transclusion) (← links)
- Template:Container category (transclusion) (← links)
- Template:Important (transclusion) (← links)
- Template:Hidden category (transclusion) (← links)
- Template:Caution (transclusion) (← links)
- Template:High-use (transclusion) (← links)
- Template:About (transclusion) (← links)
- Template:Player character (transclusion) (← links)
- Template:Wikipedia doc (transclusion) (← links)
- Template:Redirect (transclusion) (← links)
- Template:Doc (redirect page) (← links)
- Template:Stub (transclusion) (← links)
- Template:Old (transclusion) (← links)
- Template:Creature (transclusion) (← links)
- Template:Creature-multi (transclusion) (← links)
- Template:Trait (transclusion) (← links)
- Template:Featured (transclusion) (← links)
- Template:Main (transclusion) (← links)
- Template:In work (transclusion) (← links)
- Template:Critical path (transclusion) (← links)
- Template:Spell (transclusion) (← links)
- Template:List of spells/query (transclusion) (← links)
- Template:List of spells (transclusion) (← links)
- Template:Task (transclusion) (← links)
- Template:Form doc (transclusion) (← links)
- Template:Weapon (transclusion) (← links)
- Template:Weapon Type (transclusion) (← links)
- Template:Player character/weapon query (transclusion) (← links)
- Template:Trait short (transclusion) (← links)
- Template:Timeline (transclusion) (← links)
- Template:NPC (transclusion) (← links)
- Template:NPC-GM (transclusion) (← links)
- Template:Month (transclusion) (← links)
- Template:Imagemap Magic elements arcs.png (transclusion) (← links)
- Template:Obsolete (transclusion) (← links)
- Template:Condition (transclusion) (← links)