ข้ามไปเนื้อหา

แม่แบบ:IPA/documentation

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

This template adds the proper formatting and links to a pronunciation transcription in the International Phonetic Alphabet. It applies proper formatting and adds links to the language's IPA key using Module:IPA/templates. It should be used in pronunciation sections only. If the language has a template that automatically generates pronunciation from spelling, that template should be used instead of this one.

By default, the module counts the syllables in every phonemic transcription of a language that has diphthongs listed in Module:syllables, and a category is added based on the count, such as แม่แบบ:catlink. To turn off syllable counting, add the parameter |nocount=1.

The module also tracks various IPA and some non-IPA symbols in particular languages' transcriptions (see Module:IPA/tracking). It gives a preview-only message in red if any symbols are invalid, based on the list in Module:IPA/data/symbols, and offers suggestions to correct some common substitutions.

Parameters

[แก้ไข]
|1=
The language code (see Wiktionary:List of languages) for the current language section. The parameter |lang= is a deprecated synonym; please do not use. If this is used, all numbered parameters move down by one.
|2=, |3=, |4= ...
Indicates one or more pronunciations. These should be formatted in correct IPA and be surrounded by slashes / / for phonemic representations, and square brackets [ ] for phonetic representations. They will be displayed separated by commas.
|qualN=
Specifies a qualifier to be placed before pronunciation N. This is formatted with the {{qualifier}} template.
|nN=
Specifies a reference note to be placed after pronunciation N. The reference is placed in the ===References=== section at the bottom of the language's entry.
|nocount=1
Turns off syllable counting.
|sort=
Manual sortkey. Use sparingly; the makeSortKey method in Module:languages can usually generate the correct sortkey.

Accepted symbols

[แก้ไข]

Besides the official IPA, the following extensions are accepted:

‼ ᶑ ᵻ ᵿ ͈  ¡ ʬ ʭ ˭ ↑ ↓ ꟸ ᷽

as well as the following common substitutes:

¹ ² ³ ⁴ ⁵ 𝆏 𝆑 ⁻

See also

[แก้ไข]

TemplateData

[แก้ไข]

แม่แบบ:TemplateData header

This template adds the proper formatting and links to a pronunciation transcription in the International Phonetic Alphabet. It applies proper formatting and adds links to the language's IPA key using Module:IPA/templates. It should be used in pronunciation sections only. If the language has a template that automatically generates pronunciation from spelling, that template should be used instead of this one.

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

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

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

The language code (see Wiktionary:Languages) for the current language section.

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

Indicates one or more pronunciations. These should be formatted in correct IPA and be surrounded by slashes / / for phonemic representations, and square brackets [ ] for phonetic representations.

ตัวอย่าง
/aɪ piː ˈeɪ/
สตริงจำเป็น
IPA 23

Indicates one or more pronunciations. These should be formatted in correct IPA and be surrounded by slashes / / for phonemic representations, and square brackets [ ] for phonetic representations.

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

Indicates one or more pronunciations. These should be formatted in correct IPA and be surrounded by slashes / / for phonemic representations, and square brackets [ ] for phonetic representations.

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

Specifies a qualifier to be placed before pronunciation 1. This is formatted with the {{qualifier}} template

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

Specifies a qualifier to be placed before pronunciation 2. This is formatted with the {{qualifier}} template

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

Specifies a qualifier to be placed before pronunciation 3. This is formatted with the {{qualifier}} template

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

Specifies a reference note to be placed after pronunciation 1. The reference is placed in the ===References=== section at the bottom of the language's entry.

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

Specifies a reference note to be placed after pronunciation 2. The reference is placed in the ===References=== section at the bottom of the language's entry.

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

Specifies a reference note to be placed after pronunciation 2. The reference is placed in the ===References=== section at the bottom of the language's entry.

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