Template:an-pr/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for Template:an-pr. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

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[edit]

Quick reference[edit]

Page Example Comment
cullebra {{an-pr}} Most of the time, no parameters are needed.
  • IPA(key): /kuˈʎebɾa/
  • Rhymes: -ebɾa
  • Syllabification: cu‧lle‧bra
deixar {{an-pr}} The sequence <Vix> and word-final <-r> are given as (i̯)ʃ and (ɾ) respectively.
  • IPA(key): /de(i̯)ˈʃa(ɾ)/
  • Rhymes: -a(ɾ)
  • Syllabification: dei‧xar
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.
  • IPA(key): /tamˈpok/, (Tensino) /tamˈpo/
  • Rhymes: -ok, -o
  • Syllabification: tam‧poc

Limitations[edit]

As 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[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.
|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.