Template:RQ:pi:Sinhala Udana quote/documentation
This template is used to quote a passage from one particular publication to demonstrate the existence of a Pali word. The passages are stored in Module:RQ:pi:Sinhala Udana, where the words are tagged by positive ID numbers; different passages have different numbering schemes. A quotation can be provided by an entry such as {{RQ:pi:Sinhala Udana quote|148|sukho|2}}
. The arguments mean use the quotation 'sukho' from page 148, and embolden the word tagged as number 2. The result of this invocation is:
- සුඛො විවෙකො තුට්ඨස්ස සුතධම්මස්ස පස්සතො
අබ්යාපජ්ජං සුඛං ලොකෙ පාණභූතෙසු සංයමො.- sukho viveko tuṭṭhassa sutadhammassa passato
abyāpajjaṃ sukhaṃ loke pāṇabhūtesu saṃyamo. - Seclusion is happiness for the contented
who see the teaching they have learned.
Kindness for the world is happiness
for one who’d not harm a living creature.
- sukho viveko tuṭṭhassa sutadhammassa passato
If the word ID number is not used, then no words will be highlighted. It is recommended that the value 0 be used for this option. Thus, using '0' will result in:
- සුඛො විවෙකො තුට්ඨස්ස සුතධම්මස්ස පස්සතො
අබ්යාපජ්ජං සුඛං ලොකෙ පාණභූතෙසු සංයමො.- sukho viveko tuṭṭhassa sutadhammassa passato
abyāpajjaṃ sukhaṃ loke pāṇabhūtesu saṃyamo. - Seclusion is happiness for the contented
who see the teaching they have learned.
Kindness for the world is happiness
for one who’d not harm a living creature.
- sukho viveko tuṭṭhassa sutadhammassa passato
The additional parameter |brackets=on
may be used to surround a quotation with brackets. This indicates that the quotation either contains a mere mention of a term (for example, "some people find the word manoeuvre hard to spell") rather than an actual use of it (for example, "we need to manoeuvre carefully to avoid causing upset"), or does not provide an actual instance of a term but provides information about related terms.