แม่แบบ:hyphenation/documentation

จาก วิกิพจนานุกรม พจนานุกรมเสรี
เอกสารการใช้งานสำหรับ แม่แบบ:hyphenation [แก้ไข]
หน้านี้มีข้อมูลวิธีการใช้งาน หมวดหมู่ ลิงก์ข้ามวิกิ และเนื้อหาอย่างอื่นที่อธิบายแม่แบบ
เว็บย่อ:
Template:hyph

Usage[แก้ไข]

This template allows for the easy display of a word's hyphenation, which is often related to its syllables but other times more heavily tied to its etymology. An easy way to use the template is to mark each possible hyphenation location with a vertical bar (a.k.a. a "pipe", "|"). The template will then display the hyphenation with a hyphenation point (U+2027, "‧") separating each part of the term. Hyphenation information should be placed in the "Pronunciation" section of an entry.

For example on the page for measure the hyphenation is recorded in the form

* {{hyphenation|en|mea|sure}}

which displays as

  • การแบ่งพยางค์: mea‧sure

For cases with more than one possible hyphenation the template can be used with the caption parameter to give more detailed usage information. Alternatively, the nocaption parameter can be used to turn off the caption altogether. As an example of the caption parameter's use, the code for the hyphenation for knowledge is

* {{hyphenation|en|knowl|edge|caption=Hyphenation US}}, {{hyphenation|en|caption=UK|know|ledge}}

and renders as

  • Hyphenation US: knowl‧edge, UK: know‧ledge

As an example of the nocaption parameter,

* {{hyphenation|en|knowl|edge|nocaption=1}}

displays as

  • knowl‧edge


TemplateData[แก้ไข]

แม่แบบ:TemplateDataHeader

Allows for the easy display of a word's hyphenation, which is often related to its syllables but other times more heavily tied to its etymology. Displays the hyphenation with a hyphenation point (U+2027, "‧") separating each part of the term. Hyphenation information should be placed in the "Pronunciation" section of an entry.

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

แม่แบบนี้มีการจัดรูปแบบที่กำหนดเอง

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

The language code for the term being hyphenated.

ตัวอย่าง
en
สตริงจำเป็น
syllable 12

The first syllable of the word.

ตัวอย่าง
phi
สตริงจำเป็น
syllable 23

The second syllable of the word.

ตัวอย่าง
lo
สตริงแนะนำ
syllable 34

The third syllable of the word.

ตัวอย่าง
soph
สตริงเลือกได้
syllable 45

The fourth syllable of the word.

ตัวอย่าง
i
สตริงเลือกได้
syllable 56

The fifth syllable of the word.

ตัวอย่าง
cal
สตริงเลือกได้
syllable 67

The sixth syllable of the word.

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

The seventh syllable of the word.

สตริงเลือกได้
syllable 8, ...9

The eighth syllable of the word.

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

Overrides "Hyphenation" as caption if provided.

ตัวอย่าง
Hyphenation (US)
บรรทัดเลือกได้
disable captionnocaption

If "1", the caption "Hyphenation:" is disabled.

ตัวอย่าง
1
จำนวนเลือกได้