跳至內容

模板:Korean

對Wikipedia

Template:Korean requires |hangul= parameter.

[káng] [gāi] [sṳ̄] [purge] Documentation icon 模板其說明文檔

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.

Parameters

[Gāi nguòng-mā]

Only the first parameter is required

hangul
Required
hanja
Optional
rr
The Revised Romanization
mr
McCune–Reischauer romanization; to be used in place of |rr= in articles about North Korea
context=north
Deprecated; for use in articles about North Korea; displayed "Hancha" instead of "Hanja" and "Chosŏn'gŭl" instead of "Hangul"
context=old
Deprecated; displayed Hunminjeongeum instead of "Hangul" or "Chosŏn'gŭl", was meant to be used in articles about events that occurred before the development of North and South Korea (pre-1945)
labels
Set to no to remove all labels. This is useful if the template is used multiple times in quick succession.
links
Set to no to remove the wikilinks from labels. This reduces overlinking in an article (see WP:OLINK)
lit
Allows for the inclusion of a literal English translation; should not be used for people's names

Note: This template should generally be placed in parentheses (see )

Full parameter set

[Gāi nguòng-mā]
{{Korean|hangul=|hanja=|rr=|mr=|links=|labels=|lit=}}

Typical usage:

{{Korean|hangul=|hanja=|rr=}}

Example:

{{Korean|hangul=대청황제공덕비|hanja=大淸皇帝功德碑|rr=Daechong Hwangje Gongdeokbi}}

will produce:

Hàng-guók-ngṳ̄대청황제공덕비; Háng-cê大淸皇帝功德碑; RRDaechong Hwangje Gongdeokbi

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.

Label options

[Gāi nguòng-mā]

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}}
대청황제공덕비 ; 大淸皇帝功德碑 ; Daechong Hwangje Gongdeokbi

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}}
Hàng-guók-ngṳ̄:  대청황제공덕비 ; Háng-cê:  大淸皇帝功德碑 ; RR Daechong Hwangje Gongdeokbi

TemplateData

[Gāi nguòng-mā]
This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Korean

A template to facilitiate consistent layout, proper formatting, categorisation and language labelling of Korean text

模板參數[編輯模板資料]

此模板以參數行內格式為優先。

參數描述類型狀態
Korean charactershangul 1

Korean characters

字串建議
Chinese charactershanja 2

Chinese characters

字串建議
Revised Romanizationrr 3

Revised Romanization

字串建議
McCune–Reischauer Romanizationmr 4

McCune–Reischauer Romanization

字串建議
Labelslabels

Labels

範例
no
字串非必填
Linkslinks

Links

範例
no
字串非必填
Contextcontext

Context

範例
north
不明不建議使用
Literal English translationlit

Literal English translation

字串非必填