Difference between revisions of "Template:Language table"

From RRU Knowledge Base
m
m
Line 3: Line 3:
! colspan=2 | Language
! colspan=2 | Language
! Name
! Name
{{#ifeq: {{{meaning|}}} | yes | ! Meaning |}}
|-
|-
{{#if: {{{zh-cn|}}}|
{{#if: {{{zh-cn|}}}|
Line 10: Line 11:
{{!}} [[File:Flag of the People's Republic of China.png|20px|link=]] China
{{!}} [[File:Flag of the People's Republic of China.png|20px|link=]] China
{{!}} {{{zh-cn}}}{{#if: {{{zh-cnR|}}}|<br>''{{{zh-cnR}}}''}}
{{!}} {{{zh-cn}}}{{#if: {{{zh-cnR|}}}|<br>''{{{zh-cnR}}}''}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{zh-cnM|}}} |}}
{{!}}-
{{!}}-
{{!}} [[File:Flag of the Republic of China.png|20px|link=]] Taiwan
{{!}} [[File:Flag of the Republic of China.png|20px|link=]] Taiwan
{{!}} {{{zh-tw}}}{{#if: {{{zh-twR|}}}|<br>''{{{zh-twR}}''}}|
{{!}} {{{zh-tw}}}{{#if: {{{zh-twR|}}}|<br>''{{{zh-twR}}}''}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{zh-twM|}}} |}}|
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} Chinese <span lang="zh-cn">中文</span>
{{!}} colspan=2 {{!}} Chinese <span lang="zh-cn">中文</span>
Line 25: Line 28:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} Czech <span lang="cs"><em>Čeština</em></span>
{{!}} colspan=2 {{!}} Czech <span lang="cs"><em>Čeština</em></span>
{{!}} {{{cs}}}|
{{!}} {{{cs}}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{csM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 31: Line 35:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} Danish <span lang="da"><em>Dansk</em></span>
{{!}} colspan=2 {{!}} Danish <span lang="da"><em>Dansk</em></span>
{{!}} {{{da}}}|
{{!}} {{{da}}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{daM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 37: Line 42:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} Dutch <span lang="nl"><em>Nederlands</em></span>
{{!}} colspan=2 {{!}} Dutch <span lang="nl"><em>Nederlands</em></span>
{{!}} {{{nl}}}|
{{!}} {{{nl}}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{nlM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 43: Line 49:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} English <span lang="en"><em>English</em></span>
{{!}} colspan=2 {{!}} English <span lang="en"><em>English</em></span>
{{!}} {{{en}}}|
{{!}} {{{en}}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{enM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 49: Line 56:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} Finnish <span lang="fr"><em>Suomi</em></span>
{{!}} colspan=2 {{!}} Finnish <span lang="fr"><em>Suomi</em></span>
{{!}} {{{fi}}}|
{{!}} {{{fi}}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{fiM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 55: Line 63:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} French <span lang="fr"><em>Français</em></span>
{{!}} colspan=2 {{!}} French <span lang="fr"><em>Français</em></span>
{{!}} {{{fr}}}|
{{!}} {{{fr}}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{frM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 61: Line 70:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} German <span lang="de"><em>Deutsch</em></span>
{{!}} colspan=2 {{!}} German <span lang="de"><em>Deutsch</em></span>
{{!}} {{{de}}}|
{{!}} {{{de}}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{deM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 67: Line 77:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} Hebrew <span lang="he">עִבְרִית</span>
{{!}} colspan=2 {{!}} Hebrew <span lang="he">עִבְרִית</span>
{{!}} {{{he}}}{{#if: {{{heR|}}}|<br>''{{{heR}}}''}}|
{{!}} {{{he}}}{{#if: {{{heR|}}}|<br>''{{{heR}}}''}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{heM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 73: Line 84:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} Hungarian <span lang="hu"><em>Magyar</em></span>
{{!}} colspan=2 {{!}} Hungarian <span lang="hu"><em>Magyar</em></span>
{{!}} {{{hu}}}|
{{!}} {{{hu}}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{huM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 79: Line 91:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} Icelandic <span lang="is"><em>Íslenska</em></span>
{{!}} colspan=2 {{!}} Icelandic <span lang="is"><em>Íslenska</em></span>
{{!}} {{{is}}}|
{{!}} {{{is}}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{isM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 85: Line 98:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} Italian <span lang="it"><em>Italiano</em></span>
{{!}} colspan=2 {{!}} Italian <span lang="it"><em>Italiano</em></span>
{{!}} {{{it}}}|
{{!}} {{{it}}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{itM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 91: Line 105:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} Japanese <span lang="ja">日本語</span>  
{{!}} colspan=2 {{!}} Japanese <span lang="ja">日本語</span>  
{{!}} {{{ja}}}{{#if: {{{jaR|}}}|<br>''{{{jaR}}}''}}|
{{!}} {{{ja}}}{{#if: {{{jaR|}}}|<br>''{{{jaR}}}''}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{jaM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 97: Line 112:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} Korean <span lang="ko">한국어</span>
{{!}} colspan=2 {{!}} Korean <span lang="ko">한국어</span>
{{!}} {{{ko}}}{{#if: {{{koR|}}}|<br>''{{{koR}}}''}}|
{{!}} {{{ko}}}{{#if: {{{koR|}}}|<br>''{{{koR}}}''}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{koM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 103: Line 119:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} Malay <span lang="ms"><em>Melayu</em></span>
{{!}} colspan=2 {{!}} Malay <span lang="ms"><em>Melayu</em></span>
{{!}} {{{ms}}}|
{{!}} {{{ms}}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{msM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 109: Line 126:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} Norwegian <span lang="no"><em>Norsk</em></span>
{{!}} colspan=2 {{!}} Norwegian <span lang="no"><em>Norsk</em></span>
{{!}} {{{no}}}|
{{!}} {{{no}}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{noM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 115: Line 133:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} Polish <span lang="pl"><em>Polski</em></span>
{{!}} colspan=2 {{!}} Polish <span lang="pl"><em>Polski</em></span>
{{!}} {{{pl}}}|
{{!}} {{{pl}}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{plM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 121: Line 140:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} Portuguese <span lang="pt"><em>Português</em></span>
{{!}} colspan=2 {{!}} Portuguese <span lang="pt"><em>Português</em></span>
{{!}} {{{pt}}}|
{{!}} {{{pt}}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{ptM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 127: Line 147:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} Russian <span lang="ru">Русский</span>
{{!}} colspan=2 {{!}} Russian <span lang="ru">Русский</span>
{{!}} {{{ru}}}{{#if: {{{ruR|}}}|<br>''{{{ruR}}}''}}|
{{!}} {{{ru}}}{{#if: {{{ruR|}}}|<br>''{{{ruR}}}''}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{ruM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 133: Line 154:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} Spanish <span lang="es"><em>Español</em></span>
{{!}} colspan=2 {{!}} Spanish <span lang="es"><em>Español</em></span>
{{!}} {{{es}}}|
{{!}} {{{es}}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{esM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
Line 139: Line 161:
{{!}}-
{{!}}-
{{!}} colspan=2 {{!}} Swedish <span lang="sv"><em>Svenska</em></span>
{{!}} colspan=2 {{!}} Swedish <span lang="sv"><em>Svenska</em></span>
{{!}} {{{sv}}}|
{{!}} {{{sv}}}
{{#ifeq: {{{meaning|}}} | yes | {{!}} {{{svM|}}} |}}|
{{!}}-
{{!}}-
}}
}}
{{#if: {{{footnote|}}}|
{{#if: {{{footnote|}}}|
{{!}}-
{{!}}-
{{!}} colspan=3 {{!}} <small>{{{footnote}}}</small> |
{{!}} colspan={{#ifeq: {{{meaning|}}} | yes |4|3}} {{!}} <small>{{{footnote}}}</small> |
{{!}}-
{{!}}-
}}
}}
Line 165: Line 188:
This template uses standard [[Wikipedia:ISO 3166-1|ISO]] codes. The following table contains a list of the currently-usable codes:
This template uses standard [[Wikipedia:ISO 3166-1|ISO]] codes. The following table contains a list of the currently-usable codes:
{{Langtable
{{Langtable
|zh-cn=zh-cn
|meaning=yes
|zh-tw=zh-tw
|zh-cn=zh-cn|zh-cnR=zh-cnR|zh-cnM=zh-cnM
|cs=cs
|zh-tw=zh-tw|zh-twR=zh-twR|zh-twM=zh-twM
|da=da
|cs=cs|csM=csM
|nl=nl
|da=da|daM=daM
|en=en
|nl=nl|nlM=nlM
|fi=fi
|en=en|enM=enM
|fr=fr
|fi=fi|fiM=fiM
|de=de
|fr=fr|frM=frM
|he=he
|de=de|deM=deM
|hu=hu
|he=he|heR=heR|heM=heM
|is=is
|hu=hu|huM=huM
|it=it
|is=is|isM=isM
|ja=ja
|it=it|itM=itM
|ko=ko
|ja=ja|jaR=jaR|jaM=jaM
|ms=ms
|ko=ko|koR=koR|koM=koM
|no=no
|ms=ms|msM=msM
|pl=pl
|no=no|noM=noM
|pt=pt
|pl=pl|plM=plM
|ru=ru
|pt=pt|ptM=ptM
|es=es
|ru=ru|ruR=ruR|ruM=ruM
|sv=sv
|es=es|esM=esM
|sv=sv|svM=svM
|footnote=footnote}}
|footnote=footnote}}
Further division of languages with significantly different translations for different regions speaking the same language (eg. the different names between American and British releases of some products, as well as any possible differences between European and American versions of other languages) may be desired.  
Further division of languages with significantly different translations for different regions speaking the same language (eg. the different names between American and British releases of some products, as well as any possible differences between European and American versions of other languages) may be desired.  

Revision as of 04:16, 19 April 2018

This template lists all official translations of the names of products, works, objects, locations, or characters across different regions and in different languages.

Usage instructions

To use this template, add the shortcut tag {{Langtable}} (avoid using the full {{Language table}}) to an article, under its own section. Here is an example of how it should look:

==Names in other languages==
{{Langtable
|xx=name
|xx=name
|xx=name}}

Where xx is an ISO code, and name is the subject's name in that language.

For subjects with a single dedicate article, this template should be placed near the end of the page, prior to any existing notes, references, and/or external links sections, but after all other sections. If the language table is for a certain section in an article, such as on a page listing subjects too minor to have their own articles, it should come at the very end of the section, with its own section being one level lower than the subject's main section.

Some of the divisions of languages (such as American and Australian English, or Brazilian Portuguese, being separate from the main entry) are not because of significant differences in the languages, but rather because of products in that country being named differently (most notably between UK and US English LEGO releases).

List of language codes

This template uses standard ISO codes. The following table contains a list of the currently-usable codes:

Language Name Meaning
Chinese 中文 20px China zh-cn
zh-cnR
zh-cnM
20px Taiwan zh-tw
zh-twR
zh-twM
Czech Čeština cs csM
Danish Dansk da daM
Dutch Nederlands nl nlM
English English en enM
Finnish Suomi fi fiM
French Français fr frM
German Deutsch de deM
Hebrew עִבְרִית he
heR
heM
Hungarian Magyar hu huM
Icelandic Íslenska is isM
Italian Italiano it itM
Japanese 日本語 ja
jaR
jaM
Korean 한국어 ko
koR
koM
Malay Melayu ms msM
Norwegian Norsk no noM
Polish Polski pl plM
Portuguese Português pt ptM
Russian Русский ru
ruR
ruM
Spanish Español es esM
Swedish Svenska sv svM
footnote

Further division of languages with significantly different translations for different regions speaking the same language (eg. the different names between American and British releases of some products, as well as any possible differences between European and American versions of other languages) may be desired.