Template:sa-root: difference between revisions

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Content deleted Content added
SodhakSH (talk | contribs)
As a formality
Tags: Mobile edit Mobile web edit Advanced mobile edit
SodhakSH (talk | contribs)
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 1: Line 1:
{{#if:{{{1|}}}|{{root|sa|sa|{{{1}}}}}{{#if:{{{notext|}}}||{{#if:{{{sr|}}}| {{#if:{{{nocap|}}}|t|T}}he Sanskrit root is {{m|sa|t={{{t|}}}|tr={{{tr|}}}|{{{1}}}}}}}{{#if:{{{sa|}}}| {{#if:{{{nocap|}}}|s|S}}ynchronically analysable as {{suf|pos1=root|sa|t1={{{t1|{{{t|}}}}}}|t2={{{t2|}}}|{{{1}}}|{{{2}}}|pos2={{{pos2|}}}}}}}{{#if:{{{sr|{{{sa|}}}}}}|| {{#if:{{{nocap|}}}|f|F}}rom the root}}}}<!--
{{#if:{{{1|}}}|{{root|sa|sa|{{{1}}}}}{{#if:{{{notext|}}}||{{#if:{{{sr|}}}|{{emptyspace}}{{#if:{{{nocap|}}}|t|T}}he Sanskrit root is {{m|sa|t={{{t|}}}|tr={{{tr|}}}|{{{1}}}}}}}{{#if:{{{sa|}}}|{{emptyspace}}{{#if:{{{nocap|}}}|s|S}}ynchronically analysable as {{suf|pos1=root|sa|t1={{{t1|{{{t|}}}}}}|t2={{{t2|}}}|{{{1}}}|{{{2}}}|pos2={{{pos2|}}}}}}}{{#if:{{{sr|{{{sa|}}}}}}|| {{#if:{{{nocap|}}}|f|F}}rom the root}}}}<!--


---> {{#if:{{{sr|{{{sa|}}}}}}||{{#if:{{{2|}}}|{{suf|pos1={{#if:{{{notext|}}}|root}}|sa|t1={{{t1|{{{t|}}}}}}|t2={{{t2|}}}|{{{1}}}|{{{2}}}|pos2={{{pos2|}}}}}|{{m|sa|pos={{#if:{{{notext|}}}|root}}|t={{{t|}}}|tr={{{tr|}}}|{{{1}}}}}}}}}|{{head|sa|root|sccat=1|tr={{{tr|}}}|head={{{head|}}}|sc={{{sc|}}}}}}}<noinclude>{{documentation}}</noinclude>
---> {{#if:{{{sr|{{{sa|}}}}}}||{{#if:{{{2|}}}|{{suf|pos1={{#if:{{{notext|}}}|root}}|sa|t1={{{t1|{{{t|}}}}}}|t2={{{t2|}}}|{{{1}}}|{{{2}}}|pos2={{{pos2|}}}}}|{{m|sa|pos={{#if:{{{notext|}}}|root}}|t={{{t|}}}|tr={{{tr|}}}|{{{1}}}}}}}}}|{{head|sa|root|sccat=1|tr={{{tr|}}}|head={{{head|}}}|sc={{{sc|}}}}}}}<noinclude>{{documentation}}</noinclude>

Revision as of 07:56, 8 May 2021

sa-root


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.

Parameters

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:
{{sa-root|ग्लै}} gives:
From the root ग्लै (glai)
and categorises into Category:Sanskrit terms belonging to the root ग्लै
|2= (optional)
The suffix attached to the root for forming the term. For example:
{{sa-root|क्षुभ्|त}} gives:
From the root क्षुभ् (kṣubh) +‎ -त (-ta)
and categorises into Category:Sanskrit terms belonging to the root क्षुभ् and Category:Sanskrit terms suffixed with -त
|notext= (optional)
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:
{{sa-root|क्षुभ्|त|notext=1}} gives:
क्षुभ् (kṣubh, root) +‎ -त (-ta)
|sr= (optional)
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:
{{sa-root|भक्ष्|sr=1}} gives:
Template:emptyspaceThe Sanskrit root is भक्ष् (bhakṣ)
|sa= (optional)
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:
{{sa-root|तुष्|ति|sa=1}} gives:
Template:emptyspaceSynchronically analysable as तुष् (tuṣ, root) +‎ -ति (-ti)
|nocap= (optional)
Used for suppressing capitalisation of the first letter. Categorisation will not be suppressed. For example:
{{sa-root|क्षुभ्|त|nocap=1}} gives:
from the root क्षुभ् (kṣubh) +‎ -त (-ta)
{{sa-root|तुष्|ति|nocap=1|sa=1}} gives:
Template:emptyspacesynchronically analysable as तुष् (tuṣ, root) +‎ -ति (-ti)
{{sa-root|भक्ष्|nocap=1|sr=1}} gives:
Template:emptyspacethe Sanskrit root is भक्ष् (bhakṣ)
|t= (optional)
For giving a short English translation of the root. For example:
{{sa-root|क्षुभ्|त|t=to shake, tremble, be agitated or disturbed}} gives:
from the root क्षुभ् (kṣubh, to shake, tremble, be agitated or disturbed) +‎ -त (-ta)
{{sa-root|तुष्|ति|sa=1|t=to be satisfied}} gives:
Template:emptyspaceSynchronically analysable as तुष् (tuṣ, to be satisfied, root) +‎ -ति (-ti)
{{sa-root|भक्ष्|sr=1|t=to eat or drink}} gives:
Template:emptyspaceThe Sanskrit root is भक्ष् (bhakṣ, to eat or drink)
|t2= (optional)
For giving a short English translation of the suffix. For example:
{{sa-root|शुध्|अक|t2=-er}} gives:
From the root शुध् (śudh) +‎ -अक (-aka, -er)
{{sa-root|पूष्|अन्|sa=1|t=to nourish|t2=-er}} gives:
Template:emptyspaceSynchronically analysable as पूष् (pūṣ, to nourish, root) +‎ -अन् (-an, -er)

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 दिव्.