සැකිල්ල:es-pr/documentation
Appearance
Introduction
[සංස්කරණය]This template generates the ==Pronunciation== section of a Spanish term, including the phonemic pronunciation, rhymes and hyphenation, as well as (if manually specified) audio files and homophones.
This template is intended to replace the use of {{es-IPA}}
along with {{rhymes}}
, {{hyph}}
, {{audio}}
and similar templates specifying auxiliary pronunciation information. It uses the same respelling conventions as {{es-IPA}}
, but automatically generates the rhyme info as well as (if the respelling is similar to the page name) the hyphenation info.
Usage
[සංස්කරණය]Quick reference
[සංස්කරණය]Page | Example | Comment |
---|---|---|
universidad | {{es-pr}} |
Most of the time, no parameters are needed. |
cebolla | {{es-pr}} |
As with {{es-IPA}} , dialect-specific variants are handled automatically.
|
| ||
Minnesota | {{es-pr|Minesota}} |
If the automatically generated pronunciation is incorrect, use respelling to indicate the correct pronunciation. |
henna | {{es-pr|jenna,jena}} |
Multiple comma-separated respellings can be given. |
joystick | {{es-pr|choistic|yoistic}} |
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. Here, the respelling yoistic generates different dialect-specific outputs so it's better to place it on its own line. |
| ||
habeas corpus | {{es-pr|+|hábeas corpus}} |
Use + to stand for the pagename in a respelling. |
performance | {{es-pr|perfórmans|pérformans<q:sometimes>}} |
Use the inline modifier syntax (also found in {{affix}} , {{desc}} , {{syn}} , {{col}} and several other templates) to add properties of specific respellings. Here, a qualifier is added to the second respelling.
|
punk | {{es-pr|+|panc<q:nonstandard><rhyme:->}} |
Multiple modifiers can be stacked onto a single respelling. Here we suppress the rhyme and associated category when giving a nonstandard pronunciation. |
poliamor | {{es-pr|poli.amor}} |
Explicit syllable dividers can be given to force a syllable division where it would not normally occur, or to specify a different division than the default. |
beethoveniano | {{es-pr|betoveniano<hyph:bee.tho.ve.nia.no>}} |
A hyphenation is not normally displayed if the respelling is different from the pagename (unless the respelling differs from the pagename only in having an additional accent or explicit syllable divider). Here we give an explicit hyphenation. |
Afrodita | {{es-pr|+<audio:LL-Q1321 (spa)-Millars-Afrodita.wav>}} |
Here we give an audio pronunciation. No special respelling is needed so we use + .
|
Colombia | {{es-pr|+<audio:Es-República de Colombia.oga#Audio: "República de Colombia"<a:Colombia>><audio:es-Colombia.ogg#Audio: "Colombia; capital: Bogotá"<a:Peru>>}} |
A more complex example with audio pronunciations. The # sign in an <audio:...> modifier separates the filename from the gloss (if the gloss is omitted, the word Audio is displayed). Here, two audio files are given, and since each file contains additional words beyond just the word Colombia, we specify what is being said. In addition, certain inline modifiers (<audio:...> , <hyph:...> to override the hyphenation, <rhyme:...> to override the rhyme, and <hmp:...> to specify a homophone) can themselves take embedded inline modifiers. Here we attach an accent qualifier to each audio file to specify the accent being illustrated.
|
d | {{es-pr|raw:/d/<q:phoneme>,raw:[ð̞]|dé<q:letter name><audio:letter d es es.flac<a:Spain>>}} |
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 and phonetic 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.
|
Parameters
[සංස්කරණය]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 hypenations 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.