Template:rue-pr
Appearance
- The following documentation is located at Template:rue-pr/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Uses Lua:
This template generates the ===Pronunciation=== section of a Carpathian Rusyn term, including the phonetic pronunciation, rhymes and syllabification; as well as (if manually specified) audio files and homophones.
Note that the generated pronunciation corresponds to Standard Slovak Rusyn, so it shouldn't be used for words or forms exclusive to other varieties (see the reference below). However, Lemko or Subcarpathian pronunciations can be added using the parameter raw:/.../
.
Usage
[edit]Page | Example | Comment |
---|---|---|
Братїслава (Bratjislava) | {{rue-pr|Братїсла́ва}} |
In most cases, an acute accent must be added over the stressed vowel, otherwise the template will throw an error. |
зо (zo) | {{rue-pr}} |
As an exception, monosyllabic unstressed words don't require any extra parameters. Prefixes don't require any extra parameters either. |
мясо (mjaso) | {{rue-pr|мя́со,мня́со}} |
Multiple comma-separated respellings can be given. Multiple respellings can also be given as separate parameters, or comma-separated and separate-parameter respellings can be combined. Comma-separated respellings are displayed comma-separated on the same line, while separate-parameter respellings are displayed on separate lines. Use the inline modifier syntax to add properties of specific respellings. |
ї (ji) | {{rue-pr|raw:/i/,raw:/ʲi/<q:phoneme><rhyme:->}} |
A respelling preceded by raw: is a "raw" pronunciation, and should be followed by /.../ to specify the phonemic pronunciation, [...] to specify the phonetic pronunciation, or /.../ [...] to specify both. Here we give a phonemic pronunciation of the letter on one line along with a qualifier (which is displayed after the pronunciation, hence we attach it to the last respelling). To disable the rhyme, we add <rhyme:-> .
|
Parameters
[edit]The allowed parameters are as follows:
|1=
,|2=
, ...- Specify a line of pronunciation; see above.
|rhyme=
- Specify one or more comma-separated rhymes that apply to all pronunciations and are displayed below all of them, without additional indentation. Inline modifiers can be specified, as for
<rhyme:...>
. Use this when there are multiple lines of pronunciations, to avoid additional indentation. If needed, use|rhyme=-
to hide the rhymes section. |hmp=
- Specify one or more comma-separated homophones that apply to all pronunciations and are displayed below all of them, without additional indentation. Inline modifiers can be specified, as for
<hmp:...>
. Use this when there are multiple lines of pronunciations, to avoid additional indentation. |audio=
,|audio2=
, ...- Specify one or more audio files that apply to all pronunciations and are displayed below all of them, without additional indentation. Inline modifiers can be specified, as for
<audio:...>
. (You cannot specify multiple comma-separated audio files in a single parameter, as audio filenames sometimes have embedded commas in them not followed by a space.) Use this when there are multiple lines of pronunciations, to avoid additional indentation. |pagename=
- Explicitly specify the pagename, for testing purposes and for use on documentation pages.
References
[edit]- Stephan M. Pugh (2009) The Rusyn Language, LINCOM Europa, →ISBN, Chapter Two: Orthography and Phonology, pages 21–42