From Valve Developer Community
Jump to navigation
Jump to search
Template:Uselang

Available doc translations
…
English
This template can change the content automaticaly according to the language of the UI. Should use with {{uselang}}
. The documentation of the template is written by using this template.
Usage
Parameters
- {{{1}}} - (Unnamed parameter) the default value to show (when this language has not translation). It should be in English.
- {{{<lang code>}}} - The value should be the content of this language. See examples for details.
Examples
Template:Uselang
The buttons on the right can help you change the language of the UI easily.
{{autolang|Document}} → Document
{{autolang|Document|zh-cn=文档}} → Document
{{autolang|Document|ru=документ|zh-cn=文档|de=Dokument|ja=文書|fr=Document}} → Document
See Also
{{uselang}}
{{uilang}}
{{suflang}}