Template:Language/archives/Autolang: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) mNo edit summary |
1416006136 (talk | contribs) No edit summary |
||
Line 26: | Line 26: | ||
|he={{{he|{{{1|}}}}}} | |he={{{he|{{{1|}}}}}} | ||
}}</onlyinclude></includeonly> | }}</onlyinclude></includeonly> | ||
{{documentation|content=This template can change the content automaticaly according to the language of the UI. Should use with {{tl|uselang}}. | {{{{autolang|documentation|zh-cn=documentation:zh-cn}}|content= | ||
{{:User:1416006136/Signature|lang={{autolang|en|zh-cn=}}|create=1}} | |||
{{autolang|This template can change the content automaticaly according to the language of the UI. Should use with {{tl|uselang}}.|zh-cn=该模板可以根据 UI 语言来自动更改显示的内容。应该与 {{tl|uselang}} 一起使用。}} | |||
*{{param|1}} - (Unnamed parameter) the default value to show (when this language has not translation). It should be in English. | <h2>{{autolang|Usage|zh-cn=用法}}</h2> | ||
*{{param|<lang code>}} - The value should be the content of this language. See examples for details. | <h3>{{autolang|Parameters|zh-cn=参数}}</h3> | ||
*{{param|1}} - {{autolang|(Unnamed parameter) the default value to show (when this language has not translation). It should be in English.|(未命名参数)要显示的默认值(当该语言没有翻译时)。它应该是用英语写的。}} | |||
< | *{{param|<lang code>}} - {{autolang|The value should be the content of this language. See examples for details.|zh-cn=它的值应该是这个语言的内容。参见示例查看详情。}} | ||
<h3>{{autolang|Examples|zh-cn=示例}}</h3> | |||
{{uselang|en=1|de=1|ja=1|ru=1|zh-cn=1|old-right-align=1|transparent=1|noborder=1}} | |||
The buttons on the right can help you change the language of the UI easily.<br> | The buttons on the right can help you change the language of the UI easily.<br> | ||
{{MdCode|<nowiki>{{autolang|Document}}</nowiki>}} → {{autolang|Document}}<br> | {{MdCode|<nowiki>{{autolang|Document}}</nowiki>}} → {{autolang|Document}}<br> | ||
{{MdCode|<nowiki>{{autolang|Document|zh-cn=文档}}</nowiki>}} → {{autolang|Document|zh-cn=文档}}<br> | {{MdCode|<nowiki>{{autolang|Document|zh-cn=文档}}</nowiki>}} → {{autolang|Document|zh-cn=文档}}<br> | ||
{{MdCode|<nowiki>{{autolang|Document|ru=документ|zh-cn=文档|de=Dokument|ja=文書|fr=Document}}</nowiki>}} → {{autolang|Document|ru=документ|zh-cn=文档|de=Dokument|ja=文書|fr=Document}}<br> | {{MdCode|<nowiki>{{autolang|Document|ru=документ|zh-cn=文档|de=Dokument|ja=文書|fr=Document}}</nowiki>}} → {{autolang|Document|ru=документ|zh-cn=文档|de=Dokument|ja=文書|fr=Document}}<br> | ||
<h2>{{autolang|See Also|zh-cn=另见}}</h2> | |||
*{{tl|uselang}} | *{{tl|uselang}} | ||
*{{tl|uilang}} | *{{tl|uilang}} | ||
}} | }} | ||
[[Category:English]][[Category:Translation templates]][[Category:Templates]] | [[Category:English]][[Category:Translation templates]][[Category:Templates]] |
Revision as of 07:20, 16 January 2023
The above documentation is transcluded from Template:Language/archives/Autolang/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.