Jump to content

Template:Ko-translit/doc

From Wikipedia, the free encyclopedia

Purpose

[edit]

This template uses Module:Ko-translit to automatically generate romanized Korean text based on given Hangul text. The module currently implements Revised Romanization and McCune–Reischauer (the 1961 version).

The template also has an option to have the text be wrapped in {{Transliteration}} (see that template for explanation of why wrapping is preferred).

Usage

[edit]

Example

[edit]

Capitalize first letter:

{{ko-translit|rr|^한글}} → Hangeul

Wrap and disable italics (hover mouse over output):

{{ko-translit|rr|한글|wrap=yes|wrapital=no}}hangeul

Name mode:

{{ko-translit|mr|%이승만}} → I Sŭngman

Parameters

[edit]
|system=
Required, either rr or mr. The romanization system to use (Revised Romanization or McCune–Reischauer).
|hangul=
Required. Hangul text to romanize. The text may need to have special symbols be inserted in order to modify the output romanization. For example, to capitalize the first letter of the romanization, a ^ needs to be inserted before the Hangul. E.g. ^한글Hangul.
|wrap=
Optional, default no. Set to yes to wrap the output romanization in {{transliteration}}. The language tags for that template are automatically set.
|wrapital=
Optional, default yes. Only relevant if |wrap=yes. Set to no to disable italics in {{transliteration}}.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Ko-translit in articles based on its TemplateData.

TemplateData for Ko-translit

Semi-automatic romanization of Korean.

Template parameters

ParameterDescriptionTypeStatus
Systemsystem 1

Romanization system to use

Suggested values
rr mr
Stringrequired
Hangulhangul 2

Hangul string to romanize. May need special symbols to modify the romanization.

Stringrequired
Wrap output?wrap

Wrap text in transliteration template?

Suggested values
no yes
Default
no
Stringsuggested
Italicize wrapped text?wrapital

Italicize text wrapped in transliteration template?

Suggested values
yes no
Default
yes
Stringsuggested

See also

[edit]