Template:Langtable: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (Adding Flemish) |
(Added documentation) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| style="background: #{{{color|{{green color}}}}}; {{roundy|1em}} border: 3px solid #{{{bordercolor|{{green color light}}}}}; | {| style="background: #{{{color|{{green color}}}}}; {{roundy|1em}} border: 3px solid #{{{bordercolor|{{green color light}}}}};" | ||
|- | |- | ||
| | | | ||
Line 28: | Line 28: | ||
{{!}} colspan=2 {{!}} [[File:The Arab world Flag.png|20px]] {{pmin|the Arab world|Arabic}} | {{!}} colspan=2 {{!}} [[File:The Arab world Flag.png|20px]] {{pmin|the Arab world|Arabic}} | ||
{{!}} {{{ar}}}| | {{!}} {{{ar}}}| | ||
{{!}}- | |||
}} | |||
{{#if: {{{az|}}}| | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} [[File:Azerbaijan Flag.png|20px]] Azerbaijani | |||
{{!}} {{{az}}}| | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 244: | Line 250: | ||
{{!}} colspan=2 {{!}} [[File:Malaysia Flag.png|20px]] {{pmin|Malaysia}}n | {{!}} colspan=2 {{!}} [[File:Malaysia Flag.png|20px]] {{pmin|Malaysia}}n | ||
{{!}} {{{ms}}}| | {{!}} {{{ms}}}| | ||
{{!}}- | |||
}} | |||
{{#if: {{{mn|}}}| | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} [[File:Mongolia Flag.png|20px]] Mongolian | |||
{{!}} {{{mn}}}| | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 388: | Line 400: | ||
|} | |} | ||
|}<noinclude> | |}<noinclude> | ||
{{ | {{Documentation}} | ||
[[Category:Table templates]]</noinclude | [[Category:Table templates]]</noinclude> |
Latest revision as of 01:20, 2 October 2023
|
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
{{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.
Parameters
All parameters are case sensitive.
Parameter | Allowed values | Notes |
---|---|---|
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}} .
|
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}} .
|
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.
|
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
|
Example
{{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 }}
|