Template:Documentation/doc: Difference between revisions
More actions
mNo edit summary |
No edit summary |
||
| Line 37: | Line 37: | ||
[[Category:Template namespace templates|{{PAGENAME}}]] | [[Category:Template namespace templates|{{PAGENAME}}]] | ||
[[als:Vorlage:Dokumentation]] | |||
[[ar:قالب:توثيق]] | |||
[[ba:Ҡалып:Doc]] | |||
[[bar:Vorlage:Dokumentation]] | |||
[[bg:Шаблон:Документация]] | |||
[[bs:Šablon:Dokumentacija]] | |||
[[ca:Plantilla:Ús de la plantilla]] | |||
[[cs:Šablona:Dokumentace]] | |||
[[cy:Nodyn:Doc]] | |||
[[da:Skabelon:Dokumentation]] | |||
[[de:Vorlage:Dokumentation]] | |||
[[dsb:Pśedłoga:Dokumentacija]] | |||
[[en:Template:Documentation]] | |||
[[et:Mall:Dokumentatsioon]] | |||
[[es:Plantilla:Documentación]] | |||
[[el:Πρότυπο:Τεκμηρίωση προτύπου]] | |||
[[eo:Ŝablono:Dok]] | [[eo:Ŝablono:Dok]] | ||
[[ | [[eu:Txantiloi:Txantiloi dokumentazioa]] | ||
[[ | [[fa:الگو:توضیحات]] | ||
[[ | [[fr:Modèle:Documentation]] | ||
[[hsb:Předłoha: | [[gl:Modelo:Uso de marcador]] | ||
[[he:תבנית:תיעוד]] | |||
[[hsb:Předłoha:Dokumentacija]] | |||
[[la:Formula:Documentation]] | |||
[[ltg:Taiss:Dokumentaceja]] | |||
[[hu:Sablon:Sablondokumentáció]] | [[hu:Sablon:Sablondokumentáció]] | ||
[[hy:Կաղապար:Փաստաթղթեր]] | |||
[[ia:Patrono:Docpatrono]] | |||
[[id:Templat:Dokumentasi]] | |||
[[it:Template:Man]] | |||
[[ja:Template:Documentation]] | |||
[[ko:틀:틀 설명문서]] | [[ko:틀:틀 설명문서]] | ||
[[ku:Şablon:Belgekirin]] | |||
[[ml:ഫലകം:വിവരണം]] | |||
[[ms:Templat:Dokumentasi]] | |||
[[no:mal:Dokumentasjon]] | |||
[[nl:Sjabloon:Sjabdoc]] | [[nl:Sjabloon:Sjabdoc]] | ||
[[pl:Szablon:Dokumentacja]] | |||
[[pt:Predefinição:Documentação]] | |||
[[ro:Format:Documentaţie]] | |||
[[ru:Шаблон:Doc]] | [[ru:Шаблон:Doc]] | ||
[[simple:Template:Documentation]] | |||
[[sk:Šablóna:Dokumentácia]] | |||
[[sl:Predloga:Dokumentacija]] | [[sl:Predloga:Dokumentacija]] | ||
[[ | [[sr:Шаблон:Документација]] | ||
[[ | [[sq:Stampa:Dokumentacion]] | ||
[[stq:Foarloage:Dokumentation]] | |||
[[sv:Mall:Dokumentation]] | |||
[[sw:Kigezo:Documentation]] | |||
[[tr:Şablon:Belgeleme]] | |||
[[tt:Үрнәк:Doc]] | |||
[[tpi:Template:Template doc]] | |||
[[uk:Шаблон:Документація]] | |||
[[ur:سانچہ:Documentation]] | |||
[[war:Template:Documentation]] | |||
[[yo:Àdàkọ:Aṣàlàyé]] | |||
[[zh:Template:Documentation]] | |||
[[te:మూస:Documentation]] | |||
</includeonly> | </includeonly> | ||
Revision as of 22:31, 13 September 2011
This template automatically displays a documentation box like you are seeing now, of which the content is transcluded from another page. It is intended for pages which are transcluded in other pages, i.e. templates, whether in the template namespace or not.
Usage
{{documentation |1= |heading= }}
This template allows any page to use any documentation page, and makes it possible to protect templates while allowing anyone to edit the template's documentation, categories, and interwiki links. It also reduces server resources by circumventing a technical limitation of templates (see a developer's explanation).
This code should be added at the bottom of the template code, with no extra space before "<noinclude>" (which would cause extra space on pages where the template is used). The parameter can be used as shown above to transclude an arbitrary documentation page.
Add categories and interwiki links to the documentation page inside includeonly tags.
If the documentation page contains includeonly or noinclude tags as part of the documentation, replace the "<" with "<".
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | title | The page mentioned above, the suffix /doc | optional | |
heading | change the text of the "documentation" heading. If this is set to blank, the entire heading line (including the first [edit] link) will also disappear. If the documentation page doesn't exist, the "edit" link includes a preload parameter so that clicking it will pre-fill the edit form with the basic documentation page format. | The page mentioned above, the suffix /doc | 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
Placement: At the bottom of the page
See also
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)