Template:Langtable: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
Vuvuzela2010 (talk | contribs) (Serbia) |
(Added documentation) |
||
(22 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{| | {| style="background: #{{{color|{{green color}}}}}; {{roundy|1em}} border: 3px solid #{{{bordercolor|{{green color light}}}}};" | ||
|- | |- | ||
| | | | ||
{| border=1 width="100% | {| border=1 width="100%" style="background: #FFF; border:1px solid #{{{color|{{green color}}}}}; border-collapse:collapse" | ||
|- style="background: #{{{color|{{green color}}}}} | |- style="background: #{{{color|{{green color}}}}}" | ||
! colspan=2 | {{color|{{{textcolor|000}}}|Language}} | ! colspan=2 | {{color|{{{textcolor|000}}}|Language}} | ||
! {{color|{{{textcolor|000}}}|Title}} | ! {{color|{{{textcolor|000}}}|Title}} | ||
Line 14: | Line 14: | ||
{{#if: {{{en|}}}| | {{#if: {{{en|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} [[File: | {{!}} colspan=2 {{!}} [[File:England Flag.png|20px]] {{pmin|English}} | ||
{{!}} {{{en}}}| | {{!}} {{{en}}}| | ||
{{!}}- | |||
}} | |||
{{#if: {{{sq|}}}| | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} [[File:Albania Flag.png|20px]] {{pmin|Albania}}n | |||
{{!}} {{{sq}}}| | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 22: | 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}}}| | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{eu|}}}| | {{#if: {{{eu|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} {{pmin|Spain|Basque}} | {{!}} colspan=2 {{!}} [[File:Basque Flag.png|20px]] {{pmin|Spain|Basque}} | ||
{{!}} {{{eu}}}| | {{!}} {{{eu}}}| | ||
{{!}}- | {{!}}- | ||
Line 38: | Line 50: | ||
{{#if: {{{ca|}}}| | {{#if: {{{ca|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} {{pmin|Spain|Catalan}} | {{!}} colspan=2 {{!}} [[File:Catalonia Flag.png|20px]] {{pmin|Spain|Catalan}} | ||
{{!}} {{{ca}}}| | {{!}} {{{ca}}}| | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{ca_ct|}}}| | |||
{{#if: {{{ca_vc|}}}| | |||
{{!}}- | |||
{{!}} rowspan=2 {{!}} {{pmin|Spain|Catalan}} | |||
{{!}} [[File:Catalonia Flag.png|20px]] Catalonia | |||
{{!}} {{{ca_ct}}} | |||
{{!}}- | |||
{{!}} [[File:Valencia Flag.png|20px]] Valencia | |||
{{!}} {{{ca_vc}}}| | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} [[File:Catalonia Flag.png|20px]] {{pmin|Spain|Catalan}} | |||
{{!}} {{{ca_ct}}}}}| | |||
{{#if: {{{ca_vc|}}}| | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} [[File:Valencia Flag.png|20px]] {{pmin|Spain|Valencian}} | |||
{{!}} {{{ca_vc}}}| | |||
{{!}}- | |||
}}}} | |||
{{#if: {{{zh_yue|}}}| | {{#if: {{{zh_yue|}}}| | ||
{{#if: {{{zh_cmn|}}}| | {{#if: {{{zh_cmn|}}}| | ||
Line 62: | Line 92: | ||
{{#if: {{{hr|}}}| | {{#if: {{{hr|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} | {{!}} colspan=2 {{!}} [[File:Croatia Flag.png|20px]] {{pmin|Croatia}}n | ||
{{!}} {{{hr}}}| | {{!}} {{{hr}}}| | ||
{{!}}- | {{!}}- | ||
Line 84: | Line 114: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{nl_nl|}}}| | |||
{{#if: {{{nl_be|}}}| | |||
{{!}}- | |||
{{!}} rowspan=2 {{!}} Dutch | |||
{{!}} [[File:The Netherlands Flag.png|20px]] {{pmin|the Netherlands|Netherlands}} | |||
{{!}} {{{nl_nl}}} | |||
{{!}}- | |||
{{!}} [[File:Belgium Flag.png|20px]] {{pmin|Belgium}} | |||
{{!}} {{{nl_be}}}| | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} [[File:The Netherlands Flag.png|20px]] {{pmin|the Netherlands|Dutch}} | |||
{{!}} {{{nl_nl}}}}}| | |||
{{#if: {{{nl_be|}}}| | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} [[File:Belgium Flag.png|20px]] {{pmin|Belgium|Flemish}} | |||
{{!}} {{{nl_be}}}| | |||
{{!}}- | |||
}}}} | |||
{{#if: {{{et|}}}| | {{#if: {{{et|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} Estonian | {{!}} colspan=2 {{!}} [[File:Estonia Flag.png|20px]] Estonian | ||
{{!}} {{{et}}}| | {{!}} {{{et}}}| | ||
{{!}}- | {{!}}- | ||
Line 104: | Line 152: | ||
{{#if: {{{fr|}}}| | {{#if: {{{fr|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} [[File:France Flag.png|20px]] {{pmin | {{!}} colspan=2 {{!}} [[File:France Flag.png|20px]] {{pmin|French}} | ||
{{!}} {{{fr}}}| | {{!}} {{{fr}}}| | ||
{{!}}- | {{!}}- | ||
Line 152: | Line 200: | ||
{{#if: {{{hu|}}}| | {{#if: {{{hu|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} Hungarian | {{!}} colspan=2 {{!}} [[File:Hungary Flag.png|20px]] {{pmin|Hungary|Hungarian}} | ||
{{!}} {{{hu}}}| | {{!}} {{{hu}}}| | ||
{{!}}- | {{!}}- | ||
Line 158: | Line 206: | ||
{{#if: {{{is|}}}| | {{#if: {{{is|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} | {{!}} colspan=2 {{!}} [[File:Iceland Flag.png|20px]] {{pmin|Iceland}}ic | ||
{{!}} {{{is}}}| | {{!}} {{{is}}}| | ||
{{!}}- | {{!}}- | ||
Line 178: | Line 226: | ||
{{!}} colspan=2 {{!}} [[File:South Korea Flag.png|20px]] {{pmin|South Korea|Korean}} | {{!}} colspan=2 {{!}} [[File:South Korea Flag.png|20px]] {{pmin|South Korea|Korean}} | ||
{{!}} {{{ko}}}| | {{!}} {{{ko}}}| | ||
{{!}}- | |||
}} | |||
{{#if: {{{lv|}}}| | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} [[File:Latvia Flag.png|20px]] Latvian | |||
{{!}} {{{lv}}}| | |||
{{!}}- | |||
}} | |||
{{#if: {{{lt|}}}| | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} [[File:Lithuania Flag.png|20px]] {{pmin|Lithuania}}n | |||
{{!}} {{{lt}}}| | |||
{{!}}- | |||
}} | |||
{{#if: {{{mk|}}}| | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} [[File:Macedonia Flag.png|20px]] Macedonian | |||
{{!}} {{{mk}}}| | |||
{{!}}- | |||
}} | |||
{{#if: {{{ms|}}}| | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} [[File:Malaysia Flag.png|20px]] {{pmin|Malaysia}}n | |||
{{!}} {{{ms}}}| | |||
{{!}}- | |||
}} | |||
{{#if: {{{mn|}}}| | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} [[File:Mongolia Flag.png|20px]] Mongolian | |||
{{!}} {{{mn}}}| | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 194: | Line 272: | ||
{{#if: {{{pt|}}}| | {{#if: {{{pt|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} [[File:Portugal Flag.png|20px]] Portuguese | {{!}} colspan=2 {{!}} [[File:Portugal Flag.png|20px]] {{pmin|Portuguese}} | ||
{{!}} {{{pt}}}| | {{!}} {{{pt}}}| | ||
{{!}}- | {{!}}- | ||
Line 218: | Line 296: | ||
{{#if: {{{ro|}}}| | {{#if: {{{ro|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} | {{!}} colspan=2 {{!}} [[File:Romania Flag.png|20px]] {{pmin|Romania}}n | ||
{{!}} {{{ro}}}| | {{!}} {{{ro}}}| | ||
{{!}}- | {{!}}- | ||
Line 230: | Line 308: | ||
{{#if: {{{sr|}}}| | {{#if: {{{sr|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} [[File:Serbia Flag.png|20px]] | {{!}} colspan=2 {{!}} [[File:Serbia Flag.png|20px]] {{pmin|Serbia}}n | ||
{{!}} {{{sr}}}| | {{!}} {{{sr}}}| | ||
{{!}}- | {{!}}- | ||
Line 236: | Line 314: | ||
{{#if: {{{sk|}}}| | {{#if: {{{sk|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} Slovak | {{!}} colspan=2 {{!}} [[File:Slovakia Flag.png|20px]] {{pmin|Slovakia|Slovak}} | ||
{{!}} {{{sk}}}| | {{!}} {{{sk}}}| | ||
{{!}}- | {{!}}- | ||
Line 242: | Line 320: | ||
{{#if: {{{sl|}}}| | {{#if: {{{sl|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} Slovene | {{!}} colspan=2 {{!}} [[File:Slovenia Flag.png|20px]] Slovene | ||
{{!}} {{{sl}}}| | {{!}} {{{sl}}}| | ||
{{!}}- | {{!}}- | ||
Line 248: | Line 326: | ||
{{#if: {{{es|}}}| | {{#if: {{{es|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} [[File:Spain Flag.png|20px]] Spanish | {{!}} colspan=2 {{!}} [[File:Spain Flag.png|20px]] {{pmin|Spanish}} | ||
{{!}} {{{es}}}| | {{!}} {{{es}}}| | ||
{{!}}- | {{!}}- | ||
Line 256: | Line 334: | ||
{{!}}- | {{!}}- | ||
{{!}} rowspan=2 {{!}} Spanish | {{!}} rowspan=2 {{!}} Spanish | ||
{{!}} {{pmin|Latin America}} | {{!}} [[File:CELAC Flag.png|20px]] {{pmin|Latin America}} | ||
{{!}} {{{es_la}}} | {{!}} {{{es_la}}} | ||
{{!}}- | {{!}}- | ||
Line 262: | Line 340: | ||
{{!}} {{{es_eu}}}| | {{!}} {{{es_eu}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} {{pmin|Latin America|Latin American Spanish}} | {{!}} colspan=2 {{!}} [[File:CELAC Flag.png|20px]] {{pmin|Latin America|Latin American Spanish}} | ||
{{!}} {{{es_la}}}}}| | {{!}} {{{es_la}}}}}| | ||
{{#if: {{{es_eu|}}}| | {{#if: {{{es_eu|}}}| | ||
Line 278: | Line 356: | ||
{{#if: {{{ta|}}}| | {{#if: {{{ta|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} {{pmin|South Asia|Tamil}} | {{!}} colspan=2 {{!}} [[File:Tamil Flag.png|20px]] {{pmin|South Asia|Tamil}} | ||
{{!}} {{{ta}}}| | {{!}} {{{ta}}}| | ||
{{!}}- | {{!}}- | ||
Line 284: | Line 362: | ||
{{#if: {{{te|}}}| | {{#if: {{{te|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} {{pmin|South Asia|Telugu}} | {{!}} colspan=2 {{!}} [[File:India Flag.png|20px]] {{pmin|South Asia|Telugu}} | ||
{{!}} {{{te}}}| | {{!}} {{{te}}}| | ||
{{!}}- | {{!}}- | ||
Line 296: | Line 374: | ||
{{#if: {{{tr|}}}| | {{#if: {{{tr|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} Turkish | {{!}} colspan=2 {{!}} [[File:Turkey Flag.png|20px]] {{pmin|Turkey|Turkish}} | ||
{{!}} {{{tr}}}| | {{!}} {{{tr}}}| | ||
{{!}}- | |||
}} | |||
{{#if: {{{uk|}}}| | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} [[File:Ukraine Flag.png|20px]] Ukrainian | |||
{{!}} {{{uk}}}| | |||
{{!}}- | |||
}} | |||
{{#if: {{{ur|}}}| | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} [[File:Pakistan Flag.png|20px]] {{pmin|South Asia|Urdu}} | |||
{{!}} {{{ur}}}| | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{vi|}}}| | {{#if: {{{vi|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} | {{!}} colspan=2 {{!}} [[File:Vietnam Flag.png|20px]] {{pmin|Vietnam}}ese | ||
{{!}} {{{vi}}}| | {{!}} {{{vi}}}| | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
| colspan=3 style="background: #{{{color|{{green color}}}}} | | colspan=3 style="background: #{{{color|{{green color}}}}}" | {{#if: {{{footnote|}}} | <small>{{{footnote}}}</small> | }} | ||
|} | |} | ||
|}<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 }}
|