Template:ta-decl/documentation

It usually suffices to call this template with no parameters, as in

This will inflect a noun based on the current page name, and give its inflection type. For example, if invoked on the page, it will produce

As another example, if invoked on the page, it will produce

The module will automatically double ல் and similar final consonants that are occasionally doubled. It will also apply various sandhi rules by default. For example, on the page  would generate the following:

In many cases, these sandhi rules are unexpected or unwanted. In this case, use the parameter  (or equivalently   or  ) For example, if  on the page  is used:

This prevents the ல் from being doubled and ignores the built-in simplified sandhi rules.

If one wants to provide excess parameters in the case of irregular nouns, noun classes not yet supported, or sandhi, use the following (all 4 arguments must be used for these nouns):

is used for the nominative singular and lemma form.

is the stem of the plural forms.

is the parameter for vocative singular.

is the parameter for the stem of vocative, benefactive, accusative, dative, genitive, locative, sociative, ablative, and instrumental cases in the singular number. The virāma / puḷḷi should be included at the end.

To specify the declension type manually, use the. The various accepted types are here, but this usually is not necessary.

For nouns found only in singular or plural, use the  parameter to specify which number should be used (  is plural,   is singular). For example, if is used on the page :

Using  for the second argument will also automatically make the number singular.

Individual forms
Sometimes, the stems themselves will not suffice if the template generates an incorrect form. In this case, use a case code, followed by "_", then "s" (singular) or "p" (plural). For example,  for dative singular. The case codes are given below. nominative = nom vocative = voc accusative = acc dative = dat benefactive = ben genitive 1 = gen genitive 2 = gen2 locative 1 = loc locative 2 = loc2 sociative 1 = soc sociative 2 = soc2 instrumental = ins ablative = abl