Template:Documentation subpage/doc: Difference between revisions
Template page
More actions
mNo edit summary |
mNo edit summary |
||
| Line 11: | Line 11: | ||
}} | }} | ||
|1= | |1=1 | ||
|1d= | |1d= | ||
{{LangSwitch | {{LangSwitch | ||
|en= | |en=If set to "override", allows to force the display of this template. Use only if the documentation page does not end in "/doc". | ||
|fr= | |fr=Si passé comme « override », permet de forcer l’affichage de ce modèle. N’utiliser que si la page de documentation page ne se termine pas en « /doc ». | ||
}} | }} | ||
|1def= | |1def= | ||
Revision as of 16:28, 1 September 2010
Place {{documentation subpage}} at the top of all template documentation pages. It does not need to be in <noinclude> tags because it will only show up on "/doc" pages.
- If the subpage ends is named something other than "doc", use
{{documentation subpage|override}}. - If the template page is different from the base page name, use
{{documentation subpage|page=Template:Example}}.
Usage
{{Documentation subpage
|1 =
|page =
}}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | If set to "override", allows to force the display of this template. Use only if the documentation page does not end in "/doc". | empty | optional | |
page | Full page name of the described template. Use only if the documentation page is not a subpage of the described template. | empty | optional | |
Additional information
The template is intended to be used in the following namespaces: the Template namespace
The template is intended to be used by the following user groups: no user group specified
See also
m:Template:Documentation, en:Wikipedia:Template documentation (for how this template is used)