Modèle:Doc
Aller à la navigation
Aller à la recherche
Documentation La documentation ci-dessous est transcluse de Modèle:Doc/doc. (modifier | historique)
[purger]
This template is used to transclude a template's documentation from its
subpage onto the template page itself. Usually, it is located at the bottom of the template code and wrapped in /doc
<noinclude>
tags: <noinclude>{{doc}}<noinclude>
Usage
{{ doc | <documentation source page> | baddoc = y }}
- First unnamed parameter
Source page of the documentation, without the
suffix. Defaults to the page name, so it can almost always be omitted.
/doc
- baddoc
Set this parameter if the documentation seems outdated or insufficient.
See also
- {{doc/preload}} – Text that will be preloaded into the edit box when the "create" link is clicked on templates with no existing
subpage./doc