Template:an-pr/documentation
This template generates the ===Pronunciation=== section of an Aragonese term, including rhymes and hyphenation, as well as (if manually specified) audio files and homophones. Note that this template will output a single pronunciation per spelling, so variant pronunciations have to be added manually to the template (see below) and/or in another page whose spelling reflects that pronunciation.
Usage
editQuick reference
editPage | Example | Comment |
---|---|---|
cullebra | {{an-pr}} |
Most of the time, no parameters are needed. |
deixar | {{an-pr}} |
The sequence <Vix> and word-final <-r> are given as (i̯)ʃ and (ɾ) respectively.
|
examen | {{an-pr|eksamen}} |
If the automatically generated pronunciation is incorrect, use a respelling to indicate the correct pronunciation. |
tampoc | {{an-pr|tampoc,tampó<q:Tensino>}} |
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. |
Limitations
editAs previously mentioned, the sequence <Vix>
and word-final -r
are given as (i̯)ʃ and (ɾ). Word-final <-t>
and <-c>
are always shown as pronounced, a manual respelling must be provided if one wants to show that they mute. Open vowels in Benasqués are not supported.
Parameters
editThe 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. |hyph=
- Specify one or more comma-separated hyphenations that apply to all pronunciations and are displayed below all of them, without additional indentation. Inline modifiers can be specified, as for
<hyph:...>
. Use this when there are multiple lines of pronunciations, to avoid additional indentation. |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.