Template:Langlist: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{|</noinclude>
<noinclude>{|
|- style="text-align:center; background:#{{#if:{{{color|}}}|{{{{{color|}}} color}}|FFFFFF}}"
</noinclude>|- style="background:#{{#if:{{{color|}}}|{{{{{color|}}} color}}|FFF}}; color:#{{#ifeq:{{{color|}}}|Dark|FFF|000}}"
{{#switch:{{{1|}}}|character|nature=|{{!}} {{#ifeq: {{{1|}}}|item|{{bag|{{{bagsprite|{{{3|Unknown}}}}}}}}|{{color|{{#ifeq:{{{color|}}}|Dark|FFFFFF|000000}}|{{{2|000}}}}}}}}}
{{#switch:{{{1|}}}|item|move|ability|pokemon|category={{!}} {{#ifeq: {{{1|}}}|item|{{bag|{{{bagsprite|{{{3|Unknown}}}}}}}}|{{{2|000}}}}}}}
{{#ifeq:{{{1|}}}|pokemon|{{!}} {{MSP|{{{2|000}}}|{{{3|Missingno.}}}}}}}
{{#switch:{{{1|}}}|pokemon|category={{!}} {{MSP|{{{2|000}}}|{{{3|Missingno.}}}}}}} {{#ifeq:{{{1|}}}|category|{{!}}{{!}} {{pcolor|{{{3|Missingno.}}}|{{#ifeq:{{{color|}}}|Dark|FFF|000}}}}}}
| {{#switch:{{{1|}}}|nature|characteristic={{{3|English}}}|{{color2|{{#ifeq:{{{color|}}}|Dark|FFFFFF|000000}}|{{{3|Missingno.}}} {{#switch:{{{1|}}}|pokemon=(Pokémon)|ability=(Ability)|move=(move)}}|{{{3|English}}}}}}}
| {{#switch:{{{1|}}}|pokemon|ability|move={{{{#switch:{{{1|move}}}|pokemon=pcolor|ability=acolor|move=mcolor}}|{{{3|English}}}|{{#ifeq:{{{color|}}}|Dark|FFF|000}}}}|item|character|location={{color2|{{#ifeq:{{{color|}}}|Dark|FFF|000}}|{{{link|{{{3|English}}}}}}|{{{3|English}}}}}|{{{3|English}}}}}{{#ifeq: {{{engnote|}}}|||{{tt|*|{{{engnote}}}}}}}
| lang="ja" | {{color|{{#ifeq:{{{color|}}}|Dark|FFFFFF|000000}}|{{{4|日本語}}}}}
| lang="ja" | {{{4|日本語}}}
| {{color|{{#ifeq:{{{color|}}}|Dark|FFFFFF|000000}}|{{{5|Nihongo}}}}}
| {{{5|Nihongo}}}
| {{color|{{#ifeq:{{{color|}}}|Dark|FFFFFF|000000}}|{{{6|Français}}}}}
| lang="fr" | {{{6|Français}}}
| {{color|{{#ifeq:{{{color|}}}|Dark|FFFFFF|000000}}|{{{7|Deutsch}}}}}
| lang="de" | {{{7|Deutsch}}}
| {{color|{{#ifeq:{{{color|}}}|Dark|FFFFFF|000000}}|{{{8|Italiano}}}}}
| lang="it" | {{{8|Italiano}}}
| {{color|{{#ifeq:{{{color|}}}|Dark|FFFFFF|000000}}|{{{9|Español}}}}}
| lang="es" | {{{9|Español}}}
{{#if:{{{10|}}}|{{!}} {{color|{{#ifeq:{{{color|}}}|Dark|FFFFFF|000000}}|{{{10|한국어}}}}}
{{#if:{{{10|}}}|{{!}} lang="ko" {{!}} {{{10|한국어}}}
{{!}} {{color|{{#ifeq:{{{color|}}}|Dark|FFFFFF|000000}}|{{{11|Hangugeo}}}}}|{{!}}-}}<noinclude>
{{!}} {{{11|Hangugeo}}}
|}
{{#if:{{{12|}}}|{{!}} lang="zh" {{!}} {{{12|中文}}}
 
{{!}} {{{13|Zhōngwén / Jūngmàhn}}}
[[Category:Table templates]]
{{#if:{{{14|}}}|{{!}} lang="pt-br" {{!}} {{{14|Português}}}
 
|{{!}}-}}}}}}<noinclude>
Parameters are as follows:
|}{{documentation}}[[Category:Table templates]]</noinclude>
1: The type of information sorted by language (Currently supports pokemon, move, item, ability, character, and nature).
2: The index number of the '''move''' or '''ability''' or the National Pokédex number of the '''pokemon''' (Leave blank if used for '''item'''s, '''character'''s, or '''nature'''s).
3: English name.
4: Japanese name, kana.
5: Japanese name, rōmaji (NOT TRANSLATED).
6: French name.
7: German name.
8: Italian name.
9: Spanish name.
10: Korean name, hangul.
11: Korean name, romanized (NOT TRANSLATED).
bagsprite: If the '''item''''s bag sprite differs from the actual item name (such as for multi-generation items).
color: If a speific color can be applied to the row of cells (such as type colors for '''move'''s, '''abiliti'''es, and '''pokemon''').</noinclude>

Latest revision as of 17:56, 31 March 2022

English 日本語 Nihongo Français Deutsch Italiano Español



Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)

The templates {{Langlist/h}} and {{Langlist}} are used together to create a table that displays the names of multiple entities in different languages. To display the translated names of just one entity, use {{Langtable}}.

How to use

{{Langlist/h}} is the header of the table, and should be used first and only once. {{Langlist}} makes up the rows of the table, and can be used multiple times. The table must be ended with a |}, or it will break.

{{Langlist/h}} and {{Langlist}} primarily use numbered parameters. These should be entered in order, and named parameters should be entered last.

{{langlist/h|1|2|3}}
{{langlist|1|2|3|4|5|6|7|8|9|10|11|12|13|14|bagsprite=|engnote=|color=}}
{{langlist|1|2|3|4|5|6|7|8|9|10|11|12|13|14|bagsprite=|engnote=|color=}}
{{langlist|1|2|3|4|5|6|7|8|9|10|11|12|13|14|bagsprite=|engnote=|color=}}
|}

Parameters

All parameters are case sensitive.

Parameter Allowed values Notes
{{Langlist/h}}
1 itemmoveabilitypokemoncategory Optional. The type of information being translated. For other types of information, this paramater can be left blank.
2 List of colors » Sets the background and border colors of the table. Don't include color, color light or color dark. Defaults to unknown.
3 NoKoNoZhPtBr Optional. Adds or removes columns from the table. NoKo removes the Korean and the Chinese columns. NoZh removes just the Chinese columns. PtBr adds a Brazilian Portuguese column.
{{Langlist}}
1 itemmoveabilitypokemoncategory Optional. The type of information being translated. For other types of information, this paramater can be left blank.
2 Number Optional. If move or ability is selected for 1, use the index number. If pokemon is selected for 1, the National Pokédex number. For other types of information, this paramater can be left blank.
3 String The name in English.
4 String The name in Japanese kana.
5 String The name in Japanese rōmaji. This is not a translation.
6 String The name in French.
7 String The name in German.
8 String The name in Italian.
9 String The name in Spanish.
10 String Optional. The name in Korean hangul.
11 String Optional. The name in romanized Korean. This is not a translation.
12 String Optional. The name in Chinese hànzì.
13 String Optional. The name in romanized Chinese. This is not a translation.
14 String Optional. The name in Brazilian Portuguese.
bagsprite String Optional. If 1 is set to item, the bag sprite image can be changed using this paramater, by entering File:Bag <<THIS TEXT>> Sprite.png from the file name.
engnote String Optional. Adds a tooltip to the English name to allow for name change details.
color List of colors » Optional. Allows for a background color to be applied to the table row. Don't include color, color light or color dark.
|}

Examples

{{langlist/h|item|Medicine}}
{{langlist|item||Potion|キズぐすり|Kizu Gusuri|Potion|Trank|Pozione|Poción|상처약|Sangcheo Yak|傷藥 / 伤药|Shāngyào / Sēungyeuhk}}
{{langlist|item||Antidote|どくけし|Dokukeshi|Antidote|Gegengift|Antidoto|Antídoto|해독제|Haedokje|解毒藥 / 解毒药|Jiědúyào / Gáaiduhkyeuhk}}
{{langlist|item||Antidote|どくけし|Dokukeshi|Antidote|Gegengift|Antidoto|Antídoto|해독제|Haedokje|解毒藥 / 解毒药|Jiědúyào / Gáaiduhkyeuhk|bagsprite=Antidote SV}}
|}
Bag English English Japanese Kana Japanese Rōmaji French French German German Italian Italian Spanish Spanish Korean Hangul Korean Romanized Chinese Hànzì Chinese Romanized
Potion Potion キズぐすり Kizu Gusuri Potion Trank Pozione Poción 상처약 Sangcheo Yak 傷藥 / 伤药 Shāngyào / Sēungyeuhk
Antidote Antidote どくけし Dokukeshi Antidote Gegengift Antidoto Antídoto 해독제 Haedokje 解毒藥 / 解毒药 Jiědúyào / Gáaiduhkyeuhk
Antidote SV Antidote どくけし Dokukeshi Antidote Gegengift Antidoto Antídoto 해독제 Haedokje 解毒藥 / 解毒药 Jiědúyào / Gáaiduhkyeuhk


{{Langlist/h|move|violet|NoKo}}
{{Langlist|move|1|Pay Day|ネコにこばん|Neko ni Koban|Jackpot|Zahltag|Giornopaga|Día de Pago|color=Normal}}
{{Langlist|move|2|Fire Punch|ほのおのパンチ|Honō no Panchi|Poing Feu|Feuerschlag|Fuocopugno|Puño Fuego|color=Fire}}
{{Langlist|move|3|Ice Punch|れいとうパンチ|Reitō Panchi|Poing Glace|Eishieb|Gelopugno|Puño Hielo|color=Ice}}
{{Langlist|move|4|Thunder Punch|かみなりパンチ|Kaminari Panchi|Poing Éclair|Donnerschlag|Tuonopugno|Puño Trueno|color=Electric}}
{{Langlist|move|5|Scratch|ひっかく|Hikkaku|Griffe|Kratzer|Graffio|Arañazo|color=Normal}}
|}
Index English English Japanese Kana Japanese Rōmaji French French German German Italian Italian Spanish Spanish
1 Pay Day ネコにこばん Neko ni Koban Jackpot Zahltag Giornopaga Día de Pago
2 Fire Punch ほのおのパンチ Honō no Panchi Poing Feu Feuerschlag Fuocopugno Puño Fuego
3 Ice Punch れいとうパンチ Reitō Panchi Poing Glace Eishieb Gelopugno Puño Hielo
4 Thunder Punch かみなりパンチ Kaminari Panchi Poing Éclair Donnerschlag Tuonopugno Puño Trueno
5 Scratch ひっかく Hikkaku Griffe Kratzer Graffio Arañazo


{{langlist/h|3=PtBr}}
{{langlist|||Adamant|いじっぱり|Ijippari|Rigide|Hart|Decisa|Firme|고집|Gojip|固執 / 固执|Gùzhí / Gujāp|Firme|engnote=An example note}}
{{langlist|||Bashful|てれや|Tereya|Pudique|Zaghaft|Ritrosa|Tímida|수줍음|Sujup-eum|害羞|Hàixiū / Hoihsāu|Tímida}}
{{langlist|||Bold|ずぶとい|Zubutoi|Assuré|Kühn|Sicura|Osada|대담|Daedam|大膽 / 大胆|Dàdǎn / Daaihdáam|Audaciosa}}
|}
English English Japanese Kana Japanese Rōmaji French French German German Italian Italian Spanish Spanish Korean Hangul Korean Romanized Chinese Hànzì Chinese Romanized Brazilian Portuguese Brazilian Portuguese
Adamant* いじっぱり Ijippari Rigide Hart Decisa Firme 고집 Gojip 固執 / 固执 Gùzhí / Gujāp Firme
Bashful てれや Tereya Pudique Zaghaft Ritrosa Tímida 수줍음 Sujup-eum 害羞 Hàixiū / Hoihsāu Tímida
Bold ずぶとい Zubutoi Assuré Kühn Sicura Osada 대담 Daedam 大膽 / 大胆 Dàdǎn / Daaihdáam Audaciosa