Difference between revisions of "Template:Language table"
Jessietail (talk | contribs) m |
Jessietail (talk | contribs) m (some other languages official lego stuff seems to exist in - might not be relevant to anything we cover but just in case) |
||
Line 5: | Line 5: | ||
{{#ifeq: {{{meaning|}}} | no || ! Meaning }} | {{#ifeq: {{{meaning|}}} | no || ! Meaning }} | ||
|- | |- | ||
{{#if: {{{ar|}}}| | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} Arabic <span lang="ar">العربية</span> | |||
{{!}} {{{ar}}}{{#if: {{{arR|}}}|<br>''{{{arR}}}''}} | |||
{{#ifeq: {{{meaning|}}} | no || {{!}} {{{arM|}}} }}| | |||
{{!}}- | |||
}} | |||
{{#if: {{{zh-cn|}}}| | {{#if: {{{zh-cn|}}}| | ||
{{#if: {{{zh-tw|}}}| | {{#if: {{{zh-tw|}}}| | ||
Line 72: | Line 79: | ||
{{!}} {{{de}}} | {{!}} {{{de}}} | ||
{{#ifeq: {{{meaning|}}} | no || {{!}} {{{deM|}}} }}| | {{#ifeq: {{{meaning|}}} | no || {{!}} {{{deM|}}} }}| | ||
{{!}}- | |||
}} | |||
{{#if: {{{el|}}}| | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} Greek <span lang="el">ελληνικά</span> | |||
{{!}} {{{el}}}{{#if: {{{elR|}}}|<br>''{{{elR}}}''}} | |||
{{#ifeq: {{{meaning|}}} | no || {{!}} {{{elM|}}} }}| | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 163: | Line 177: | ||
{{!}} {{{sv}}} | {{!}} {{{sv}}} | ||
{{#ifeq: {{{meaning|}}} | no || {{!}} {{{svM|}}} }}| | {{#ifeq: {{{meaning|}}} | no || {{!}} {{{svM|}}} }}| | ||
{{!}}- | |||
}} | |||
{{#if: {{{tr|}}}| | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} Turkish <span lang="sv"><em>Türkçe</em></span> | |||
{{!}} {{{tr}}} | |||
{{#ifeq: {{{meaning|}}} | no || {{!}} {{{trM|}}} }}| | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 170: | Line 191: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
==Usage instructions== | ==Usage instructions== | ||
This template lists all '''official translations''' of the names of products, works, objects, locations, or characters across different regions and in different languages. | |||
To use this template, add the shortcut tag {{tlc|Langtable}} (or the full tag {{tlc|Language table}}) to an article, under its own section. Here is an example of how it should look: | To use this template, add the shortcut tag {{tlc|Langtable}} (or the full tag {{tlc|Language table}}) to an article, under its own section. Here is an example of how it should look: | ||
<pre><nowiki>==Names in other languages== | <pre><nowiki>==Names in other languages== | ||
Line 190: | Line 212: | ||
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 | ||
|ar=ar|arR=arR|arM=arM | |||
|zh-cn=zh-cn|zh-cnR=zh-cnR|zh-cnM=zh-cnM | |zh-cn=zh-cn|zh-cnR=zh-cnR|zh-cnM=zh-cnM | ||
|zh-tw=zh-tw|zh-twR=zh-twR|zh-twM=zh-twM | |zh-tw=zh-tw|zh-twR=zh-twR|zh-twM=zh-twM | ||
Line 199: | Line 222: | ||
|fr=fr|frM=frM | |fr=fr|frM=frM | ||
|de=de|deM=deM | |de=de|deM=deM | ||
|el=el|elR=elR|elM=elM | |||
|he=he|heR=heR|heM=heM | |he=he|heR=heR|heM=heM | ||
|hu=hu|huM=huM | |hu=hu|huM=huM | ||
Line 212: | Line 236: | ||
|es=es|esM=esM | |es=es|esM=esM | ||
|sv=sv|svM=svM | |sv=sv|svM=svM | ||
|tr=tr|trM=trM | |||
|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 03:48, 27 April 2018
Usage instructions
This template lists all official translations of the names of products, works, objects, locations, or characters across different regions and in different languages.
To use this template, add the shortcut tag {{Langtable}}
(or the full tag {{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 |xxM=meaning |xx=name |xxR=romanized name |xxM=meaning}}
Where xx
is an ISO code, and name
is the subject's name in that language. xxM
is the name's meaning when translated to English; this column can be disabled by adding the property meaning=no
. xxR
is the romanized version of a name or phrase in a language not usually written in Latin script; currently only Hebrew, Japanese, Korean, and Russian support this tag.
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 | |
---|---|---|---|
Arabic العربية | ar arR |
arM | |
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 | |
Greek ελληνικά | el elR |
elM | |
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 | |
Turkish Türkçe | tr | trM | |
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.