Jump to content

Template:Infobox IPA/testcases

From Wikipedia, the free encyclopedia
Infobox IPA/testcases
ɮ
IPA Number149
Encoding
Entity (decimal)ɮ
Unicode (hex)U+026E
X-SAMPAK\

Basic examples

[edit]
Error using {{IPA symbol}}: "131" not found in list
ð
IPA number131
Encoding
Entity (decimal)ð
Unicode (hex)U+00F0
X-SAMPAD
Kirshenbaum<D>
Sound
noicon
Infobox IPA/testcases
ð
IPA Number131
Encoding
Entity (decimal)&#240;
Unicode (hex)U+00F0
X-SAMPAD
Error using {{IPA symbol}}: "131" not found in list
ð
IPA number131
Encoding
Entity (decimal)&#240;
Unicode (hex)U+00F0
X-SAMPAD
Kirshenbaum<D>
Sound
noicon
Error using {{IPA symbol}}: "157 402A 429" not found in list
ʎ̥˔
IPA number157 402A 429
Encoding
Entity (decimal)&#654;​&#805;​&#724;
Unicode (hex)U+028E U+0325 U+02D4
Error using {{IPA symbol}}: "321 415" not found in list
ʊ̈
IPA number321 415
Encoding
Entity (decimal)&#650;​&#776;
Unicode (hex)U+028A U+0308
X-SAMPAU\

Second, third, fourth IPA symbol

[edit]
Near-close central rounded vowel
ʊ̈
2
IPA Number321 415
Encoding
Entity (decimal)&#650;​&#776;
Unicode (hex)U+028A U+0308
Error using {{IPA symbol}}: "321 415" not found in list
ʊ̈
2
IPA number321 415
Encoding
Entity (decimal)&#650;​&#776;
Unicode (hex)U+028A U+0308
Error using {{IPA symbol}}: "321 415" not found in list
ʊ̈
3
IPA number321 415
Encoding
Entity (decimal)&#650;​&#776;
Unicode (hex)U+028A U+0308
Error using {{IPA symbol}}: "321 415" not found in list
ʊ̈
4
IPA number321 415
Encoding
Entity (decimal)&#650;​&#776;
Unicode (hex)U+028A U+0308
Error using {{IPA symbol}}: "321 415" not found in list
ʊ̈
2
3
4
IPA number321 415
Encoding
Entity (decimal)&#650;​&#776;
Unicode (hex)U+028A U+0308
Near-close central rounded vowel
ʊ̈
2
3
4
5
6
7
8
IPA Number321 415
Encoding
Entity (decimal)&#650;​&#776;
Unicode (hex)U+028A U+0308

Variant symbols for the same sound

[edit]

Some phonetic sounds have multiple ways (symbols) to describe them. The (new) template has some ways of presenting these variant symbols.

Using notes 1 and 2

[edit]
...
| note1 label = Alternative
| note1       = ʉ̞
...
Error using {{IPA symbol}}: "321 415" not found in list
ʊ̈
IPA number321 415
Alternativeʉ̞
Encoding
Entity (decimal)&#650;​&#776;
Unicode (hex)U+028A U+0308
X-SAMPAU\
Error using {{IPA symbol}}: "432" not found in list
◌̯
IPA number432
Examplesʏ̯ e̯ o̯
Encoding
Entity (decimal)&#815;
Unicode (hex)U+032F

The template twice in the article

[edit]
Error using {{IPA symbol}}: "321 415" not found in list
ʊ̈
IPA number321 415
Alternativeʉ̞
Encoding
Entity (decimal)&#650;​&#776;
Unicode (hex)U+028A U+0308
X-SAMPAU\
Error using {{IPA symbol}}: "318 430" not found in list
ʉ̞
IPA number318 430
Encoding
Entity (decimal)&#649;​&#787;
Unicode (hex)U+0289 U+0313

Big symbol only show

[edit]

Just to show

{{infobox IPA/sandbox
| ipa symbol  = ʉ̞
}}
Near-close central rounded vowel
ʉ̞

Tricked into no above-title (by adding ​):

Relative articulation#Raised and lowered
ʉ̞​

Testing deprecated params

[edit]

New version must accept old parameter names correctly. If this works, we can copy the new code into the old template name {{infobox IPA}}, and the articles don't need an edit.

Infobox IPA/testcases
ɮ
IPA Number149
Encoding
Entity (decimal)&#622;
Unicode (hex)U+026E
X-SAMPAK\
Error using {{IPA symbol}}: "149" not found in list
ɮ
IPA number149
Encoding
Entity (decimal)&#622;
Unicode (hex)U+026E
X-SAMPAK\
Kirshenbaumz<lat>
Infobox IPA/testcases
ɡ
IPA Number110
Encoding
Entity (decimal)&#609;
Unicode (hex)U+0261
X-SAMPAg
Error using {{IPA symbol}}: "110" not found in list
ɡ
IPA number110
Encoding
Entity (decimal)&#609;
Unicode (hex)U+0261
X-SAMPAg
Kirshenbaumg


Infobox IPA/testcases
ʘ
IPA Number176
Audio sample
Encoding
Entity (decimal)&#664;
Unicode (hex)U+0298
X-SAMPAO\
Error using {{IPA symbol}}: "176" not found in list
ʘ
IPA number176
Encoding
Entity (decimal)&#664;
Unicode (hex)U+0298
X-SAMPAO\
Kirshenbaump!
Sound
noicon
Infobox IPA/testcases
ɻ
IPA Number152
Encoding
Entity (decimal)&#635;
Unicode (hex)U+027B
X-SAMPAr\`
Error using {{IPA symbol}}: "152" not found in list
ɻ
IPA number152
Encoding
Entity (decimal)&#635;
Unicode (hex)U+027B
X-SAMPAr\`
Kirshenbaumr.

Parameters

[edit]
Basics:
| ipa number =
 (ipa number produces above-title (using IPAsym), ipa number)
| ipa symbol =
 (ipa symbol produces big symbol, default soundfile name)
| decimal1   =
| decimal2   =
| decimal3   =
| decimal4   =
(decimals produce decimal (HTML) entity, Unicode hex numbers, ipa symbol)
Image:
| imagefile    =
| imagecaption =
| imagesize    =

| Adding:
| x-sampa      =
| kirshenbaum  =
| note1 label  =
| note1        =
| note2label   =
| note2        =

Overwriting:
| above        = (header by ipa symbol (IPAsym) overwritten)
| unicode      = (unicode code number by decimal overwritten)
| ipa symbol   = (big symbol by decimal numbers overwritten)
| soundfile    = (soundfile name by ipa symbol(IPAsym) overwritten)

Deprecated parameters

[edit]

These old parameters are translated into the new ones.

old        => new parameter:
ipa-number => ipa number
ipa-text   => ipa symbol
ipa-image  => imagefile
decimal    => decimal1
xsampa     => x-sampa
sound      => soundfile