Template:Language/archives/Uilang: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(faster and generally better version of template. easier on the eyes too. I got rid of arabic, but there are no pages in arabic on this site.)
Line 1: Line 1:
<onlyinclude><includeonly>{{#switch:{{int:preview}} {{int:view}} {{int:edit}} {{int:delete}} {{int:create}} {{int:talk}} {{int:article}} {{int:search}} {{int:specialpages}}
<onlyinclude><includeonly>
|#default={{{eng|}}}
<!--argument 1 if the language is not english -->
|عرض مسبق مطالعة عدل حذف أنشئ نقاش صفحة محتوى بحث الصفحات الخاصة={{{1|}}}ar
{{#ifeq:{{int:View}}|View||{{{1|}}}}}<!--
|Previsualització Mostra Modifica Suprimeix Crea Discussió Pàgina de contingut Cerca Pàgines especials={{{1|}}}ca
 
|Náhled Zobrazit Editovat Smazat Vytvořit Diskuse Obsahová stránka Hledat Speciální stránky={{{1|}}}cs
-->{{
|Vorschau Lesen Bearbeiten Löschen Erstellen Diskussion Seite Suche Spezialseiten={{{1|}}}de
#switch: {{int:View}}
|Previsualizar Ver Editar Borrar Crear Discusión Página de contenido Buscar Páginas especiales={{{1|}}}es
|#default=unknown
|Eelvaade Vaata Muuda Kustuta Loo Arutelu artikkel Otsing Erileheküljed={{{1|}}}et
|View=
|Prévisualisation Lire Modifier Supprimer Créer Discussion Page de contenu Rechercher Pages spéciales={{{1|}}}fr
|Mostra=ca
|Előnézet Olvasás Szerkesztés Törlés Létrehozás Vitalap Szócikk Keresés Speciális lapok={{{1|}}}hu
|Zobrazit=cs
|Anteprima Visualizza Modifica Cancella Crea Discussione Voce Ricerca Pagine speciali={{{1|}}}it
|Lesen=de
|Voorvertoning Lezen Bewerken Verwijderen Aanmaken Overleg Pagina Zoeken Speciale pagina's={{{1|}}}nl
|Ver= {{
|Forhåndsvisning Vis Rediger Slett Opprett Diskusjon Innholdsside Søk Spesialsider={{{1|}}}no
    #switch: {{int:Permalink}}
|Podgląd Podgląd Edytuj Usuń Utwórz Dyskusja artykuł Szukaj Strony specjalne={{{1|}}}pl
    |Enlace permanente=es
|Antevisão Ver Editar Eliminar Criar Discussão Página de conteúdo Pesquisa Páginas especiais={{{1|}}}pt
    |Hiperligação permanente=pt
|Pré-visualização Ver Editar Eliminar Criar Discussão Página de conteúdo Pesquisa Páginas especiais={{{1|}}}pt-br
    |Ligação permanente=pt-br
|Предпросмотр Просмотр Править Удалить Создать Обсуждение Статья Поиск Спецстраницы={{{1|}}}ru
    }}
|Попередній перегляд Перегляд Редагувати Вилучити Створити Обговорення Стаття Пошук Спеціальні сторінки={{{1|}}}uk
|Vaata=et
|Förhandsgranska Visa Redigera Radera Skapa Diskussion Innehållssida Sök Specialsidor={{{1|}}}sv
|Lire=fr
|Önizleme Görüntüle Düzenle Sil Oluştur Tartışma İçerik sayfası Ara Özel sayfalar={{{1|}}}tr
|Olvasás=hu
|プレビュー 閲覧 編集 削除 作成 議論 本文 検索 特別ページ={{{1|}}}ja
|Visualizza=it
|预览 查看 编辑 删除 创建 讨论 内容页面 搜索 特殊页面={{{1|}}}zh-cn
|Lezen=nl
|預覽 檢視 編輯 刪除 建立 討論 內容頁面 搜尋 特殊頁面={{{1|}}}zh-tw
|Vis=no
|미리 보기 보기 편집 삭제 만들기 토론 본문 검색 특수 문서 목록={{{1|}}}ko
|Podgląd=pl
|წინასწარი გადახედვა იხილე რედაქტირება წაშლა შექმნა განხილვა სტატია ძიება სპეციალური გვერდები={{{1|}}}ka
|Просмотр=ru
|תצוגה מקדימה צפייה עריכה מחיקה יצירה שיחה דף תוכן חיפוש דפים מיוחדים={{{1|}}}he
|Перегляд=uk
}}</includeonly></onlyinclude>
|Visa=sv
|Görüntüle=tr
|閲覧=ja
|查看=zh-cn
|檢視=zh-tw
|보기=ko
|იხილე=ka
|צפייה=he
}}
</includeonly></onlyinclude>
{{documentation|content=This template makes it easy to get the language of the current user, i.e. the language of the UI. The template returns the language code of the user's language. It is useful for supporting multiple languages on one page.
{{documentation|content=This template makes it easy to get the language of the current user, i.e. the language of the UI. The template returns the language code of the user's language. It is useful for supporting multiple languages on one page.
== Usage ==
== Usage ==

Revision as of 13:11, 22 February 2023

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 [view] [create]
Icon-translate.png Available doc translations
Info.png
The Template:Language/archives/Uilang/doc 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.

This template makes it easy to get the language of the current user, i.e. the language of the UI. The template returns the language code of the user's language. It is useful for supporting multiple languages on one page.

Usage

Parameters

  • {{{1}}} - Optional: The content to append before the language code. See also examples to understand it better.

Examples

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)
{{uilang|/}}
Note.pngNote:This will change automaticaly according to your language of UI. Click the flag on the right can change the language quickly. The template will return nothing if your language is in English.

See Also

  • {{doc}}
  • {{autolang}}
  • {{Uselangflags}}
  • {{suflang}}