Template:ast-pr
Appearance
- The following documentation is located at Template:ast-pr/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Uses Lua:
This template generates the ===Pronunciation=== section of an Asturian term, including the phonemic pronunciation, rhymes and syllabification, as well as (if manually specified) audio files and homophones.
Usage
[edit]Quick reference
[edit]Page | Example | Comment |
---|---|---|
barandiella | {{ast-pr}} |
In most cases, no parameters are needed. |
afió | {{ast-pr|afi.ó}} |
If the automatically generated pronunciation is incorrect, use a respelling to indicate the correct pronunciation. |
detective | {{ast-pr|+,deteutive<q:deteutive>}} |
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. |
aeropuertu | {{ast-pr|+<audio:LL-Q29507 (ast)-Limotecariu-aeropuertu.wav>}} |
Here we give an audio pronunciation. No special respelling is needed so we use + .
|
efe | {{ast-pr|raw:/f/<q:phoneme>|èfe<q:letter name>}} |
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 before the pronunciation, hence we attach it to the first respelling), and the respelling of the letter name on a separate line.
|
Dialectal variants
[edit]The template outputs a single transcription per respelling. It supports the dialectal characters ⟨ts⟩, ⟨yy⟩, ⟨ḷḷ⟩ and ⟨ḥ⟩, which are rendered as t͡s, kʲ, t͡ʂ and h. Note that depending on the dialect the actual realization may vary, so be sure to check that the output is correct.
Vowel allophony
[edit]Asturian has five phonemic vowels, but their realizations vary depending on the environment. Currently, the template only supports /eu̯/~[øu̯].
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.