แม่แบบ:Infobox IPA
| แม่แบบนี้ใช้ลูอา |
Usage
[แก้]This template can be used to add an infobox for a phonetic sound.
This infobox can be used to describe a phonetic sound, both by its name and its IPA symbol. Additional information can be added, like the X-SAMPA letters and a graphic image file.
In general, the descriptive name corresponds with the article name. The infobox is then placed on that article page.
Parameters
[แก้]Basic parameters
[แก้]Only a few parameters are required to produce a useful infobox. The above header can be set, and up to four IPA symbols can be shown:
|ipa number= is required to show the sound if available and the header if |above= is omitted.
Decimals are decimal character references, also known as "Entity", to define the symbol in HTML. The template tries to find all known information with these two numbers.
Some more basic parameters:
| Voiced velar plosive | |||
|---|---|---|---|
| ɡ | |||
| หมายเลข IPA | 110 | ||
| การเข้ารหัส | |||
| เอนทิตี (ฐาน 10) | ɡ | ||
| ยูนิโคด (ฐาน 16) | U+0261 | ||
| เอกซ์-แซมปา | g | ||
| เบรลล์ | |||
| |||
{{Infobox IPA
| above = Voiced velar plosive
| ipa number = 110
| decimal = 609
| imagefile = Voiced velar stop (vector).svg
| imagesize = 150px
| x-sampa = g
| braille = g
}}
Full parameter list
[แก้]{{infobox IPA
| above =
| ipa symbol =
| ipa symbol2 =
| ipa symbol3 =
| ipa symbol4 =
| imagefile =
| imagecaption =
| imagesize =
| ipa number =
| decimal1 =
| decimal2 =
| decimal3 =
| decimal4 =
| note1 label =
| note1 =
| unicode =
| x-sampa =
| braille =
| braille2 =
| braille3 =
| braille4 =
| note2 label =
| note2 =
}}
- Decimal numbers
Up to four decimal values can be entered, to compose the symbol:
| Voiceless | |
|---|---|
| ʎ̥˔ | |
| หมายเลข IPA | 157 402A 429 |
| การเข้ารหัส | |
| เอนทิตี (ฐาน 10) | ʎ̥˔ |
| ยูนิโคด (ฐาน 16) | U+028E U+0325 U+02D4 |
| ipa symbol = ʎ̥˔
| ipa number = 157 402A 429
| decimal1 = 654
| decimal2 = 805
| decimal3 = 724
| decimal4 =
Multiple symbols
[แก้]Up to eight symbols can be shown in big font.
| Downstep and upstep | |
|---|---|
| ꜛ◌ | |
| ꜜ◌ |
| above = Downstep and upstep
| ipa symbol = ꜛ◌
| ipa symbol2 = ꜜ◌
| ipa symbol3 =
...
| ipa symbol8 =
Image
[แก้]Adding an image of the symbol:
| Voiceless | ||||
|---|---|---|---|---|
| ʎ̥˔ | ||||
| ||||
{{infobox IPA
| ipa symbol = ʎ̥˔
| imagefile = Lateral fricatives.svg
| imagecaption = image example
| imagesize = 50px
}}
More input options
[แก้]| สระปากไม่ห่อ หน้า เปิด | |
|---|---|
| a | |
| Extra note 1 | This is my first note |
| ตัวอย่างเสียง | |
| การเข้ารหัส | |
| ยูนิโคด (ฐาน 16) | U+9999 |
| เอกซ์-แซมปา | X-S |
| Extra note 2 | Another note by me here |
| ipa symbol = a
| note1 label = Extra note 1
| note1 = This is my first note
| unicode = U+9999
| x-sampa = X-S
| note2 label = Extra note 2
| note2 = Another note by me here
Sound file
[แก้]The template tries to determine the default sound file name by the IPA symbol as defined at Module:IPA symbol/data:
{{IPA symbol|m}}→ Bilabial nasal.ogg
sound = no overrides the sound file.
Priorities in parameters
[แก้]The template tries to get as much information as possible from the input. Overwriting:
| above = (overwrites ipa symbol name (IPA symbol) in header)
| unicode = (overwrites Unicode numbers that were determinated by the decimal numbers)
Template data
[แก้]ข้อมูลแม่แบบสำหรับ Infobox IPA
ไม่มีคำอธิบาย
| พารามิเตอร์ | คำอธิบาย | ชนิด | สถานะ | |
|---|---|---|---|---|
| Label above | above | Title of the info box
| บรรทัด | แนะนำ |
| IPA symbol 1 | ipa symbol ipa-text | IPA symbol for the sound
| บรรทัด | แนะนำ |
| decimal HMTL codepoint 1 | decimal1 decimal | Defines the first symbol in HTML
| จำนวน | แนะนำ |
| decimal2 | decimal2 | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| decimal3 | decimal3 | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| decimal4 | decimal4 | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| ipa symbol2 | ipa symbol2 | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| ipa symbol3 | ipa symbol3 | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| ipa symbol4 | ipa symbol4 | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| ipa symbol5 | ipa symbol5 | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| ipa symbol6 | ipa symbol6 | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| ipa symbol7 | ipa symbol7 | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| ipa symbol8 | ipa symbol8 | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| Image | image ipa-image imagefile | ไม่มีคำอธิบาย | ไฟล์ | ไม่บังคับ |
| Image size | imagesize | ไม่มีคำอธิบาย | สตริง | ไม่บังคับ |
| Image caption | imagecaption | ไม่มีคำอธิบาย | บรรทัด | ไม่บังคับ |
| IPA number | ipa number | ไม่มีคำอธิบาย
| จำนวน | ไม่บังคับ |
| Description 1 | note1 | Description for first symbol | บรรทัด | ไม่บังคับ |
| unicode | unicode | ไม่มีคำอธิบาย | สตริง | ไม่บังคับ |
| X-SAMPA | x-sampa xsampa | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| braille | braille | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| braille2 | braille2 | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| braille3 | braille3 | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| braille4 | braille4 | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| note2 label | note2 label | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |
| note2 | note2 | ไม่มีคำอธิบาย | ไม่ทราบชนิด | ไม่บังคับ |

