ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Template:Lang: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Optimization
m debug
Line 9: Line 9:
  |jp|jap|lj = {{{2}}}<span class="error" style="font-size:smaller;">Language code error: for [[wikipedia:Japanese|Japanese]], please use '''ja''' or '''jpn'''. </span>
  |jp|jap|lj = {{{2}}}<span class="error" style="font-size:smaller;">Language code error: for [[wikipedia:Japanese|Japanese]], please use '''ja''' or '''jpn'''. </span>
  |gr = {{{2}}}<span class="error" style="font-size:smaller;">Language code error: for [[wikipedia:Greek|Greek]], please use '''el''' or '''gre'''. </span>
  |gr = {{{2}}}<span class="error" style="font-size:smaller;">Language code error: for [[wikipedia:Greek|Greek]], please use '''el''' or '''gre'''. </span>
  |kr = {{{2}}}<sup>([[wikipedia:|Kanuri]])</sup>
  |kr = {{{2}}}<sup>([[wikipedia:Kanuri|Kanuri]])</sup>
  |kp = {{{2}}}<span class="error" style="font-size:smaller;">Language code error: for [[wikipedia:Korean|Korean]], please use '''ko''' or '''kor'''. </span>
  |kp = {{{2}}}<span class="error" style="font-size:smaller;">Language code error: for [[wikipedia:Korean|Korean]], please use '''ko''' or '''kor'''. </span>
  |po = {{{2}}}<span class="error" style="font-size:smaller;">Language code error: for [[wikipedia:Polish|Polish]], please use '''pl''' or '''pol'''. </span>
  |po = {{{2}}}<span class="error" style="font-size:smaller;">Language code error: for [[wikipedia:Polish|Polish]], please use '''pl''' or '''pol'''. </span>

Revision as of 20:14, 4 September 2021

{{{2}}}

Template Documentation  [View] [Edit] [History] [Help] [Refresh]

This Template use for modifing the font of non-English languages.

Usage

{{lang|Language Code|Contents}}

Example

Language (or sub-language) Simplified Chinese Traditional Chinese Japanese Korean
Code {{lang|zh-Hans|骨}} {{lang|zh-Hant|骨}} {{lang|ja|骨}} {{lang|ko|骨}}
Result

Meaning of the template

The same word or character has different fonts in different countries and regions. Expecially in Chinese character culture circle of East Asia for the following example.

  • If you see that the glyphs of the same line of words in the following example are exactly the same, your browser version might be too old. Or the default font compatibility of the website is poor.
General meaning of the character Simplified Chinese (Mainland China) Traditional Chinese (Taiwan) Japanese Korean
bone
send
shine 耀 耀 耀 耀

Common language code list

  • ATTENTION: ISO 639-3 is incompatible with some fonts, please use it with caution.
Names of languages and their variants Language code
ISO 639-1 ISO 639-3
Russian ru rus
Spanish es spa
Portuguese pt por
French fr fra
German de deu
Italian it ita
Polish pl pol
Ukrainian uk ukr
Turkish tr tur
Serbian sr srp
Danish da dan
Greek el ell
Ancient Greek (to 1453) - grc
Latin la lat
Sanskrit sa san
Names of languages and their variants Language code
ISO 639-1 ISO 639-3
Chinese zh zho
Simplified Chinese zh-Hans zho-Hans
Traditional Chinese zh-Hant zho-Hant
English en eng
Chuang (Zhuang) za zha
Tibetan bo bod
Mongolian mn mon
Uyghur ug uig
Yue Chinese (Cantonese) - yue
Korean ko kor
Japanese ja jpn
Thai th tha
Arabic ar ara
Hindi hi hin
Indonesian id ind