Template:rad-pr/documentation: Difference between revisions
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 21: | Line 21: | ||
# <code>|syllables</code> | # <code>|syllables</code> | ||
# <code>|homophones</code> | # <code>|homophones</code> | ||
All arguments given after the activation of a mode are interpreted as arguments for that mode. <code>|IPA</code>, however, is selected by default. Additional arguments given in <code>IPA</ | All arguments given after the activation of a mode are interpreted as arguments for that mode. <code>|IPA</code>, however, is selected by default. Additional arguments given in <code>IPA</code> will come with a generated rhyme where possible. Therefore, {{temp|rad-pronunciation|/us/}} in {{m|rad|us}} will yield the following: | ||
{{#invoke:rad-pronunciation|show|entry=us|/us/}} | {{#invoke:rad-pronunciation|show|entry=us|/us/}} | ||
You can toggle modes by calling their name. {{temp|rad-pronunciation|homophones|as|‘as}} in {{m|rad|às}} will yield the following: | You can toggle modes by calling their name. {{temp|rad-pronunciation|homophones|as|‘as}} in {{m|rad|às}} will yield the following: |
Revision as of 02:45, 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.
{{rad-pronunciation}}
on the polysyllabic word's page, such as Aroír, will generate the standard pronunciation, the corresponding rhyme and the syllabification of the word:
On the 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. Therefore, {{rad-pronunciation|/us/}}
in us will yield the following:
You can toggle modes by calling their name. {{rad-pronunciation|homophones|as|‘as}}
in às will yield the following:
In syllables
mode, syllables are divided as arguments, with multiple entries divided by ||
, as in {{syllables}}
. {{rad-pronunciation|homophones|syllables|a|se|dua||a|sed|ua}}
in asedua will yield the following: