Modèle:Empty doc
Usage
Use this template where {{doc}} won’t work for code or wiki reasons (e.g. {{kb}}). Can also work to document {{Test}} or its alternatives (e.g. {{Test2}}).
Parameter Usage
{{empty doc|
documentation
|bypass=1|nocat=yes}}
Documentation
Here, put the exact documentation for the template. Feel free to use sections and other wiki codes, as the template won’t break with most of these.
One huge exception: You must always escape equality signs (since the template normally reads them as extra parameter keys), either by using the template {{=}} or by using <nowiki> tags: <nowiki>=</nowiki>
.
Bypass=1 (or yes) (Optional)
Use this on templates which have a /doc, but you still want to put an empty doc on it. Put this when you are adding this to Template:Test.
Nocat=yes (or y) (Optional)
Put this if you don’t want it to add a page into Category:Modèles sans documentation. This may happen in demonstrations of the template, where you don’t want to put documentation.
Subpages
- Template:Empty doc/edithist, used for coding purposes.