Template:rad-pr/documentation: Difference between revisions
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 4: | Line 4: | ||
There are no mandatory parameters: the template alone will generate the pronunciation from the page title and create the relevant list of rhymes and syllabification. | There are no mandatory parameters: the template alone will generate the pronunciation from the page title and create the relevant list of rhymes and syllabification. | ||
{{tempn|rad-pronunciation}} on | {{tempn|rad-pronunciation}} | ||
on a polysyllabic word's page, such as {{m|rad|Aroír}}, will generate the standard pronunciation, the corresponding rhyme and the syllabification of the word: | |||
{{rad-pronunciation|entry=Aroír}} | {{rad-pronunciation|entry=Aroír}} | ||
On | On a monosyllabic word's page, such as {{m|rad|hars}}, the syllabification will not be present: | ||
{{rad-pronunciation|entry=hars}} | {{rad-pronunciation|entry=hars}} | ||
Revision as of 03:13, 22 August 2023
Usage
This template can be added to a Radestrian entry, and it will automatically generate and format the pronunciation section.
There are no mandatory parameters: the template alone will generate the pronunciation from the page title and create the relevant list of rhymes and syllabification.
on a polysyllabic word's page, such as Aroír, will generate the standard pronunciation, the corresponding rhyme and the syllabification of the word:
On a monosyllabic word's page, such as hars, the syllabification will not be present:
On a multi-word entry's page, such as Arans ag Eurúpjeșe, the rhyme will not be present. Words may also appear with a narrower phonetic transcription if applicable:
With words pronounced differently in the hjádvanþs standard, such as hjárs, it will appear in the dialect section:
Additional parameters
Extra information can be added through extra arguments. There are three modes of extra argument:
|IPA
|syllables
|homophones
All arguments given after the activation of a mode are interpreted as arguments for that mode. |IPA
, however, is selected by default. Additional arguments given in IPA
will come with a generated rhyme where possible.
{{rad-pronunciation|/us/}}
→ us
You can toggle modes by calling their name.
{{rad-pronunciation|homophones|as|‘as}}
→ às
In syllables
mode, syllables are divided as arguments, with multiple entries divided by ||
, as in {{syllables}}
.
{{rad-pronunciation|syllables|a|se|dua||a|sed|ua}}
→ asedua
Dialects and registers are sub-modes under IPA
. Calling these will set the arguments to be interpreted under the previously selected dialect/register. The standard dialect and plain register are selected by default. Calling a dialect will reset the register. Calling a dialect or register outside of IPA
mode will switch to IPA
mode, and the dialect and register will be reset. Non-standard dialects do not contribute to the rhyme generation.
{{rad-pronunciation|colloquial|/ɤɡ/}}
→ ag
{{rad-pronunciation|coastal|/rˠoːs/}}
→ rvaus
{{rad-pronunciation|coastal|/rˠoːs/|colloquial|[ɹoːs]}}
→ rvaus
Automatic IPA
and syllables
can be turned off by calling |no auto
in their respective modes. Note that rhyme is automatically generated for each standard input regardless. Although automatic generation can be turned off, a standard IPA transcription in plain register must still be inputted.
{{rad-pronunciation|no auto|/ɤɡ/}}
→ ag
{{rad-pronunciation|syllables|no auto}}
→ Aroír
The parameter |entry=
can be used to override the automatic input from the page name, though this is only applicable in exemplification settings, such as this one.