Jump to content

Template:Ko/doc

From The Petit Planet Wiki
This is the documentation page for Ko.
It contains usage information, categories, and other content not part of the original template page.
This template uses Module:Lang, a script written in Lua.

This template is a shorthand for formatting Korean text by using {{Lang|selective = 1|mini = 1}} as a base, and with automated romanisation through {{Ko-rm}}.

Syntax

[edit source]

All fields are optional except the Korean text.
{{Ko|Korean text|rm = Romanisation of the Korean text|tl = Translation of the Korean text|lit = Literal Translation of the Korean Text}}

Examples

[edit source]

{{Ko|안녕, 여행자|rm = Annyeong, Yeohaengja|tl = Hello, Traveler|lit = Good Day, Traveler}} yields:
안녕, 여행자 Annyeong, Yeohaengja, "Hello, Traveler," lit. "Good Day, Traveler"

Template Data

[edit source]

Template for formatting Korean

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Korean texttx 1

Korean text to be formatted

Stringrequired
Romanizationrm 2

Romanization of the Korean text

Stringoptional
Translationtl 3

Translation of the Korean text

Stringoptional
Literal Translationlit 4

Literal translation of the Korean text

Stringoptional