Template:Korean requires
|hangul=
parameter.
This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see Wikipedia:COinS. |
This template is used on approximately 21,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Preview message: Transclusion count updated automatically (see documentation). |
This template organizes Korean scripts and romanizations for use within article prose. It formats Korean Hangul and hanja using Template:Lang to ensure that web browsers use appropriate fonts, and screen readers use correct pronunciation. It also uses Template:Transl to mark romanizations as belonging in the "latinx" class of MediaWiki:Common.css.
Only the first parameter is required
hangul
hanja
rr
mr
|rr=
in articles about North Koreacontext=north
labels
no
to remove all labels. This is useful if the template is used multiple times in quick succession.links
no
to remove the wikilinks from labels. This reduces overlinking in an article (see WP:OLINK)lit
Note: This template should generally be placed in parentheses (see MOS:TEXT)
{{Korean|hangul=|hanja=|rr=|mr=|links=|labels=|lit=}}
Typical usage:
{{Korean|hangul=|hanja=|rr=}}
Example:
{{Korean|hangul=대청황제공덕비|hanja=大淸皇帝功德碑|rr=Daechong Hwangje Gongdeokbi}}
will produce:
Alternatively, the template can be used without labels. This will produce the same output as above, but be careful to put the Hangul, hanja, and romanizations in the same order as you would if you were using the labels.
Add |labels=no
anywhere in the template to disable labels, so only the text supplied as parameters appears, separated by semicolons. This minimises the length of the template, and can be used when the template is used more than once to lessen its impact. Disabling labels also suppresses links.
{{Korean|대청황제공덕비|大淸皇帝功德碑|Daechong Hwangje Gongdeokbi|labels = no}}
Add |links=no
anywhere in the template to suppress label links. This is for preventing overlinking in an article or section where the template is used repeatedly.
{{Korean|대청황제공덕비|大淸皇帝功德碑|Daechong Hwangje Gongdeokbi|links = no}}
TemplateData for Korean
A template to facilitiate consistent layout, proper formatting, categorisation and language labelling of Korean text
Parameter | Description | Type | Status | |
---|---|---|---|---|
Korean characters | hangul 1 | Korean characters | String | suggested |
Chinese characters | hanja 2 | Chinese characters | String | suggested |
Revised Romanization | rr 3 | Revised Romanization | String | suggested |
McCune–Reischauer Romanization | mr 4 | McCune–Reischauer Romanization | String | suggested |
Labels | labels | Labels
| String | optional |
Links | links | Links
| String | optional |
Context | context | Context
| Unknown | deprecated |
Literal English translation | lit | Literal English translation | String | optional |
Template | Languages | Scripts | Transliterations | Translation | Labels |
---|---|---|---|---|---|
{{Hani}}
|
Any | — | — | No | No |
{{CJKV}}
|
Yes | Always | |||
{{lang-zh}}
|
Chinese |
|
|
Yes | Optional |
{{Nihongo}}
|
Japanese | Japanese writing system[a] | Hepburn | Yes | Optional |
{{Nihongo2}}
|
Japanese | Japanese writing system[a] | — | No | No |
{{Korean}}
|
Korean |
|
Yes | Optional | |
{{Hanja}}
|
Korean | Hanja | — | No | Always |
{{Vi-nom}}
|
Vietnamese | Chữ Nôm | — | No | No |
{{Lang}}
|
Any | Any | Any | No | No |
{{Langx}}
|
Any | Any | Any | Yes | Optional |