Template:Zh other

Permanently protected template
From mediawiki.org

en

Template documentation

If the user interface language code is Chinese or one of its variants, returns the language code for Chinese (zh); otherwise, returns the user interface language code.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

Language code to return when the language code is Chinese

Default
zh
Unknownoptional
22

Language code to return when the language code is other than Chinese

Unknownoptional
uselanguselang lang

Language code used for determination

Unknownoptional