Template:Infobox IPA/testcases

From blackwiki
< Template:Infobox IPA
Revision as of 22:55, 21 June 2020 by imported>Nardog (Reverted 2 edits by 2601:3CB:400:4C70:40D9:4714:CEDF:7A73 (talk) to last revision by Nardog)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Infobox IPA/testcases
ɮ
IPA Number149
Encoding
Entity (decimal)&#622;
Unicode (hex)U+026E
X-SAMPAK\

Basic examples

Error using {{IPA symbol}}: "131" not found in list
ð
IPA number131
Encoding
Entity (decimal)&#240;
Unicode (hex)U+00F0
X-SAMPAD
Kirshenbaum<D>
Sound
File:Voiced dental fricative.ogg
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
File:Voiced dental fricative.ogg
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

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

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

...
| 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

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

Just to show

{{infobox IPA/sandbox
| ipa symbol  = ʉ̞
}}

Lua error: Internal error: The interpreter has terminated with signal "24".

Tricked into no above-title (by adding ​): Lua error: Internal error: The interpreter has terminated with signal "24".

Testing deprecated params

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.

Lua error: Internal error: The interpreter has terminated with signal "24".

Lua error: Internal error: The interpreter has terminated with signal "24".

Lua error: Internal error: The interpreter has terminated with signal "24".

Lua error: Internal error: The interpreter has terminated with signal "24".


Lua error: Internal error: The interpreter has terminated with signal "24". Lua error: Internal error: The interpreter has terminated with signal "24".

Lua error: Internal error: The interpreter has terminated with signal "24".

Lua error: Internal error: The interpreter has terminated with signal "24".

Parameters

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

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