Jump to content

Template:Tunit

From Wikimedia Foundation Governance Wiki
Revision as of 20:21, 28 June 2022 by MMoss (WMF) (talk | contribs) (Template originally contributed by User:Pols12 in April 2022 on Meta-Wiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{{content}}}

Template documentation

Usage

{{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.}}
{{Tunit |id=XXX |content=The unit content, in case there is no available translation.|page=Page from where the unit should be picked up}}

Reuses a translation unit when a same message is duplicated several times in the page.

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