Template:rad-pr/documentation: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
No edit summary
Line 5: Line 5:


{{temp|rad-pronunciation}} on the polysyllabic word's page, such as {{m|rad|Aroír}}, will generate the standard pronunciation, the corresponding rhyme and the syllabification of the word:
{{temp|rad-pronunciation}} on the polysyllabic word's page, such as {{m|rad|Aroír}}, will generate the standard pronunciation, the corresponding rhyme and the syllabification of the word:
{{#invoke:rad-pronunciation|show|entry=Aroír}}
{{rad-pronunciation|entry=Aroír}}


On the monosyllabic word's page, such as {{m|rad|hars}}, the syllabification will not be present:
On the monosyllabic word's page, such as {{m|rad|hars}}, the syllabification will not be present:
{{#invoke:rad-pronunciation|show|entry=hars}}
{{rad-pronunciation|entry=hars}}


On a multi-word entry's page, such as {{m|rad|Arans ag Eurúpjeșe}}, the rhyme will not be present. Words may also appear with a narrower phonetic transcription if applicable:
On a multi-word entry's page, such as {{m|rad|Arans ag Eurúpjeșe}}, the rhyme will not be present. Words may also appear with a narrower phonetic transcription if applicable:
{{#invoke:rad-pronunciation|show|entry=Arans ag Eurúpjeșe}}
{{rad-pronunciation|entry=Arans ag Eurúpjeșe}}


With words pronounced differently in the ''[[:Appendix:Radestrian_pronunciation|hjádvanþs]]'' standard, such as {{m|rad|hjárs}}, it will appear in the dialect section:
With words pronounced differently in the ''[[:Appendix:Radestrian_pronunciation|hjádvanþs]]'' standard, such as {{m|rad|hjárs}}, it will appear in the dialect section:
{{#invoke:rad-pronunciation|show|entry=hjárs}}
{{rad-pronunciation|entry=hjárs}}


==Additional parameters==
==Additional parameters==
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</code> will come with a generated rhyme where possible. Therefore, {{temp|rad-pronunciation|/us/}} in {{m|rad|us}} will yield the following:
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.
{{#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:
{{temp|rad-pronunciation|/us/}} {{l|rad|us}}
{{#invoke:rad-pronunciation|show|entry=às|homophones|as|‘as}}
{{rad-pronunciation|entry=us|/us/}}
In <code>syllables</code> mode, syllables are divided as arguments, with multiple entries divided by <code>||</code>, as in {{temp|syllables}}. {{temp|rad-pronunciation|homophones|syllables|a|se|dua||a|sed|ua}} in {{m|rad|asedua}} will yield the following:
 
{{#invoke:rad-pronunciation|show|entry=asedua|syllables|a|se|dua||a|sed|ua}}
You can toggle modes by calling their name.
 
{{temp|rad-pronunciation|homophones|as|‘as}} {{l|rad|às}}
{{rad-pronunciation|entry=às|homophones|as|‘as}}
 
In <code>syllables</code> mode, syllables are divided as arguments, with multiple entries divided by <code>||</code>, as in {{temp|syllables}}.
 
{{temp|rad-pronunciation|syllables|a|se|dua||a|sed|ua}} {{l|rad|asedua}}
{{rad-pronunciation|entry=asedua|syllables|a|se|dua||a|sed|ua}}
 
Dialects and registers are <i>sub-modes</i> under <code>IPA</code>. 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 <code>IPA</code> mode will switch to <code>IPA</code> mode, and the dialect and register will be reset. Non-standard dialects do not contribute to the rhyme generation.
 
{{temp|rad-pronunciation|colloquial|/ɤɡ/}} → {{l|rad|ag}}
{{rad-pronunciation|entry=ag|colloquial|/ɤɡ/}}
 
{{temp|rad-pronunciation|coastal|/rˠoːs/}} → {{l|rad|rvaus}}
{{rad-pronunciation|entry=rvaus|coastal|/rˠoːs/}}
 
{{temp|rad-pronunciation|coastal|/rˠoːs/|colloquial|[ɹoːs]}} → {{l|rad|rvaus}}
{{rad-pronunciation|entry=rvaus|coastal|/rˠoːs/|colloquial|[ɹoːs]}}
 
Automatic <code>IPA</code> and <code>syllables</code> can be turned off by calling <code>|no auto</code> 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.
 
{{temp|rad-pronunciation|no auto|/ɤɡ/}} → {{l|rad|ag}}
{{rad-pronunciation|entry=ag|no auto|/ɤɡ/}}
 
{{temp|rad-pronunciation|syllables|no auto}} → {{l|rad|Aroír}}
{{rad-pronunciation|entry=Aroír|syllables|no auto}}
 
The parameter {{para|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.

Navigation menu