"ഫലകം:Korean" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

(ചെ.) en:Template:Korean എന്നതിൽ നിന്ന് 61 പതിപ്പുകൾ ഇറക്കുമതി ചെയ്തു
rmv tracking categories (tracking complete)
വരി 1:
{{#ifeq:{{lc:{{{labels|yes}}}}}|no
{{Documentation subpage}}
|{{lang|ko-Hang|{{{hangul|{{{1|}}}}}}}}{{#if:{{{hanja|{{{2|}}}}}}|&#59; {{lang|ko-Hani|{{{hanja|{{{2|}}}}}}}} }}{{#if:{{{rr|{{{3|}}}}}}|&#59; ''{{transl|ko|{{{rr|{{{3|}}}}}}}}'' }}{{#if:{{{mr|{{{4|}}}}}}|&#59; ''{{transl|ko|{{{mr|{{{4|}}}}}}}}'' }}
 
|{{#ifeq:{{lc:{{{links|yes}}}}}|no
==Purpose==
|{{#switch:{{{context|}}}|north=Chosŏn'gŭl|old=Hunminjeongeum|#default=Hangul}}: {{lang|ko-Hang|{{{hangul|{{{1|}}}}}}}}{{#if:{{{hanja|{{{2|}}}}}}|&#59; {{#switch:{{{context|}}}|north=Hancha|#default=Hanja}}: {{lang|ko-Hani|{{{hanja|{{{2|}}}}}}}} }}{{#if:{{{rr|{{{3|}}}}}}|&#59; {{abbr|RR|Revised Romanization of Korean}}: ''{{transl|ko|{{{rr|{{{3|}}}}}}}}'' }}{{#if:{{{mr|{{{4|}}}}}}|&#59; {{abbr|MR|McCune–Reischauer}}: ''{{transl|ko|{{{mr|{{{4|}}}}}}}}'' }}
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]].
|[[Hangul{{!}}{{#switch:{{{context|}}}|north=Chosŏn'gŭl|old=Hunminjeongeum|#default=Hangul}}]]: {{lang|ko-Hang|{{{hangul|{{{1|}}}}}}}}{{#if:{{{hanja|{{{2|}}}}}}|&#59; [[Hanja{{!}}{{#switch:{{{context|}}}|north=Hancha|#default=Hanja}}]]: {{lang|ko-Hani|{{{hanja|{{{2|}}}}}}}} }}{{#if:{{{rr|{{{3|}}}}}}|&#59; [[Revised Romanization of Korean|RR]]: ''{{transl|ko|{{{rr|{{{3|}}}}}}}}'' }}{{#if:{{{mr|{{{4|}}}}}}|&#59; [[McCune–Reischauer|MR]]: ''{{transl|ko|{{{mr|{{{4|}}}}}}}}'' }}
 
}}
 
}}{{#if: {{{lit|}}}|&#59; lit. {{{lit}}}}}{{category handler
==Usage==
|main=[[Category:Articles containing Korean-language text]]}}<noinclude>{{documentation}}</noinclude>
Full parameter set:
:<code><nowiki>{{Korean|hangul=|hanja=|rr=|mr=|links=|context=|lit=}}</nowiki></code>
Typical usage:
:<code><nowiki>{{Korean|hangul=|hanja=|rr=}}</nowiki></code>
 
Example:
:<code><nowiki>{{Korean|hangul=대청황제공덕비|hanja=大清皇帝功德碑|rr=Daechong Hwangje Gongdeokbi}}</nowiki></code>
will produce:
<nowiki>
:{{Korean|hangul=대청황제공덕비|hanja=大清皇帝功德碑|rr=Daechong Hwangje Gongdeokbi}}
</nowiki>
Alternatively, the template can be used without labels. Example:
:<code><nowiki>{{Korean|대청황제공덕비|大清皇帝功德碑|Daechong Hwangje Gongdeokbi}}</nowiki></code>
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.
 
There are several optional parameters:
* '''mr=''' for [[McCune–Reischauer]] romanization; to be used in place of '''rr=''' in articles about [[North Korean language|North Korea]]
* '''context=north''' for use in articles about North Korea; displays "Hancha" instead of "Hanja" and "Chosŏn'gŭl" instead of "Hangul"
* '''context=old''' displays the more neutral [[Hunminjeongeum]] instead of "Hangul" or "Chosŏn'gŭl", can be used in articles about events that occurred before the development of North and South Korea (pre-1945)
* '''links=no''' to remove labels and links to language pages to improve readability; useful if the template is used multiple times in the same article (see [[WP:OLINK]])
* '''lit=''' allows for the inclusion of a literal English translation; should generally not be used for people's names
 
'''Note:''' This template should generally be placed in parentheses (see [[MOS:TEXT#Foreign terms|MOS:TEXT]])
 
==See also==
* [[Template:Infobox Korean name]]
* [[Template:Lang-ko]]
* [[Template:Hangul]]
* [[Template:Hanja]]
 
<includeonly>
[[Category:Korean name templates|{{PAGENAME}}]]
</includeonly>
"https://ml.wikipedia.org/wiki/ഫലകം:Korean" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്