Template:Tunit
{{{content}}}
Tunit stands for "translation unit". This template allows to reuse the same content several times in a translatable page; translators having to translate it only once.
Usage
[edit]{{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.}}
TemplateData
[edit]This is the TemplateData documentation for this template used by VisualEditor and other tools.
Tunit
Reuses a translation unit on this page, use {{tmpl}} for numeric <tvar>s.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Unit ID | 1 | The translation unit identifier, usually a number, but can also be "Page display title". | String | required |
Untranslated Content | 2 | The untranslated content in the wiki content language. | Content | required |
Source Page | 3 | The translatable page from where to fetch the translation unit, defaults to the current page without a langauge code suffix.
| Page name | optional |
Use UI Language? | uilang | Whether to use the UI language instead of the page language on pages without a language code suffix.
| Boolean | optional |