Template:sa-root/documentation

Usage
This template can be used:
 * 1) either in etymologies of terms derived from a root
 * 2) or as a headword-template for Sanskrit roots.

For using as an etymological template

 * 1
 * The root from which a term derived. This would also categorise the term by its root. For example:
 * ग्लै gives:
 * and categorises into Category:Sanskrit terms belonging to the root ग्लै
 * and categorises into Category:Sanskrit terms belonging to the root ग्लै


 * 2
 * The suffix attached to the root for forming the term. For example:
 * क्षुभ् gives:
 * and categorises into Category:Sanskrit terms belonging to the root क्षुभ् and Category:Sanskrit terms suffixed with -त
 * and categorises into Category:Sanskrit terms belonging to the root क्षुभ् and Category:Sanskrit terms suffixed with -त


 * notext
 * Used for suppressing the text "From the root". Categorisation will not be suppressed. If this parameter is used, the term "root" appears beside the root in brackets. For example:
 * क्षुभ् gives:


 * sr
 * For using the text "The Sanskrit root is" instead of "From the root". To be used when the term is inherited from Proto-Indo-Aryan, Proto-Indo-Iranian, or Proto-Indo-European, but derivation from a root is also possible. Categorisation will not be suppressed. For example:
 * भक्ष् gives:


 * sa
 * For using the text "Synchronically analysable as" instead of "From the root". To be used in place of sr only if the term can be from a root + suffix. This adds the term "root" in brackets. Categorisation (by root and suffix) will not be suppressed. For example:
 * तुष् gives:


 * nocap
 * Used for suppressing capitalisation of the first letter. Categorisation will not be suppressed. For example:
 * क्षुभ् gives:
 * तुष् gives:
 * भक्ष् gives:
 * भक्ष् gives:
 * भक्ष् gives:


 * t
 * For giving a short English translation of the root. For example:
 * क्षुभ् gives:
 * तुष् gives:
 * भक्ष् gives:
 * भक्ष् gives:
 * भक्ष् gives:


 * t2
 * For giving a short English translation of the suffix. For example:
 * शुध् gives:
 * पूष् gives:
 * पूष् gives:

For using as a headword-line template

 * head
 * The headword parameter. By default, it is the page's title.


 * tr
 * The transliteration. Only to be used when automatic transliteration is incorrect.


 * sc
 * Script code. Rarely needs to be given, as the script is normally autodetected.

'''Note: If this template has to be used as a headword-line template, the parameter 1 (the first unnamed parameter) must not be specified. If it is specified, the template would work as an etymology-template and add the terms to wrong categories. For an example, see this revision of दिव्.'''