แม่แบบ:Korean

จากวิกิพีเดีย สารานุกรมเสรี
(เปลี่ยนทางจาก แม่แบบ:Ko-hhrm)

แม่แบบ:Korean ต้องการพารามิเตอร์ |hangul=

Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

วัตถุประสงค์[แก้]

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
จำเป็น
hanja
เลือกได้
rr
The Revised Romanization
mr
McCune–Reischauer romanization; to be used in place of |rr= in articles about North Korea
context=north
Deprecated; for use in articles about North Korea; displayed "Hancha" instead of "Hanja" and "Chosŏn'gŭl" instead of "Hangul"
context=old
Deprecated; displayed Hunminjeongeum instead of "Hangul" or "Chosŏn'gŭl", was meant to be used in articles about events that occurred before the development of North and South Korea (pre-1945)
labels
Set to no to remove all labels. This is useful if the template is used multiple times in quick succession.
links
Set to no to remove the wikilinks from labels. This reduces overlinking in an article (see WP:OLINK)
lit
Allows for the inclusion of a literal English translation; should not be used for people's names

Note: This template should generally be placed in parentheses (see MOS:TEXT)

ชุดพารามิเตอร์แบบเต็ม[แก้]

{{Korean|hangul=|hanja=|rr=|mr=|links=|labels=|lit=}}

Typical usage:

{{Korean|hangul=|hanja=|rr=}}

Example:

{{Korean|hangul=대청황제공덕비|hanja=大淸皇帝功德碑|rr=Daechong Hwangje Gongdeokbi}}

will produce:

เกาหลี대청황제공덕비; ฮันจา大淸皇帝功德碑; อาร์อาร์Daechong Hwangje Gongdeokbi

Alternatively, the template can be used without labels. 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.

ป้ายตัวเลือก[แก้]

Add |labels=no anywhere in the template to disable labels, so only the text supplied as parameters appears, separated by semicolons. This minimises the length of the template, and can be used when the template is used more than once to lessen its impact. Disabling labels also suppresses links.

{{Korean|대청황제공덕비|大淸皇帝功德碑|Daechong Hwangje Gongdeokbi|labels = no}}
대청황제공덕비; 大淸皇帝功德碑; Daechong Hwangje Gongdeokbi

Add |links=no anywhere in the template to suppress label links. This is for preventing overlinking in an article or section where the template is used repeatedly.

{{Korean|대청황제공덕비|大淸皇帝功德碑|Daechong Hwangje Gongdeokbi|links = no}}
เกาหลี: 대청황제공덕비; ฮันจา: 大淸皇帝功德碑; อาร์อาร์ Daechong Hwangje Gongdeokbi

ข้อมูลแม่แบบ[แก้]

ด้านล่างนี้คือข้อมูลแม่แบบ เอกสารกำกับสำหรับแม่แบบนี้ซึ่งถูกใช้งานโดยเครื่องมือแก้ไขแบบเห็นภาพและเครื่องมืออื่น ๆ

ข้อมูลแม่แบบสำหรับ Korean (อาจล้าสมัย)

A template to facilitiate consistent layout, proper formatting, categorisation and language labelling of Korean text

พารามิเตอร์แม่แบบ[แก้ไขข้อมูลแม่แบบ]

แม่แบบนี้ต้องการการจัดรูปแบบพารามิเตอร์แบบอินไลน์

พารามิเตอร์คำอธิบายชนิดสถานะ
Korean charactershangul 1

อักษรเกาหลี

สตริงแนะนำ
Chinese charactershanja 2

อักษรจีน

สตริงแนะนำ
Revised Romanizationrr 3

ระบบกระทรวงวัฒนธรรมเกาหลี 2000

สตริงแนะนำ
McCune–Reischauer Romanizationmr 4

ระบบแมกคูน-ไรซ์ชาวเออร์

สตริงแนะนำ
Labelslabels

ป้าย

ตัวอย่าง
no
สตริงเลือกได้
Linkslinks

ลิงก์

ตัวอย่าง
no
สตริงเลือกได้
Contextcontext

บริบท

ตัวอย่าง
north
ไม่ทราบชนิดเลิกใช้แล้ว
Literal English translationlit

การแปลภาษาอังกฤษตามตัวอักษร

สตริงเลือกได้

ดูเพิ่ม[แก้]