This is the template sandbox page for Template:IPAc-pl (diff). See also the companion subpage for test cases. |
This template is used on approximately 51,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Preview message: Transclusion count updated automatically (see documentation). |
This template is used to produce a phonetic or phonemic representation (using the IPA system) of Polish words or sounds, using natural spelling to avoid the need to search for the correct phonetic symbols. The result is wikilinked to Help:IPA for Polish. Optionally, an audio file can also be specified.
The number of parameters is always limited to 33.
Normal usage:
{{IPAc-pl|'|w|r|o|c|ł|a|f}}
produces [ˈvrɔt͡swaf]{{IPAc-pl|s|e|m|'|p|u|l|n|o|-|k|r|a|'|j|e|ń|s|k|J|e}}
produces [sɛmˈpulnɔ kraˈjɛɲskʲɛ]With an audio file:
{{IPAc-pl|AUD|Pl-Wrocław-2.ogg|'|w|r|o|c|ł|a|f}}
produces [ˈvrɔt͡swaf] To change the delimiters (for example, if several instances of the template need to be strung together because of the limit on the number of parameters):
{{IPAc-pl|[-|'|m|a|ć|e1|I|-|f|a|U|'|s|t|o|f|s|k|J|i}}
produces [ˈmat͡ɕɛi̯ fau̯ˈstɔfskʲi]The full range of special values for the first parameter (changing the delimiters and/or specifying that the next parameter is an audio file) is as follows:
-- [- -] // /- -/ AUD -]AUD //AUD -/AUD
The following parameters represent their normal sounds in Polish:
a ą b c ć cz d dz dź e ę f g h
(or ch
) i j k l ł m n ń o p r s ś sz t u
(or ó
) w y z ź ż
(or rz
)The following parameters have special meanings:
-
(hyphen) for a space between words'
(apostrophe) for a primary stress mark (placed before the stressed syllable),
(comma) for a secondary stress markJ
for a superscript jI
for non-syllabic i (normally spelt j in words like gaj)U
for non-syllabic u (normally spelt ł in words like miał)N
for a sound like English ng (in words like bank)e1
for a more closed e sound (as when adjacent to soft consonants, in words like Maciej)Other values used as parameters will be displayed unconverted. (The conversion system is coded in Template:c-pl.)