Jump to content

Template:Mt

From mediawiki.org

Template get language code and do test by the parameters

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Language code1

Canonical language code 'en' for i.e.

Stringrequired
Source pageo

Orignal source (translatable) page (i.e. Template:Main_page).

Stringoptional
Target paget

Target page where is original transclusioned.

Stringoptional
Separators

String, used as separator if used parameter 'print'.

Stringoptional
Print parametersprint

If attribute not set, or has invalid value, print active link to language subpage of target page. If target page is untranslatable, print string 'untranslate'. If target page translateble, but origin translate into target language missing, print 'origin'. Attribute value 'plain' declare be print language name not as active link to target page ('plaincode' it's same only langcode be print).

Suggested values
attr code dot dotcode lang none plain plaincode
Stringoptional