No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
It accepts {{Parameter|none}}. | It accepts {{Parameter|none}}. | ||
Any categories meant to apply to the template itself should be included in the documentation inside {{Code|<nowiki><includeonly /></nowiki>}} tags, rather than directly in the template.<!-- This documentation is a bad example, as it has to be specially formatted to prevent template loops.--> | |||
==Return== | ==Return== | ||
As it relies on the presence or existence of other pages, working examples cannot be provided. | As it relies on the presence or existence of other pages, working examples cannot be provided. | ||
Revision as of 14:40, 24 October 2022
Template:Documentation is used within the template namespace to automate the detection and presentation of documentation.
Usage
It should be included at the top of every template's main page — Boilerplate:Template does this automatically.
It accepts no parameters.
Any categories meant to apply to the template itself should be included in the documentation inside <includeonly /> tags, rather than directly in the template.
Return
As it relies on the presence or existence of other pages, working examples cannot be provided.
