« Modèle:Documentation » : différence entre les versions
Aller à la navigation
Aller à la recherche
test0>Shirayuki (make documentation translatable) |
test0>Shirayuki (Marked this version for translation) |
||
Ligne 11 : | Ligne 11 : | ||
{{Lua|Module:Documentation}} | {{Lua|Module:Documentation}} | ||
<translate> | <translate> | ||
==Usage== | ==Usage== <!--T:2--> | ||
===Customizing display=== | ===Customizing display=== <!--T:3--> | ||
<!--T:4--> | |||
Overrides exist to customize the output in special cases: | Overrides exist to customize the output in special cases: | ||
</translate> | </translate> | ||
* <nowiki>{{</nowiki>documentation{{!}}'''heading'''=<nowiki>}}</nowiki> - <translate>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.</translate> | * <nowiki>{{</nowiki>documentation{{!}}'''heading'''=<nowiki>}}</nowiki> - <translate><!--T:5--> 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.</translate> | ||
<translate> | <translate> | ||
==Rationale== | ==Rationale== <!--T:6--> | ||
<!--T:7--> | |||
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.</translate> | 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.</translate> | ||
<translate> | <translate> | ||
<!--T:8--> | |||
It also reduces server resources by circumventing a [[w:Wikipedia:Template limits|technical limitation of templates]] (see a [<tvar|url>{{fullurl:en:Project:Village pump (technical)|diff=prev&oldid=69888944}}</> developer's explanation]). | It also reduces server resources by circumventing a [[w:Wikipedia:Template limits|technical limitation of templates]] (see a [<tvar|url>{{fullurl:en:Project:Village pump (technical)|diff=prev&oldid=69888944}}</> developer's explanation]). | ||
==See also== | ==See also== <!--T:9--> | ||
</translate> | </translate> | ||
* {{tiw|documentation subpage}} | * {{tiw|documentation subpage}} |
Version du 14 juillet 2019 à 11:53
<languages /><translate> <tvar|1></></translate>
{{#switch:<translate></translate> | = {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}} | #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Documentation|noshift=1}}
}} [[Category:Template documentation{{#translation:}}| ]] [[Category:Formatting templates{{#translation:}}|Template documentation]]