Difference between revisions of "Template:Foreignname"

From Nookipedia, the Animal Crossing wiki
(Automating DE and ES interlanguage links for character pages)
m
 
(One intermediate revision by the same user not shown)
Line 60: Line 60:
 
{{#if:{{{de|<noinclude>true</noinclude>}}}|
 
{{#if:{{{de|<noinclude>true</noinclude>}}}|
 
{{!}} style="position:relative; top:-1px;" {{!}} [[File:Flag of Germany.svg|20px|German|link=]]
 
{{!}} style="position:relative; top:-1px;" {{!}} [[File:Flag of Germany.svg|20px|German|link=]]
{{!}} style="padding-left:3px;" {{!}} '''<span lang="de">{{#if:{{{disable-de-interwiki|}}}|{{{de|Unknown}}}|{{#incat:Characters|[[:de:{{#incat:Special characters|charaktere|nachbarn}}/{{{de-interwiki|{{{de|Unknown}}}}}}|{{{de|Unknown}}}]]|{{{de|Unknown}}}}}}}</span>'''{{#if:{{{disable-de-interwiki|}}}||{{#incat:Characters|[[de:{{#incat:Special characters|charaktere|nachbarn}}/{{{de-interwiki|{{{de|Unknown}}}}}}]]}}}}
+
{{!}} style="padding-left:3px;" {{!}} '''<span lang="de">{{#if:{{{disable-de-interwiki|}}}|{{{de|Unknown}}}|{{#incat:Characters|[[:de:{{#incat:Special characters|charaktere|nachbarn}}/{{{de-interwiki|{{{de|Unknown}}}}}}|{{{de|Unknown}}}]]|{{{de|Unknown}}}}}}}</span>'''
 
{{!}} style="padding-left:24px;" {{!}} {{{de-m|}}}}}
 
{{!}} style="padding-left:24px;" {{!}} {{{de-m|}}}}}
 
|-
 
|-
Line 68: Line 68:
 
{{#if:{{{es|<noinclude>true</noinclude>}}}|
 
{{#if:{{{es|<noinclude>true</noinclude>}}}|
 
{{!}} style="position:relative; top:-1px;" {{!}} [[File:Flag of Spain.svg|20px|European Spanish|link=]]
 
{{!}} style="position:relative; top:-1px;" {{!}} [[File:Flag of Spain.svg|20px|European Spanish|link=]]
{{!}} style="padding-left:3px;" {{!}} '''<span lang="es">{{#if:{{{disable-es-interwiki|}}}|{{{es|Unknown}}}|{{#incat:Characters|[[:es:{{{es-interwiki|{{{es|Unknown}}}}}}|{{{es|Unknown}}}]]|{{{es|Unknown}}}}}}}</span>'''{{#if:{{{disable-es-interwiki|}}}||{{#incat:Characters|[[es:{{{es-interwiki|{{{es|Unknown}}}}}}]]}}}}
+
{{!}} style="padding-left:3px;" {{!}} '''<span lang="es">{{#if:{{{disable-es-interwiki|}}}|{{{es|Unknown}}}|{{#incat:Characters|[[:es:{{{es-interwiki|{{{es|Unknown}}}}}}|{{{es|Unknown}}}]]|{{{es|Unknown}}}}}}}</span>'''
 
{{!}} style="padding-left:24px;" {{!}} {{{es-m|}}}}}
 
{{!}} style="padding-left:24px;" {{!}} {{{es-m|}}}}}
 
|-
 
|-
Line 76: Line 76:
 
{{#if:{{{esl|<noinclude>true</noinclude>}}}|
 
{{#if:{{{esl|<noinclude>true</noinclude>}}}|
 
{{!}} style="position:relative; top:-1px;" {{!}} [[File:Flag of Mexico.svg|20px|Latin American Spanish|link=]]
 
{{!}} style="position:relative; top:-1px;" {{!}} [[File:Flag of Mexico.svg|20px|Latin American Spanish|link=]]
{{!}} style="padding-left:3px;" {{!}} '''<span lang="es-419">{{{esl|Unknown}}}</span>'''
+
{{!}} style="padding-left:3px;" {{!}} '''<span lang="es-419">{{#if:{{{disable-es-interwiki|}}}|{{{esl|Unknown}}}|{{#incat:Characters|[[:es:{{{esl-interwiki|{{{es-interwiki|{{{esl|Unknown}}}}}}}}}|{{{esl|Unknown}}}]]|{{{esl|Unknown}}}}}}}</span>'''
 
{{!}} style="padding-left:24px;" {{!}} {{{esl-m|}}}}}
 
{{!}} style="padding-left:24px;" {{!}} {{{esl-m|}}}}}
 
|-
 
|-
Line 107: Line 107:
 
|- valign=top
 
|- valign=top
 
{{#if:{{{pt|<noinclude>true</noinclude>}}}|
 
{{#if:{{{pt|<noinclude>true</noinclude>}}}|
{{!}} style="position:relative; top:-1px;" {{!}} [[File:Flag of Portugal.png|20px|European Portuguese|link=]]
+
{{!}} style="position:relative; top:-1px;" {{!}} [[File:Flag of Portugal.svg|20px|European Portuguese|link=]]
 
{{!}} style="padding-left:3px;" {{!}} '''<span lang="pt">{{{pt|Unknown}}}</span>'''<br>
 
{{!}} style="padding-left:3px;" {{!}} '''<span lang="pt">{{{pt|Unknown}}}</span>'''<br>
 
{{!}} style="padding-left:24px;" {{!}} {{{pt-m|}}}}}
 
{{!}} style="padding-left:24px;" {{!}} {{{pt-m|}}}}}

Latest revision as of 14:56, August 29, 2024

Japanese Unknown
Unknown

Korean Unknown
Unknown

Simplified Chinese Unknown (iQue)
Unknown

Simplified Chinese Unknown
Unknown

Traditional Chinese Unknown
Unknown

Russian Unknown
Unknown

Dutch Unknown

German Unknown

European Spanish Unknown

Latin American Spanish Unknown

European French Unknown

Quebec French Unknown

Italian Unknown

European Portuguese Unknown

Brazilian Portuguese Unknown

Template documentation (view)


This template displays the foreign names of article subjects and their respective meanings. It is usually placed at the bottom of the page following the trivia section.

Parameters

Each language has a base parameter and an M (meaning) parameter. Languages that do not use the latin alphabet also take an R (romanization) parameter. The following languages are currently supported:

ja, ja-r, ja-m
Japanese name, romanization, meaning
ko, ko-r, ko-m
Korean name, romanization, meaning
zh, zh-r, zh-m
Chinese (simplified) name, pinyin romanization, meaning
zht
Chinese (traditional) name
zhq, zhq-r, zhq-m
Chinese (iQue player) name, pinyin romanization, meaning
ru, ru-r, ru-m
Russian name, romanization, meaning
nl, nl-m
Dutch name, meaning
de, de-m
German name, meaning
es, es-m
Spanish (European) name, meaning
esl, esl-m
Spanish (Latin American) name, meaning
fr, fr-m
French (European) name, meaning
frq, frq-m
French (Quebec) name, meaning
it, it-m
Italian name, meaning
pt, pt-m
Portuguese (European) name, meaning
ptb, ptb-m
Portuguese (Brazilian) name, meaning

Use

{{Foreignname
| ja   = クリボー
| ja-r = Kuribō
| ja-m = chestnut people
}}