Template:Language/archives/Autolang

Từ Valve Developer Community
Bước tới điều hướng Bước tới tìm kiếm
English (en)Deutsch (de)Español (es)Hrvatski (hr)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 = 中文(台灣)
‎}}
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [xem] [sửa đổi] [tạo Tiếng Việt (vi)]
Icon-translate.png Available doc translations
Info.png
The Template:Language/archives/Autolang/doc/vi documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.
Info content.png
Cái trang ngôn ngữ này cần được cập nhật.
Bạn có thể bấm vào đây để cập nhật bản dịch của trang này.
Also, please make sure the article complies with the alternate languages guide.(en)
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 {{Uselangflags}} hoặc {{LanguageBar}}. Tài liệu của mẫu được viết bằng cách sử dụng mẫu này.
Nếu bạn tìm thấy lỗi mất chữ, thử dùng "| 1 = Text" hoặc xóa một cột "|".

Cách sử dụng

Thông số

  • {{{1}}} - (Tham số chưa có tên) giá trị mặc định để hiển thị (nếu cải ngôn ngữ này chưa được dịch). Nó cần phải là Tiếng Anh.
  • {{{<lang code>}}} - Giá trị phải là nội dung của ngôn ngữ này. Xem các ví dụ để biết chi tiết.
  • {{{int}}} - The template should decide the language according to the interface language instead of page language if enbaled.

Ví dụ

English (en)Deutsch (de)日本語 (ja)Русский (ru)Tiếng Việt (vi)中文 (zh)

Các nút bên phải có thể giúp bạn thay đổi ngôn ngữ của giao diện một cách dễ dàng.
{{#switch: {{intlang}}|#default = Document}} → Document
{{#switch: {{intlang}}|#default = Document|zh=文档}} → Document
{{#switch: {{intlang}}|#default = Document|ru=документ|zh=文档|de=Dokument|ja=文書|fr=Document|vi=Tài liệu}} → Tài liệu

{{#switch: {{intlang}} | #default = Document | ru = документ | zh = 文档 | hr = Dokument | de = Dokument | ja = 文書 | fr = Document | vi = Tài liệu }}
→ Tài liệu (Same as above, but with usage of line breaks and spacing to making it look less messy)

Xem thêm