Template:pl-pr
- The following documentation is located at Template:pl-pr/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
![Lua logo](http://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/30px-Lua-Logo.svg.png)
This template automatically provides phonemic pronunciation info, such as IPA, hyphenation and rhymes, for Polish terms. This template can also generate IPA for Polish dialects and Middle Polish.
The hyphenation and rhymes are generated automatically as long as the supplied pronunciation is not too different from the pronunciation based on the page title alone. However, either can be also manually supplied. Rhyme syllable counts will be automatically done, and the correct order will also automatically be done.
Currently this template exists next to {{pl-pronunciation}}
, and is to be used for dialects or Middle Polish until {{pl-pronunciation}}
is replaced with this template.
Parameters
|1=
- The word that is to be converted. If omitted, the word is taken from the name of the current page. Details include:
- This parameter may also be omitted entirely using
-
for the entire parameter, which one may want to when dealing with a word that does not exist in Standard Polish and only exists in a dialect or in Middle Polish. If omitted, rhymes and and hyphenation will not be automatically generated. - Unwanted clusters etc. may be split with
-
between the letters, such as rz when it is pronounced as /rz/ as in marznąć. - Phonetic transcriptions may be given by surrounding an IPA transcription with
[ ]
:{{pl-pr|[ˈlɛŋk]}}
. - The pagename may supplied using
#
, useful for cases in which there are multiple pronunciation and one matches the page title. - "Pronunciation respellings" of foreign words can be supplied as a parameter here. Such as jury. If the respelling does not match the pagename, hyphenation will have to be supplied manually.
- Stress is generally placed on the correct syllable automatically.
- By giving as input
^
, or by prefixing it to a respelling, the template produces a transcription stressed on the antepenult labelled as prescribed and one stressed on the penult labelled as casual. - Words ending in -yka, -ika are detected and automatically treated so, so
^
is redundant in those cases. - To force penult stress, e.g. as in muzyka the genitive singular of muzyk, the character
+
is used.
- By giving as input
- Stress may be removed entirely, such as in the case of prepositions, one can use
*
. - Stress may also be supplied using
'
before the stressed syllable.
- Stress may be removed entirely, such as in the case of prepositions, one can use
- The generated syllable breaks may be unnatural or even wrong. This is usually due to the fact that certain affixes or common compound elements take their own syllables. Most of these affixes and common compound elements are automatically separated into their own syllables, except po- and na-. One can easily set these as their own syllables using
.
.- On the page powstrzymać, one can type
po.
and the rest of the word is implicit. Similarly on kostka, an input.ka
is sufficient, rather thankost.ka
.
- On the page powstrzymać, one can type
- This parameter may also be omitted entirely using
|2=
,|3=
...- Supplies additional, alternative pronunciations.
|a=
or|audios=
- A list of audio files from Commons separated by semicolon. The character
#
is used as a shorthand for the page title. Captions may be given in angle brackets< >
, and in there#
stands for the page title and~
for the page title + się. For example on budzić the input could be|a=Pl-#.ogg<#>;LL-Q809 (pol)-Olaf-#.wav<#>;LL-Q809 (pol)-Olaf-# się.wav<~>
. |q=
/|qual=
,|q2=
/|qual2=
...- Adds labels or qualifiers for pronunciations.
|h=
or|hyphs=
- This allows overriding the default generated graphic syllabification, or supplying a syllabification when one isn't created automatically. Syllables are separated with dots (
.
). But supplying this is probably redundant if phonetic syllabification is rectified in the same fashion via the|1=
parameter above. You can also supply-
to hide the hyphenation. Multiple hyphenations can be provided separated by semicolon;
. |r=
or|rhymes=
- This allows overriding the default generated rhyme data, or supplying some when not created automatically. It must be supplied in the format of
RHYME/SYLLABLE NUMBER
, in IPA characters but without including the initial hyphen. You can also supply-
to hide the rhyme data. Multiple rhymes can be provided separated by semicolon;
. |hh=
or|homophones=
- Lists homophones; if there are multiple, separate the homophones with a semicolon
;
. |ref=
,|ref2=
...- Provides the possibility for adding references for pronunciations.
Dialects and Middle Polish
Dialects are automatically sorted by dialect group and will be collapsed by default if generated alongside a Standard Polish pronunciation. Multiple transcriptions may be generating by suffixing 2, 3 etc. after the paramter name, such as lub2=
. Rhymes and syllabification are not generated for dialects and Middle Polish. Phonetic transcriptions may be given by adding []
after the parameter. See WT:About Polish for more on spelling dialects and Middle Polish as well as their criteria for inclusion. See also Module:zlw-lch-IPA/data/pl.
mp=
- Generates, takes a respelling or a
#
if the module should call the page name. See{{zlw-mpl-IPA}}
for more.- Greater Poland dialect group:
koc=
Kociewiebor=
Bory Tucholskiekra=
KrajnaCD=
Chełmo-Dobrzyńkuj=
KujawyNGP=
Northern Greater PolishWGP=
Western Greater PolishCGP=
Central Greater PolishEGP=
Eastern Greater PolishSGP=
Southern Greater Polish
- Masovian dialect group:
lub=
Lubawaost=
Ostródawar=
Warmiamas=
Masuriakur=
KurpieMB=
Near Masovian (short for Mazowsze bliższe)MD=
Far Masovian (short for Mazowsze dalesze)pdl=
Podlachiasuw=
Suwałkilow=
Łowicz
- Lesser Poland dialect group:
lec=
Łęczycasie=
SieradzPM=
Masovian Borderland (short for Pogranicze Mazowsza)kie=
Kielcekrk=
Kraków (not to be used for regionalisms from Kraków, only dialectalisms)ekr=
Eastern Krakówlas=
Lasoviapdg=
Podegrodziebie=
BieczWL=
Western Lublin, not to be used for regionalisms from LublinEL=
Eastern Lublin, not to be used for regionalisms from Lublinprz=
Przemyśl- Goral dialect group (subgroup of Lesser Poland):
sad=
Sącz (from sądecczyzna )zyw=
Żywiecora=
Orawapod=
Podhalespi=
Spiszzag=
Zagórzekli=
KliszczakBG=
Babia Górakys=
Kysucepie=
Pieninyoch=
Ochotnicalip=
Liptov
- Borderlands dialects:
sbl=
Southern Borderlandsnbl=
Northern Borderlands