Template:Langtable
|
{{Langtable}}
displays the name of an entity in multiple languages. A similar template, {{Other languages}}
, allows the inclusion of definitions.
How to use
This template is most often used in a section titled ==In other languages==
, towards the bottom of an article.
{{Langtable |color= |bordercolor= |ja= |en= |zh_cmn= |zh_yue= |fr= |de= |ko= |it= |es= ⋮ }}
Parameters
All parameters are case sensitive.
Parameter | Allowed values | Notes |
---|---|---|
color
|
Hex code • Color template | Sets the template background color. Don't include # . If using a color template, include the full name including the {{ }} . Defaults to {{green color}} .
|
bordercolor
|
Hex code • Color template | Sets the template border color. Don't include # . If using a color template, include the full name including the {{ }} . Defaults to {{green color light}} .
|
textcolor
|
Hex code • Color template | Sets the template text color. Don't include # . If using a color template, include the full name including the {{ }} . Defaults to 000 .
|
xx
|
String | The name of the entity in the language denoted, where xx is replaced by one of the codes shown below.
|
caption (optional)
|
String | A caption above the table. |
footnote (optional)
|
String | A footnote below the table. |
extra-style (optional)
|
String | Extra CSS style for the entire table |
Language codes
This template uses the following ISO 639-1 language codes:
Language | Code | |
---|---|---|
Japanese | ja
| |
English | en
| |
Albanian | sq
| |
Arabic | ar
| |
Azerbaijani | az
| |
Basque | eu
| |
Bulgarian | bg
| |
Catalan | Catalan (when no language difference) | ca
|
Catalonia | ca_ct
| |
Valencia | ca_vc
| |
Chinese | Cantonese | zh_yue
|
Mandarin | zh_cmn
| |
Croatian | hr
| |
Czech | cs
| |
Danish | da
| |
Dutch | Dutch (when no language difference) | nl
|
Netherlands | nl_nl
| |
Belgium | nl_be
| |
Estonian | et
| |
Filipino | fil
| |
Finnish | fi
| |
French | French (when no language difference) | fr
|
Canada | fr_ca
| |
Europe | fr_eu
| |
German | de
| |
Greek | el
| |
Hebrew | he
| |
Hindi | hi
| |
Icelandic | is
| |
Indonesian | id
| |
Italian | it
| |
Korean | ko
| |
Latvian | lv
| |
Lithuanian | lt
| |
Macedonian | mk
| |
Malaysian | ms
| |
Mongolian | mn
| |
Norwegian | no
| |
Polish | pl
| |
Portuguese | Portuguese (when no language difference) | pt
|
Brazil | pt_br
| |
Portugal | pt_eu
| |
Romanian | ro
| |
Russian | ru
| |
Serbian | sr
| |
Slovak | sk
| |
Slovene | sl
| |
Spanish | Spanish (when no language difference) | es
|
Latin America | es_la
| |
Spain | es_eu
| |
Swedish | sv
| |
Tamil | ta
| |
Telugu | te
| |
Thai | th
| |
Turkish | tr
| |
Ukrainian | uk
| |
Urdu | ur
| |
Vietnamese | vi
|
TemplateData
Langtable displays the name of an entity in other languages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Color | color | Background color | Line | required |
Border | bordercolor | Border color | Line | required |
Extra-Style | extra-style | Extra CSS styles | String | optional |
Caption | caption | Caption | Line | optional |
Japanese | ja | Japanese name | Line | optional |
English | en | English name | Line | optional |
British English | en_gb | British English name | Line | optional |
Albanian | sq | Albanian name | Line | optional |
Arabic | ar | Arabic name | Line | optional |
Azerbaijani | az | Azerbaijani name | Line | optional |
Basque | eu | Basque name | Line | optional |
Bengali | bn | Bengali name | Line | optional |
Bulgarian | bg | Bulgarian name | Line | optional |
Catalan | ca | Catalan name (when no language difference) | Line | optional |
Catalan (Catalonia) | ca_ct | Catalan (Catalonia) name | Line | optional |
Catalan (Valencia) | ca_vc | Catalan (Valencia) name | Line | optional |
Chinese (Cantonese) | zh_yue | Cantonese Chinese name | Line | optional |
Chinese (Mandarin) | zh_cmn | Mandarin Chinese name | Line | optional |
Croatian | hr | Croatian name | Line | optional |
Czech | cs | Czech name | Line | optional |
Danish | da | Danish name | Line | optional |
Dutch | nl | Dutch name (when no language difference) | Line | optional |
Dutch (Netherlands) | nl_nl | Netherlands Dutch name | Line | optional |
Dutch (Belgium) | nl_be | Belgian Dutch name | Line | optional |
Estonian | et | Estonian name | Line | optional |
Filipino | fil | Filipino name | Line | optional |
Finnish | fi | Finnish name | Line | optional |
French | fr | French name (when no language difference) | Line | optional |
French (Canada) | fr_ca | Candian French name | Line | optional |
French (Europe) | fr_eu | European French name | Line | optional |
German | de | German name | Line | optional |
Greek | el gr | Greek name | Line | optional |
Hebrew | he | Hebrew name | Line | optional |
Hindi | hi | Hindi name | Line | optional |
Hungarian | hu | Hungarian name | Line | optional |
Icelandic | is | Icelandic name | Line | optional |
Indonesian | id | Indonesian name | Line | optional |
Italian | it | Italian name | Line | optional |
Korean | ko | Korean name | Line | optional |
Latvian | lv | Latvian name | Line | optional |
Lithuanian | lt | Lithuanian name | Line | optional |
Macedonian | mk | Macedonian name | Line | optional |
Malaysian | ms | Malaysian name | Line | optional |
Mongolian | mn | Mongolian name | Line | optional |
Norwegian | no | Norwegian name | Line | optional |
Polish | pl | Polish | Line | optional |
Portuguese | pt | Portuguese name (when no language difference) | Line | optional |
Portuguese (Brazil) | pt_br | Brazilian Portuguese name | Line | optional |
Portuguese (Portugal) | pt_eu | European Portuguese name | Line | optional |
Romanian | ro | Romanian name | Line | optional |
Russian | ru | Russian name | Line | optional |
Serbian | sr | Serbian name | Line | optional |
Slovak | sk | Slovak name | Line | optional |
Slovene | sl | Slovene name | Line | optional |
Spanish | es | Spanish name (when no language difference) | Line | optional |
Spanish (Latin America) | es_la | Latin American Spanish name | Line | optional |
Spanish (Spain) | es_eu | European Spanish name | Line | optional |
Swedish | sv | Swedish name | Line | optional |
Tamil | ta | Tamil name | Line | optional |
Telugu | te | Telugu name | Line | optional |
Thai | th | Thai name | Line | optional |
Turkish | tr | Turkish name | Line | optional |
Ukrainian | uk | Ukrainian name | Line | optional |
Urdu | ur | Urdu name | Line | optional |
Vietnamese | vi | Vietnamese name | Line | optional |
Footnote | footnote | Footnote | Line | optional |
TextColor | textcolor | Text Color | Line | optional |
Example
==In other languages== {{Langtable | color = {{Pokémon color}} | bordercolor = {{Pokémon color dark}} | zh_yue = 寵物小精靈電影版 ''Pocket Monsters the Movie'' | zh_cmn = 神奇寶貝 電影版 ''Pocket Monsters the Movie'' | da = Pokémon Filmen | fr_eu = Film Pokémon | fi = Pokémon-elokuva | de = Pokémon-Film | it = Film Pokémon | nl = Pokémon Film | no = Pokémon Filmen | pl = Film Pokémon | pt = Filme Pokémon | ru = Покемон-фильм ''Pokémon-fil'm'' | es_eu = Película Pokémon | sv = Pokémon Filmen | tr = Pokémon Filmi }}
|