Pang-bô͘:Infobox IPA/doc
Che sī chi̍t phiⁿ soat-bêng chhù-ia̍h, sī ūi Pang-bô͘:Infobox IPA siá--ê. Chia ū hâm sú-iōng chu-sìn, lūi-pia̍t kap kî-tha bô sio̍k goân-pún pang-bô͘ ia̍h ê chi̍t pō͘-hūn. |
Usage
siu-káiThis 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
siu-káiBasic parameters
siu-káiOnly 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:
For common IPA symbols, the IPA number defines the article name and the default soundfile name. 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.
Cho̍k khí-gûn pian chhat-im | |
---|---|
ɮ | |
IPA pian-hō | 149 |
pian-bé | |
HTML bé cha̍p-chìn-ūi |
ɮ |
Unicode cha̍p-la̍k-chìn-ūi | U+026E |
siaⁿ-im | |
|
{{Infobox IPA | ipa number = 149 | decimal1 = 622 }}
Some more basic parameters:
Voiced velar stop | |||
---|---|---|---|
ɡ | |||
| |||
IPA pian-hō | 110 | ||
pian-bé | |||
HTML bé cha̍p-chìn-ūi |
ɡ | ||
Unicode cha̍p-la̍k-chìn-ūi | U+0261 | ||
X-SAMPA Im-piau |
g | ||
ASCII Im-piau |
g | ||
siaⁿ-im | |||
|
{{Infobox IPA | above = Voiced velar stop | ipa number = 110 | decimal = 609 | imagefile = Voiced velar stop (vector).svg | imagesize = 150px | x-sampa = g | kirshenbaum = g | braille = g }}
Full parameter list
siu-kái{{infobox IPA | above = | ipa symbol = | ipa symbol2 = | ipa symbol3 = | ipa symbol4 = | imagefile = | imagecaption = | imagesize = | ipa number = | ipa link = | decimal1 = | decimal2 = | decimal3 = | decimal4 = | note1 label = | note1 = | unicode = | x-sampa = | kirshenbaum = | braille = | braille2 = | braille3 = | braille4 = | note2 label = | note2 = | soundfile = }}
- Decimal numbers
Up to four decimal values can be entered, to compose the symbol:
Chheng ngē-kok pian chhat-im | |
---|---|
ʎ̥˔ | |
IPA pian-hō | 157 402A 429 |
pian-bé | |
HTML bé cha̍p-chìn-ūi |
ʎ̥˔ |
Unicode cha̍p-la̍k-chìn-ūi | U+028E U+0325 U+02D4 |
siaⁿ-im | |
|
| ipa symbol = ʎ̥˔ | ipa number = 157 402A 429 | decimal1 = 654 | decimal2 = 805 | decimal3 = 724 | decimal4 =
Multiple symbols
siu-káiUp 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
siu-káiAdding an image of the symbol:
Chheng ngē-kok pian chhat-im | ||||
---|---|---|---|---|
ʎ̥˔ | ||||
| ||||
siaⁿ-im | ||||
|
{{infobox IPA | ipa symbol = ʎ̥˔ | imagefile = Lateral fricatives.svg | imagecaption = image example | imagesize = 50px }}
More input options
siu-káiKhai chêng put oân-tûn bú-im | |
---|---|
a | |
Extra note 1 | This is my first note |
pian-bé | |
Unicode cha̍p-la̍k-chìn-ūi | U+9999 |
X-SAMPA Im-piau |
X-S |
ASCII Im-piau |
K |
Extra note 2 | Another note by me here |
siaⁿ-im | |
|
| ipa symbol = a | note1 label = Extra note 1 | note1 = This is my first note | unicode = U+9999 | x-sampa = X-S | kirshenbaum = K | note2 label = Extra note 2 | note2 = Another note by me here
Soundfile
siu-káiThe template tries to determine the default soundfile name by using the sound name (as determined by the IPA number, or IPA symbol):
{{IPA symbol|m}}
→ bilabial nasal.ogg- If this fails, the file name can be entered.
When the file exists, the soundbutton is shown. Otherwise, no soundbutton is shown at all.
abc | |
---|---|
Example non default soundfile | |
siaⁿ-im | |
|
| ipa symbol = abc | note2 = Example non default soundfile | soundfile = Accordion registers.ogg
Note
- See
{{IPA audio filename}}
for more information on the naming of the phonetic soundfiles.
Deprecated parameters
siu-káiThe next parameters are deprecated. They can still be used, and may be present in articles.
Old parameters are treated as input for new ones, e.g. input ipa-image=...
is read as input for imagefile=...
.
old parameter goes into new parameter:<br> ipa-number => ipa number ipa-text => ipa symbol ipa-image => imagefile decimal => decimal1 xsampa => x-sampa sound => soundfile
Priorities in parameters
siu-káiThe template tries to get as much information as possible from the input. Overwriting:
| above = (overwrites ipa symbol name (IPA symbol) in header) | ipa symbol = (overwrites big symbol that was created by the decimal numbers) | unicode = (overwrites Unicode numbers that were determinated by the decimal numbers) | soundfile = (overwrites any default soundfile name that was derived by the IPA symbol name or number)
See also
siu-kái- {{IPA audio filename}} – produces the name of the soundfile
- {{IPA soundbox}} – creates the soundbox as is used in this template