Template:pi-decl-adj


Purpose

edit

This template, which works for all the standard Pali scripts, generates a declension table for an adjective. The template itself is indirectly a front-end for Module:pi-decl/noun.

Limitations

edit

This template only works for the simple cases where the declension can be defined simply by knowing the single stems for the masculine, feminine and neuter of the adjective. Thus it cannot be used for adjectives in -mant and -vant, as they have two feminine stems or have to be tagged as having participial declension, and it cannot be used if the feminine form is unknown. Also, it cannot be used if the declension depends on the writing system being used, as is the case for the Thai, Tai Tham and Lao scripts. Shan and possibly even Mon should be added here, but at present they are not supported at all (and no words needing such support appear to have been added as at April 2021.) Finally, it cannot be used for adjectives with irregular case forms, such as 'pronominal' adjectives, e.g. sabba (all).

There is a fair amount of work to be done to overcome these limitations, all of which (except for Shan and Mon) have been overcome for nouns.

When these limitations apply, one should resort to the old pattern of listing known masculine stems (usually only one), known feminine stems (often none or two) and neuter stems in that order within invocations of {{pi-decl-noun}}.

Usage

edit

Parameters

edit
Parameter Description Type Default
m The stem for the masculine form of the adjective. For a-stems, this will normally be the same as the name of the page, and can therefore be omitted. string Name of the page.
f The stem for the feminine form of the adjective. This parameter is required. string (none)
n The stem for the neuter form of the adjective. For a-stems, this will normally be the same as the name of the page. string Name of the page.

Thus, for pāpa (evil), declension may be invoked as {{pi-decl-adj|f=pāpī}}. For pāpin (evil), declension may be invoked as {{pi-decl-adj|f=pāpinī|n=pāpi}}.