Template:rad-pr/documentation: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 28: Line 28:
<hr>
<hr>


==Additional parameters==
===Modes===
Extra information can be added through extra arguments. There are three ''modes'' of extra argument:
Extra information can be added through extra arguments. There are three ''modes'' of extra argument:
# <code>|IPA</code>
# <code>|IPA</code>
Line 57: Line 57:
<hr>
<hr>


===Dialects and registers===
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 73: Line 74:
<hr>
<hr>


===Disabling auto-generation===
Automatic <code>IPA</code> and <code>syllables</code> can be turned off by calling <code>|no auto</code> or <code>|noauto</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> or <code>|noauto</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 95: Line 97:
See?
See?


 
===Entry name override===
There is one last parameter, {{para|entry}}, which can be used to override the automatic input from the page name, though this is only applicable in exemplification settings, such as this one. Calling this parameter will suppress all rhyme categorisation.
There is one last parameter, {{para|entry}}, which can be used to override the automatic input from the page name, though this is only applicable in exemplification settings, such as this one. Calling this parameter will suppress all rhyme categorisation.