Template:Language/archives/Autolang/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
{{autolang|This template can change the content automatically according to the language of the UI. Should use with {{tl|Uselangflags}}. The documentation of the template is written by using this template. <br>Also, if you encounter a bug that the text is missing, use {{code|"<nowiki>| 1 = Text</nowiki>"}} or try to remove atleast one pipe {{code|"<nowiki>|</nowiki>"}} as a workaround.
{{autolang|This template can change the content automatically according to the language of the UI. Should use with {{tl|Uselangflags}}. The documentation of the template is written by using this template. <br>Also, if you encounter a bug that the text is missing, use {{code|"<nowiki>| 1 = Text</nowiki>"}} or try to remove atleast one pipe {{code|"<nowiki>|</nowiki>"}} as a workaround.
|vi=Cái mẫu này có thể đổi nội dung theo ngôn ngữ của giao diện. Phải sử dụng với {{tl|Uselangflags}}. Tài liệu của mẫu được viết bằng cách sử dụng mẫu này.
|vi=Cái mẫu này có thể đổi nội dung theo ngôn ngữ của giao diện. Phải sử dụng với {{tl|Uselangflags}}. Tài liệu của mẫu được viết bằng cách sử dụng mẫu này.
|zh=该模板可以根据 UI 语言来自动更改显示的内容。应该与 {{tl|Uselangflags}} 一起使用。模板的文档是使用此模板编写的。<br>此外,如果你遇到了文本无法显示、丢失的 bug,请使用 {{code|"<nowiki>| 1 = Text</nowiki>"}} 解决。}}
|zh=该模板可以根据 UI 语言来自动更改显示的内容。应该与 {{tl|Uselangflags}} 一起使用。这个模板的文档是使用此模板编写的。<br>此外,如果你遇到了文本无法显示、丢失的 bug,请使用 {{code|"<nowiki>| 1 = Text</nowiki>"}} 解决。}}
<h2>{{autolang|Usage|vi=Cách sử dụng|zh=用法}}</h2>
<h2>{{autolang|Usage|vi=Cách sử dụng|zh=用法}}</h2>
<h3>{{autolang|Parameters|vi=Thông số|zh=参数}}</h3>
<h3>{{autolang|Parameters|vi=Thông số|zh=参数}}</h3>

Revision as of 10:05, 31 August 2023

Edit-copy.png
This is a documentation subpage for Template:Language.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}


Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

  • {{{1}}} -
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
  • {{{<lang code>}}} -
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

English (en)Deutsch (de)日本語 (ja)Русский (ru)Tiếng Việt (vi)中文 (zh)
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}


{{autolang|Document}}

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}


{{autolang|Document|zh=文档}}

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}


{{autolang|Document|ru=документ|zh=文档|de=Dokument|ja=文書|fr=Document|vi=Tài liệu}}

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}


{{autolang | Document | ru = документ | zh = 文档 | de = Dokument | ja = 文書 | fr = Document | vi = Tài liệu }}

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
(
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

)

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}