Difference between revisions of "Template:Language table"

From RRU Knowledge Base
Line 40: Line 40:
{{!}}-
{{!}}-
}}
}}
{{#if: {{{fr_ca|}}}|
{{#if: {{{fr_eu|}}}|
{{!}}-
{{!}} rowspan=2 {{!}} French
{{!}} [[File:Canada Flag.png|20px]] Canada
{{!}} {{{fr_ca}}}
{{!}}-
{{!}} [[File:France Flag.png|20px]] Europe
{{!}} {{{fr_eu}}}|
{{!}}-
{{!}} colspan=2 {{!}} [[File:Canada Flag.png|20px]] Canadian French
{{!}} {{{fr_ca}}}}}|
{{#if: {{{fr_eu|}}}|
{{!}}-
{{!}} colspan=2 {{!}} [[File:France Flag.png|20px]] {European French
{{!}} {{{fr_eu}}}|
{{!}}-
}}}}
{{#if: {{{de|}}}|
{{#if: {{{de|}}}|
{{!}}-
{{!}}-
Line 50: Line 68:
{{!}} colspan=2 {{!}} [[File:Israel Flag.png|20px|link=]] Hebrew
{{!}} colspan=2 {{!}} [[File:Israel Flag.png|20px|link=]] Hebrew
{{!}} {{{he}}}|
{{!}} {{{he}}}|
{{!}}-
}}
{{#if: {{{is|}}}|
{{!}}-
{{!}} colspan=2 {{!}} [[File:Iceland Flag.png|20px]] Icelandic
{{!}} {{{is}}}|
{{!}}-
{{!}}-
}}
}}
Line 82: Line 106:
{{!}}-
{{!}}-
}}
}}
{{#if: {{{pt_br|}}}|
{{#if: {{{pt_eu|}}}|
{{!}}-
{{!}} rowspan=2 {{!}} Portuguese
{{!}} [[File:Brazil Flag.png|20px]] Brazil
{{!}} {{{pt_br}}}
{{!}}-
{{!}} [[File:Portugal Flag.png|20px]] Portugal
{{!}} {{{pt_eu}}}|
{{!}}-
{{!}} colspan=2 {{!}} [[File:Brazil Flag.png|20px]] Brazilian Portuguese
{{!}} {{{pt_br}}}}}|
{{#if: {{{pt_eu|}}}|
{{!}}-
{{!}} colspan=2 {{!}} [[File:Portugal Flag.png|20px]] European Portuguese
{{!}} {{{pt_eu}}}|
{{!}}-
}}}}
{{#if: {{{ru|}}}|
{{#if: {{{ru|}}}|
{{!}}-
{{!}}-
Line 94: Line 136:
{{!}}-
{{!}}-
}}
}}
{{#if: {{{es_la|}}}|
{{#if: {{{es_eu|}}}|
{{!}}-
{{!}} rowspan=2 {{!}} Spanish
{{!}} [[File:CELAC Flag.png|20px]] Latin America
{{!}} {{{es_la}}}
{{!}}-
{{!}} [[File:Spain Flag.png|20px]] Spain
{{!}} {{{es_eu}}}|
{{!}}-
{{!}} colspan=2 {{!}} [[File:CELAC Flag.png|20px]] Latin American Spanish
{{!}} {{{es_la}}}}}|
{{#if: {{{es_eu|}}}|
{{!}}-
{{!}} colspan=2 {{!}} [[File:Spain Flag.png|20px]] European Spanish
{{!}} {{{es_eu}}}|
{{!}}-
}}}}
{{#if: {{{sv|}}}|
{{#if: {{{sv|}}}|
{{!}}-
{{!}}-
Line 123: Line 183:
|fi=fi
|fi=fi
|fr=fr
|fr=fr
|fr_ca=fr_ca
|fr_eu=fr_eu
|de=de
|de=de
|he=he
|he=he
|is=is
|it=it
|it=it
|ja=ja
|ja=ja
Line 130: Line 193:
|pl=pl
|pl=pl
|pt=pt
|pt=pt
|pt_br=pt_br
|pt_eu=pt_eu
|ru=ru
|ru=ru
|es=es
|es=es
|es_la=es_la
|es_eu=es_eu
|sv=sv
|sv=sv
|feetnote=poop
|footnote=footnote}}
|footnote=footnote}}
Currently only languages and regions confirmed to be relevant have been added, will add more when needed.
Not sure how many of the currently-added languages are even relevant, or if this is the proper way to divide up languages like Spanish and Portuguese (it was just copied over), or if there are any that are relevant that are missing, will adjust as info is found.


