Jump to content

Template:Ko-rm: Difference between revisions

From The Petit Planet Wiki
ReisuDesign (talk | contribs)
Created page with "'''← Back to Language Guides''' ==Introduction== The Genshin Impact Wiki has some specific rulesets regarding the usage and romanization of Korean text in articles, which may be different from other wikis, communities, or official standardization methods. Please read this page carefully before adding any sort of Korean text or romanization. ==Template== The template {{T|Lang}} must be used when adding Korean text and romanization (and..."
 
ReisuDesign (talk | contribs)
Replaced content with "<includeonly>{{#invoke:Ko-rm|main}}</includeonly><noinclude>{{Documentation}}</noinclude>"
Tag: Replaced
 
Line 1: Line 1:
'''[[:Category:Language Guides|&larr; Back to Language Guides]]'''
<includeonly>{{#invoke:Ko-rm|main}}</includeonly><noinclude>{{Documentation}}</noinclude>
==Introduction==
The Genshin Impact Wiki has some specific rulesets regarding the usage and romanization of Korean text in articles, which may be different from other wikis, communities, or official standardization methods. Please read this page carefully before adding any sort of Korean text or romanization.
 
==Template==
The template {{T|Lang}} must be used when adding Korean text and romanization (and can also support other languages like Chinese and Japanese). The shorthand template {{T|ko}} is preferred unless the {{F|mini}} option is not desired.
 
==Usage==
The usage of Korean on the Genshin Impact Wiki is much more limited than Chinese, or even Japanese. Korean can be used in the following applications:
* The Korean part of Other Language sections
* The names of Korean voice actors
* Trivia sections or Lore pages for explaining etymology
* Korean Voice-Over pages of characters
 
Korean should not be used in the following applications:
* Names of characters, factions, locations, etc.
* Essentially everywhere else other than extreme or edge exceptions
 
==Capitalization==
* The romanization should follow the capitalization of the corresponding English text, whether it is in title case or sentence case.
 
==Romanization==
Korean romanizations can be automatically generated using the template {{T|ko-rm}}. ''However'', this template is unable to capture occasional exceptions and in such cases, manual romanizations should be provided instead.
 
Ultimately, all Korean text should be romanized according to the following rules.
 
The romanization system we use is '''Revised Romanization of Korean''', with the following modifications and/or enforcements of existing rules:
* Sound changes and assimilation '''are''' observed in given names, but unassimilated romanizations can be provided in a hover note. For example: {{ko|종려|{{tt|Jongnyeo|spelled: Jongryeo}}}}.
** This may be generated automatically by adding {{F|//}} on either side of the given name. For example, {{T|ko-rm|//종려//|_Y_=1}}.
* {{ko|ㅎ}} (''hieut'') in the final position before {{ko|ㅇ}} (''ieung'') in initial position should be romanized as ''h'' instead of nothing.
* Ambiguous syllabic boundaries should be marked with an apostrophe ({{F|'}}), whereas semantic boundaries should be marked with a hyphen-minus ({{F|-}})
 
The following lists the rules for transcription for each Korean Hangul ''jamo'' ({{ko|{{tt|자모|字母}}}}, letter).
 
===Vowel Letters===
{|class=wikitable width=700 style="text-align:center;"
!lang=ko|Hangul
|ㅏ||ㅐ||ㅑ||ㅒ||ㅓ||ㅔ||ㅕ||ㅖ||ㅗ||ㅘ||ㅙ||ㅚ||ㅛ||ㅜ||ㅝ||ㅞ||ㅟ||ㅠ||ㅡ||ㅢ||ㅣ
|-
!Romanization
|''a''||''ae''||''ya''||''yae''||''eo''||''e''||''yeo''||''ye''||''o''||''wa''||''wae''||''oe''||''yo''||''u''||''wo''||''we''||''wi''||''yu''||''eu''||''ui''||''i''
|}
 
===Consonant Letters===
{|class=wikitable width=700 style="text-align:center;"
!colspan=2 lang=ko|Hangul
|ㄱ||ㄲ||ㄴ||ㄷ||ㄸ||ㄹ||ㅁ||ㅂ||ㅃ||ㅅ||ㅆ||ㅇ||ㅈ||ㅉ||ㅊ||ㅋ||ㅌ||ㅍ||ㅎ
|-
!rowspan=2|Romanization!!Initial
|''g''||''kk''|| rowspan="2" |''n''||''d''||''tt''||''r''|| rowspan="2" |''m''||''b''||''pp''||''s''||''ss''||–||''j''||''jj''||''ch''|| rowspan="2" |''k''|| rowspan="2" |''t''|| rowspan="2" |''p''||''h''
|-
!Final
|''k''||''k''||''t''||–||''l''||''p''||–||''t''||''t''||''ng''||''t''||–||''t''||''t''
|}
 
===Special Provisions===
The Revised Romanization transcribes certain phonetic changes that occur with combinations of the ending consonant of a character and the initial consonant of the next like ''Hangu'''k''''' → ''Hangu'''g'''eo''. These significant changes occur (highlighted in yellow):
{| class="wikitable" style="text-align:center"
|-
! rowspan="2" colspan="2" {{diagonal split header|<small>previous<br />ending</small>|<small>following<br />initial</small>}}
! {{ko|ㅇ}} || {{ko|ㄱ}} || {{ko|ㄴ}} || {{ko|ㄷ}} || {{ko|ㄹ}} || {{ko|ㅁ}} || {{ko|ㅂ}} || {{ko|ㅅ}} || {{ko|ㅈ}} || {{ko|ㅊ}} || {{ko|ㅋ}} || {{ko|ㅌ}} || {{ko|ㅍ}} || {{ko|ㅎ}}
|-
! ''–'' || ''g'' || ''n'' || ''d'' || ''r'' || ''m'' || ''b'' || ''s'' || ''j'' || ''ch'' || ''k'' || ''t'' || ''p'' || ''h''
|-
! {{ko|ㄱ}} || ''k''
| style="background:rgba(255,255,102,0.5)" | ''g'' || ''kg'' || style="background:rgba(255,255,102,0.5)" | ''ngn'' || ''kd'' || style="background:rgba(255,255,102,0.5)" | ''ngn'' || style="background:rgba(255,255,102,0.5)" | ''ngm'' || ''kb'' || ''ks'' || ''kj'' || ''kch'' || ''k'k'' || ''kt'' || ''kp'' || style="background:rgba(255,255,102,0.5)" | ''kh'', ''k''
|-
! {{ko|ㄴ}} || ''n''
| ''n'' || ''n'g'' || ''nn'' || ''nd'' || style="background:rgba(255,255,102,0.5)" | ''ll'', ''nn'' || ''nm'' || ''nb'' || ''ns'' || ''nj'' || ''nch'' || ''nk'' || ''nt'' || ''np'' || ''nh''
|-
! {{ko|ㄷ}} || ''t''
| style="background:rgba(255,255,102,0.5)" | ''d''<ref group="*">If the following ''jamo'' is {{ko|이|i}} and palatalization occurs, romanize as ''j''.</ref> || ''tg'' || style="background:rgba(255,255,102,0.5)" | ''nn'' || ''td'' || style="background:rgba(255,255,102,0.5)" | ''nn'' || style="background:rgba(255,255,102,0.5)" | ''nm'' || ''tb'' || ''ts'' || ''tj'' || ''tch'' || ''tk'' || ''t't'' || ''tp'' || style="background:rgba(255,255,102,0.5)" | ''th'', ''t''<ref group="*" name=thi>If the following ''jamo'' is {{ko|히|hi}} and palatalization occurs, romanize as ''ch''.</ref>
|-
! {{ko|ㄹ}} || ''l''
| style="background:rgba(255,255,102,0.5)" | ''r'' || ''lg'' || style="background:rgba(255,255,102,0.5)" | ''ll'' || ''ld'' || style="background:rgba(255,255,102,0.5)" | ''ll'' || ''lm'' || ''lb'' || ''ls'' || ''lj'' || ''lch'' || ''lk'' || ''lt'' || ''lp'' || ''lh''
|-
! {{ko|ㅁ}} || ''m''
| ''m'' || ''mg'' || ''mn'' || ''md'' || style="background:rgba(255,255,102,0.5)" | ''mn'' || ''mm'' || ''mb'' || ''ms'' || ''mj'' || ''mch'' || ''mk'' || ''mt'' || ''mp'' || ''mh''
|-align=center
! {{ko|ㅂ}} || ''p''
| style="background:rgba(255,255,102,0.5)" | ''b'' || ''pg'' || style="background:rgba(255,255,102,0.5)" | ''mn'' || ''pd'' || style="background:rgba(255,255,102,0.5)" | ''mn'' || style="background:rgba(255,255,102,0.5)" | ''mm'' || ''pb'' || ''ps'' || ''pj'' || ''pch'' || ''pk'' || ''pt'' || ''p'p'' || style="background:rgba(255,255,102,0.5)" | ''ph'', ''p''
|-
! {{ko|ㅅ}} || ''t''
| style="background:rgba(255,255,102,0.5)" | ''s'' || ''tg'' || style="background:rgba(255,255,102,0.5)" | ''nn'' || ''td'' || style="background:rgba(255,255,102,0.5)" | ''nn'' || style="background:rgba(255,255,102,0.5)" | ''nm'' || ''tb'' || ''ts'' || ''tj'' || ''tch'' || ''tk'' || ''t't'' || ''tp'' || style="background:rgba(255,255,102,0.5)" | ''th'', ''t''<ref group="*" name=thi />
|-
! {{ko|ㅇ}} || ''ng''
| ''ng<nowiki>'</nowiki>'' || ''ngg'' || ''ngn'' || ''ngd'' || style="background:rgba(255,255,102,0.5)" | ''ngn'' || ''ngm'' || ''ngb'' || ''ngs'' || ''ngj'' || ''ngch'' || ''ngk'' || ''ngt'' || ''ngp'' || ''ngh''
|-align=center
! {{ko|ㅈ}} || ''t''
| style="background:rgba(255,255,102,0.5)" | ''j'' || ''tg'' || style="background:rgba(255,255,102,0.5)" | ''nn'' || ''td'' || style="background:rgba(255,255,102,0.5)" | ''nn'' || style="background:rgba(255,255,102,0.5)" | ''nm'' || ''tb'' || ''ts'' || ''tj'' || ''tch'' || ''tk'' || ''t't'' || ''tp'' || style="background:rgba(255,255,102,0.5)" | ''th'', ''t''<ref group="*" name=thi />
|-
! {{ko|ㅊ}} || ''t''
| style="background:rgba(255,255,102,0.5)" | ''ch'' || ''tg'' || style="background:rgba(255,255,102,0.5)" | ''nn'' || ''td'' || style="background:rgba(255,255,102,0.5)" | ''nn'' || style="background:rgba(255,255,102,0.5)" | ''nm'' || ''tb'' || ''ts'' || ''tj'' || ''tch'' || ''tk'' || ''t't'' || ''tp'' || style="background:rgba(255,255,102,0.5)" | ''th'', ''t''<ref group="*" name=thi />
|-
! {{ko|ㅋ}} || ''k''
| ''k'' || ''kg'' || style="background:rgba(255,255,102,0.5)" | ''ngn'' || ''kd'' || style="background:rgba(255,255,102,0.5)" | ''ngn'' || style="background:rgba(255,255,102,0.5)" | ''ngm'' || ''kb'' || ''ks'' || ''kj'' || ''kch'' || ''k'k'' || ''kt'' || ''kp'' || ''kh''
|-
! {{ko|ㅌ}} || ''t''
| ''t''<ref group="*">If the following ''jamo'' is {{ko|이|i}} and palatalization occurs, romanize as ''ch''.</ref> || ''tg'' || style="background:rgba(255,255,102,0.5)" | ''nn'' || ''td'' || style="background:rgba(255,255,102,0.5)" | ''nn'' || style="background:rgba(255,255,102,0.5)" | ''nm'' || ''tb'' || ''ts'' || ''tj'' || ''tch'' || ''tk'' || ''t't'' || ''tp'' || style="background:rgba(255,255,102,0.5)" | ''th'', ''t''<ref group="*" name=thi />
|-
! {{ko|ㅍ}} || ''p''
| ''p'' || ''pg'' || style="background:rgba(255,255,102,0.5)" | ''mn'' || ''pd'' || style="background:rgba(255,255,102,0.5)" | ''mn'' || style="background:rgba(255,255,102,0.5)" | ''mm'' || ''pb'' || ''ps'' || ''pj'' || ''pch'' || ''pk'' || ''pt'' || ''p'p'' || ''ph''
|-
! {{ko|ㅎ}} || ''t''
| style="background:rgba(255,255,102,0.5)" | ''h'' || style="background:rgba(255,255,102,0.5)" | ''k'' || style="background:rgba(255,255,102,0.5)" | ''nn'' || style="background:rgba(255,255,102,0.5)" | ''t'' || style="background:rgba(255,255,102,0.5)" | ''nn'' || style="background:rgba(255,255,102,0.5)" | ''nm'' || style="background:rgba(255,255,102,0.5)" | ''p'' || style="background:rgba(255,255,102,0.5)" | ''s'' || style="background:rgba(255,255,102,0.5)" | ''ch'' || ''tch'' || ''tk'' || ''t't'' || ''tp'' || style="background:rgba(255,255,102,0.5)" | ''t''
|}
 
====Notes====
{{Reflist|group=*}}
 
===Yethangul===
Generally, there should be virtually no reason to come across {{Lang|yethangul|ko=옛한글|ko_rm=yethangeul}} when editing Genshin Impact Wiki or playing Genshin Impact. However, if a case where yethangul needs to be used arises, romanize all yethangul directly how they are orthographically spelled without any sound changes and special provisions or transcription positional differences.
 
==Formatting==
===Punctuation===
* Convert punctuation in the romanization as follows:
::{| class="wikitable"
! Korean Transcript !! Romanization
|-
| {{ko|{{F|・}}}} || {{F|&nbsp;-&nbsp;}}<ref group="Note">This is a hyphen-minus (the symbol widely available on most keyboards). A space should be placed on either side of the hyphen.</ref>
|-
| {{ko|{{F|,}}}} || {{F|,&nbsp;}}
|-
| {{ko|{{F|…}}}} || {{F|...}}
|-
| {{ko|{{F|「」}}}} || {{F|""}}
|-
| {{ko|{{F|『』}}}} || {{F|""}}
|-
| {{ko|{{F|【】}}}} || {{F|""}}
|-
| {{ko|{{F|()}}}} || {{F|()}}
|}
 
==Notes==
{{Reflist|note=1}}
 
{{Namespace|project=[[Category:Language Guides]]}}

Latest revision as of 12:40, 2 September 2026

Template documentation
Note: parts of or the entire template might not be visible without values provided.
This template uses Module:Ko-rm, a script written in Lua.

Template to automate the romanization of Korean text based on the Petit Planet Wiki:Korean guidelines.

Syntax

[edit source]

{{ko-rm|Korean text|capi = include to capitalize everything|sent = include to use sentence case}}

  • ^ will capitalize the following syllable.
  • _ will decapitalize the following syllable.
Hyphenation and spacing corrections
  • < > can be added to insert a space into the romanization. This should only be used when a space is needed around punctuation. Do not use this to break words into two. For example:
    • {{ko-rm|…으윽…< >흠.|sent = 1}} yields: ...Eueuk... Heum.
  • <-> can be added to insert a hyphen into the romanization. For example:
    • {{ko-rm|나<->의}} yields: na-ui
  • <・: > can be used instead of just ・ to romanize it as a space instead of a spaced hyphen.
    • {{ko-rm|야곱<・: >머스크|capi = 1}} yields: Yagop Meoseukeu
Irregular pronunciation corrections
  • nn — {{ko-rm|Korean text|nn = position of the syllable containing ᄅ}} will transcribe the specified intersyllabic "ᆫᄅ" sequence as nn instead of the default ll. For example:
    • {{ko-rm|생산량|nn = 3}} yields: saengsannyang
  • ni — {{ko-rm|Korean text|ni = position of the syllable containing 이/야/여/요/유}} will add the "ㄴ" to the specified syllable for the "ㄴ addition" rule. For example:
    • {{ko-rm|옛이야기|ni = 2}} yields: yenniyagi
  • bcred — {{ko-rm|Korean text|bcred = position of the syllable containing the batchim to reduce}} will reduce the consonant cluster in the specified syllable or neutralize the batchim in the specified syllable prior to consonant assimilation. This can also be used to block palatalization. For example:
    • {{ko-rm|값어치|bcred = 1}} yields: gabeochi
    • {{ko-rm|맞흥정|bcred = 1}} yields: matheungjeong
    • {{ko-rm|곧이어|bcred = 1}} yields: godieo
  • When counting positions, spaces are included in the count but not punctuation.
  • If multiple of each irregularity exists, their positions may be listed with commas. For example:
    • {{ko-rm|생산량, 곧이어, 생산량, 곧이어|nn = 3,11|bcred = 5,13}} yields: saengsannyang, godieo, saengsannyang, godieo
Given names
  • Surround any part of the Korean text with // on both sides for given names to romanize with the exceptions noted in the guidelines. For example:
    • {{ko-rm|//종려//의 운명의 별}} yields: Jongnyeo-ui unmyeong'ui byeol
Numbers
  • The reading of numbers can be added into the original text in the format <number:reading in Hangul>. For example:
    • {{ko-rm|<11:열한>시 <11:십일>분}} yields: yeolhansi sibilbun

Examples

[edit source]
Default

{{ko-rm|「외눈박이 월드」}} yields: "oenunbagi woldeu"

Forced capitalization

{{ko-rm|방^랑자}} yields: bangNangja

Title case

{{ko-rm|새벽의 어둠|capi = 1}} yields: Saebyeogui Eodum
{{ko-rm|…으윽…< >흠, 유쾌하지 않은 일들이 생각났어|capi = 1}} yields: ...Eueuk... Heum, Yukwaehaji Aneun Ildeuri Saenggangnasseo
{{ko-rm|1 = 속세를 비웃는 백 가지 {{tt|자태|姿態}}자태ⓘ姿態{{Sino|ko}}‍[※]ⓘSino-Korean reading of Chinese name|capi = 1}} yields: Soksereul Biunneun Baek Gaji 姿態‍Sino-Korean Reading Of Chinese Name

Sentence case

{{ko-rm|…으윽…흠, 유쾌하지 않은 일들이 생각났어|sent = 1}} yields: ...Eueuk...Heum, yukwaehaji aneun ildeuri saenggangnasseo
{{ko-rm|1 = 속세를 비웃는 백 가지 {{tt|자태|姿態}}자태ⓘ姿態{{Sino|ko}}‍[※]ⓘSino-Korean reading of Chinese name|sent = 1}} yields: Soksereul biunneun baek gaji 姿態‍Sino-Korean reading of Chinese name

Template Data

[edit source]

Template to automate the romanization of Korean text

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

Korean text to be romanized.

Example
"방랑자"
Stringrequired
Title Casecapi

Transform the romanization into title case.

Booleansuggested
Sentence Casesent

Transform the romanization into sentence case.

Booleansuggested
ᆫᄅ as nnnn

Romanize the initial of the specified character as if it were ㄴ.

Stringsuggested
ㄴ Additionni

Add a ㄴ before the specified character.

Stringsuggested
Batchim Reductionbcred

Reduce the batchim of the specified character.

Stringsuggested