Template:rad-pr/documentation: Difference between revisions

Jump to navigation Jump to search
m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 28: Line 28:
  {{tempn|rad-pronunciation|/us/}}
  {{tempn|rad-pronunciation|/us/}}
{{rad-pronunciation|entry=us|/us/}}
{{rad-pronunciation|entry=us|/us/}}


You can toggle modes by calling their name.
You can toggle modes by calling their name.
Line 34: Line 35:
  {{tempn|rad-pronunciation|homophones|as|‘as}}
  {{tempn|rad-pronunciation|homophones|as|‘as}}
{{rad-pronunciation|entry=às|homophones|as|‘as}}
{{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}}.
In <code>syllables</code> mode, syllables are divided as arguments, with multiple entries divided by <code>||</code>, as in {{temp|syllables}}.
Line 40: Line 42:
  {{tempn|rad-pronunciation|syllables|a|se|dua||a|sed|ua}}
  {{tempn|rad-pronunciation|syllables|a|se|dua||a|sed|ua}}
{{rad-pronunciation|entry=asedua|syllables|a|se|dua||a|sed|ua}}
{{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.
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.
Line 54: Line 57:
  {{tempn|rad-pronunciation|coastal|/rˠoːs/|colloquial|[ɹoːs]}}
  {{tempn|rad-pronunciation|coastal|/rˠoːs/|colloquial|[ɹoːs]}}
{{rad-pronunciation|entry=rvaus|coastal|/rˠoːs/|colloquial|[ɹoːs]}}
{{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.
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.
Line 60: Line 64:
  {{tempn|rad-pronunciation|no auto|/ɤɡ/}}
  {{tempn|rad-pronunciation|no auto|/ɤɡ/}}
{{rad-pronunciation|entry=ag|no auto|/ɤɡ/}}
{{rad-pronunciation|entry=ag|no auto|/ɤɡ/}}
Otherwise you get an error:
: <big>{{l|rad|ag}}</big>
{{tempn|rad-pronunciation|no auto}}
{{rad-pronunciation|entry=ag|no auto}}


: <big>{{l|rad|Aroír}}</big>
: <big>{{l|rad|Aroír}}</big>
  {{tempn|rad-pronunciation|syllables|no auto}}
  {{tempn|rad-pronunciation|syllables|no auto}}
{{rad-pronunciation|entry=Aroír|syllables|no auto}}
{{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.
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.
   {{tempn|rad-pronunciation|entry=Aroír|syllables|no auto}}
   {{tempn|rad-pronunciation|entry=Aroír|syllables|no auto}}

Navigation menu