{{todo|should probably make <code>en</code> versions for other countries since some stuff gets changed between uk, us, and nz at least, if not canada and australia too}}
{{todo|should maybe make <code>en</code> versions for other countries since some stuff gets changed between uk, us, and nz at least, if not canada and australia too? maybe just make a note in the article since LEGO can't even keep names consistent in the same region}}


[[Category:Box templates]]<!--[[Category:Language templates]][[Category:Region templates]]--><!--
[[Category:Box templates]]<!--[[Category:Language templates]][[Category:Region templates]]--><!--
|-
|-
| colspan=3 | {{#if: {{{footnote|}}} | <small>{{{footnote}}}</small> | }}
| colspan=3 | {{#if: {{{footnote|}}} | <small>{{{footnote}}}</small> | }}-->
{{#if: {{{en_uk|}}}|
{{#if: {{{en_us|}}}|
{{!}}-
{{!}} rowspan=2 {{!}} English
{{!}} [[File:Australia Flag.png|20px]] Australia
{{!}} {{{en_au}}}|
{{!}}-
{{!}} [[File:Canada Flag.png|20px]] Canada
{{!}} {{{en_ca}}}|
{{!}}-
{{!}} [[File:New Zealand Flag.png|20px]] New Zealand
{{!}} {{{en_nz}}}|
{{!}}-
{{!}} [[File:Flag of Canada and the United States.png|20px]] North America
{{!}} {{{en_na}}}|
{{!}}-
{{!}} [[File:United Kingdom Flag.png|20px]] United Kingdom
{{!}} {{{en_uk}}}
{{!}}-
{{!}} [[File:United States Flag.png|20px]] United States
{{!}} {{{en_us}}}|
{{!}}-
{{!}} colspan=2 {{!}} [[File:United Kingdom Flag.png|20px]] English (UK)
{{!}} {{{en_uk}}}}}|
{{#if: {{{en_us|}}}|
{{!}}-
{{!}} colspan=2 {{!}} [[File:United States Flag.png|20px]] English (US)
{{!}} {{{en_us}}}|
{{!}}-
}}}}-->
<!--THIS SECTION WAS AN ATTEMPT AT CREATING ENGLISH REGIONAL VARIANTS, BUT IT DIDN'T WORK AND IT REALLY ISN'T NECESSARY, ESPECIALLY SINCE LEGO CAN'T EVEN KEEP NAMES CONSISTENT IN THE SAME REGION
<!--THIS SECTION WAS AN ATTEMPT AT CREATING ENGLISH REGIONAL VARIANTS, BUT IT DIDN'T WORK AND IT REALLY ISN'T NECESSARY, ESPECIALLY SINCE LEGO CAN'T EVEN KEEP NAMES CONSISTENT IN THE SAME REGION
{{#if: {{{en_va|yes}}}|
{{#if: {{{en_va|yes}}}|

Revision as of 15:39, 9 October 2017

Usage instructions

This template lists the different names of a product, work, object, location, or character across different regions and languages. Use this template by placing {{Langtable|xx=name}} under an "In other languages" section, with xx being an ISO code and name being the name in that language.

The following table is a list of usable codes to designate regions and languages:

Language Name
20px Czech cs
20px Danish da
20px Dutch nl
20px English en
20px Finnish fi
20px French fr
French 20px Canada fr_ca
20px Europe fr_eu
20px German de
20px Hebrew he
20px Icelandic is
20px Italian it
20px Japanese ja
20px Norwegian no
20px Polish pl
20px Portuguese pt
Portuguese 20px Brazil pt_br
20px Portugal pt_eu
20px Russian ru
20px Spanish es
Spanish 20px Latin America es_la
20px Spain es_eu
20px Swedish sv
footnote

Not sure how many of the currently-added languages are even relevant, or if this is the proper way to divide up languages like Spanish and Portuguese (it was just copied over), or if there are any that are relevant that are missing, will adjust as info is found.

To do: should maybe make en versions for other countries since some stuff gets changed between uk, us, and nz at least, if not canada and australia too? maybe just make a note in the article since LEGO can't even keep names consistent in the same region