« Modèle:Documentation » : différence entre les versions

De wikarphy
make documentation translatable
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 à 10:53

<languages /><translate> <tvar|1></></translate>

{{#switch:<translate></translate> | =

Documentation du modèle

Modèle:Lua <translate>

Usage

Customizing display

Overrides exist to customize the output in special cases: </translate>

  • {{documentation|heading=}} - <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>

<translate>

Rationale

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> It also reduces server resources by circumventing a technical limitation of templates (see a [<tvar

| #default=

Documentation du modèle

Modèle:Lua <translate>

Usage

Customizing display

Overrides exist to customize the output in special cases: </translate>

  • {{documentation|heading=}} - <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>

<translate>

Rationale

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> It also reduces server resources by circumventing a technical limitation of templates (see a [<tvar

{{#if:Modèle:Lua

<translate>

Usage

Customizing display

Overrides exist to customize the output in special cases: </translate>

  • {{documentation|heading=}} - <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>

<translate>

Rationale

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> It also reduces server resources by circumventing a technical limitation of templates (see a [<tvar| [[Category:Template documentation pages{{#translation:}}]] }} }} [[Category:Template documentation{{#translation:}}| ]] [[Category:Formatting templates{{#translation:}}|Template documentation]]