Jump to content

Template:Tunit/doc/fr

From Meta, a Wikimedia project coordination wiki
This page is a translated version of the page Template:Tunit/doc and the translation is 100% complete.

Tunit est l'abréviation de "translation unit" (unité de traduction). Ce modèle permet de réutiliser le même contenu plusieurs fois dans une page traduisible ; les traducteurs ne devant la traduire qu'une seule fois.

Utilisation

{{Tunit |XXX |The unit content, in case there is no available translation.}}
{{Tunit |1=XXX |2=The unit content, in case there is no available translation.}}
{{Tunit |id=XXX |content=The unit content, in case there is no available translation.}}

Reuses a translation unit when a same message is duplicated several times in the page, or from another page. NOTE: Does not support content with <tvar>s.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Unit Identifier1 id

Identifier of the unit you want to reuse the translation. Usually a number. XXX in <!--T:XXX--> marker.

Example
5
Stringrequired
Unit content2 content

Full content of the unit (will be used if the translation is not available).

Contentrequired
Source page3 page

Page from where the unit should be picked up.

Page nameoptional
Use User Interface language4 uilang

If set, the user interface language will be used as target language on pages without language code suffix in their title.

Example
1
Booleanoptional

Voir aussi

  • {{Translated content}} - ce modèle réutilise une unité de traduction d'une autre page - il nécessite le nom de la page et utilise la langue de l'interface comme langue cible.