Jump to content

Template:Lang/doc: Difference between revisions

From ModEnc²
en>桂月August
Doc to introduce this template.
 
en>桂月August
m debug
Line 1: Line 1:
This Template use for modifing the font of non-English languages.
This Template use for modifing the font of non-English languages.
==Usage==
==Usage==
{{code|<nowiki>{{lang|Language Code|Contents}}</nowiki>}}
<code><nowiki>{{lang|Language Code|Contents}}</nowiki></code>


* You can go to [[wikipedia:ISO 639|Wikipedia]] or [https://iso639-3.sil.org/code_tables/639/data SIL International] to search for the code of the language if you don't know it.
* You can go to [[wikipedia:ISO 639|Wikipedia]] or [https://iso639-3.sil.org/code_tables/639/data SIL International] to search for the code of the language if you don't know it.
Line 14: Line 14:
|-
|-
! Code
! Code
| {{code|<nowiki>{{lang|zh-Hans|骨}}</nowiki>}} || {{code|<nowiki>{{lang|zh-Hant|骨}}</nowiki>}} || {{code|<nowiki>{{lang|ja|骨}}</nowiki>}} || {{code|<nowiki>{{lang|ko|骨}}</nowiki>}}
| <code><nowiki>{{lang|zh-Hans|骨}}</nowiki></code> || <code><nowiki>{{lang|zh-Hant|骨}}</nowiki></code> || <code><nowiki>{{lang|ja|骨}}</nowiki></code> || <code><nowiki>{{lang|ko|骨}}</nowiki></code>
|-
|-
! Result
! Result

Revision as of 17:06, 3 September 2021

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

Usage

{{lang|Language Code|Contents}}

Example

Language (or sub-language) Chinese Simplify Chinese Traditional 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.

General meaning of the character Chinese Simplify (Mainland China) Chinese Traditional (Taiwan) Japanese Korean
bone 骨 骨 骨 骨
send 送 送 送 送
shine 耀 耀 耀 耀