Template:Documentation: Difference between revisions
Template page
More actions
m replace image |
m 1 revision imported |
(No difference)
| |
Latest revision as of 12:01, 22 March 2026
English • čeština • Deutsch • español • français • italiano • 日本語 • 한국어 • polski • português • português do Brasil • русский • ไทย • Türkçe • українська • Tiếng Việt • 中文(简体) • 中文(繁體)
File:Notebook.pngDocumentation
This template is used to contain the documented information and instructions of a certain template.
Usage
To use this template, use the following syntax:
{{Documentation|doc =
template documentation...
}}
Parameters
docTemplate:Sup- The documentation of the template. Will add the template to "Template without documentation" category if empty.
Example
It is recommended to use the <noinclude> tag to prevent the documentation from appearing when the template is used:
<noinclude>
{{Documentation|doc =
template documentation...
}}
</noinclude><includeonly>template code...</includeonly>
How to translate
This template doesn't need to/shouldn't be translated, but you can translate the documentation of this template with the following steps:
- Create a subpage of this template with the language code of the language you want to translate to.
- Copy the code wrapped in the
<noinclude>tag in this template into the page you created.{{Translation guide}}template should be removed from the translated documentation.
- Translate the page according to the translation requirements of normal pages.
See also
Editors can experiment in this template's sandbox.