Template:Zh other/doc

From wikiNonStop

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

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