Template:Ko/doc
This is the documentation page for Ko. It contains usage information, categories, and other content not part of the original template page. | ||
|---|---|---|
| Main | Documentation | Usage |
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
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
{{Ko|안녕, 여행자|rm = Annyeong, Yeohaengja|tl = Hello, Traveler|lit = Good Day, Traveler}} yields:
안녕, 여행자 Annyeong, Yeohaengja, "Hello, Traveler," lit. "Good Day, Traveler"
Template Data
Template for formatting Korean
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Korean text | tx 1 | Korean text to be formatted | String | required |
| Romanization | rm 2 | Romanization of the Korean text | String | optional |
| Translation | tl 3 | Translation of the Korean text | String | optional |
| Literal Translation | lit 4 | Literal translation of the Korean text | String | optional |