Template:la-decl-adj-table-m+f+n bgc

Number Singular Plural
Case / Gender Masculine Feminine Neuter Masculine Feminine Neuter
nominative
genitive
dative
accusative
ablative
vocative

SEARCH ALL FORMS


This template is designed to facilitate the attestation of Latin terms by automatically generating several Google Books search queries for the inflected forms of a Latin lemma, given only a small amount of information about the word’s stem and inflectional paradigm. It is a hybrid of the pre-existing templates {{la-decl-adj-table-m+f+n}} and {{b.g.c.}}, with features added to generate a combined search query for every inflected form (“SEARCH ALL FORMS”) and to permit the unlinking of any given form or forms (intended to remove redundant queries for isomorphic forms). It is intended primarily for transclusion by other, more specialised templates (see below).

Parameters and functions edit

{{la-decl-adj-table-m+f+n bgc}} has seventy-two named parameters and no unnamed parameters; none of them are mandatory, but the template will generate nothing but a table of em dashes and a blank search query if all the parameters are left undefined. The following table shows the parameters’ locations:

Number Singular Plural
Case / Gender Masculine Feminine Neuter Masculine Feminine Neuter
nominative nom_sg_m
nom_sg_m-nl
nom_sg_f
nom_sg_f-nl
nom_sg_n
nom_sg_n-nl
nom_pl_m
nom_pl_m-nl
nom_pl_f
nom_pl_f-nl
nom_pl_n
nom_pl_n-nl
genitive gen_sg_m
gen_sg_m-nl
gen_sg_f
gen_sg_f-nl
gen_sg_n
gen_sg_n-nl
gen_pl_m
gen_pl_m-nl
gen_pl_f
gen_pl_f-nl
gen_pl_n
gen_pl_n-nl
dative dat_sg_m
dat_sg_m-nl
dat_sg_f
dat_sg_f-nl
dat_sg_n
dat_sg_n-nl
dat_pl_m
dat_pl_m-nl
dat_pl_f
dat_pl_f-nl
dat_pl_n
dat_pl_n-nl
accusative acc_sg_m
acc_sg_m-nl
acc_sg_f
acc_sg_f-nl
acc_sg_n
acc_sg_n-nl
acc_pl_m
acc_pl_m-nl
acc_pl_f
acc_pl_f-nl
acc_pl_n
acc_pl_n-nl
ablative abl_sg_m
abl_sg_m-nl
abl_sg_f
abl_sg_f-nl
abl_sg_n
abl_sg_n-nl
abl_pl_m
abl_pl_m-nl
abl_pl_f
abl_pl_f-nl
abl_pl_n
abl_pl_n-nl
vocative voc_sg_m
voc_sg_m-nl
voc_sg_f
voc_sg_f-nl
voc_sg_n
voc_sg_n-nl
voc_pl_m
voc_pl_m-nl
voc_pl_f
voc_pl_f-nl
voc_pl_n
voc_pl_n-nl

The rationale underlying the parameters’ nomenclature and the parameters’ functions are as follows.

  • nom_sg_m et seqq. — These are this template’s primary parameters. They are regularly designated by a three-letter abbreviation of the form’s grammatical case (nominative, genitive, dative, accusative, ablative, or vocative), connected by an underscore to a two-letter abbreviation of its grammatical number (sg = singular; pl = plural), and tailed by another underscore that appends a one-letter abbreviation of its grammatical gender (masculine, feminine, or neuter); this nomenclature is inherited from {{la-decl-adj-table-m+f+n}}. If a given parameter is defined, the template produces a Google Books exact-phrase search query for the definiens, the link to which is displayed with the text of the definiens (for example, nom_sg_m=aureolus produces: aureolus). If a given parameter is left undefined, the content of that parameter’s cell in the table is determined by that parameter’s equivalent secondary (-nl) parameter (in the case of nom_sg_m, its equivalent secondary parameter is nom_sg_m-nl).
  • nom_sg_m-nl et seqq. — These are this template’s secondary parameters. They are regularly designated by their equivalent primary parameters’ designations, suffixed with -nl (chosen to denote “no link”). Defining a given secondary parameter only has an effect if its equivalent primary parameter is left undefined; in such a scenario, the template displays the text of the definiens of that secondary parameter only (for example, if nom_sg_m is left undefined, nom_sg_m-nl=aureolus produces: aureolus). If both a given primary parameter and its equivalent secondary parameter are left undefined, the template displays an em dash in those parameters’ cell in the table (for example, if both nom_sg_m and nom_sg_m-nl are left undefined, the cell at the intersection of the table’s first row and first column displays: —).

Beneath the table that it generates, this template invariably produces a Google Books search query, displaying “SEARCH ALL FORMS” in bold. That search query comprises exact-phrase search terms for all the defined primary parameters’ definientia, each separated from the next by |, which functions like the Boolean operator OR (for example, defining only nom_sg_m=aureolus, acc_sg_f=aureolam, and gen_pl_n=aureolorum produces the search query: "aureolus"|"aureolam"|"aureolorum", realised in the display as: SEARCH ALL FORMS). Every defined primary parameter adds |"definiens" to the search query, except for nom_sg_m, whose definition adds only "nom_sg_m" to it.

Use of specialised templates edit

Because of the labour-intensive arduousness of defining thirty-six parameters (the number needed for a full declension), it is recommended that this template be used for transclusion by other, more specialised templates, rather than as a direct search tool for attesting a given lexeme; a specialised template can provide the inflectional paradigm, thereafter requiring only information about words’ stems to conduct useful searches. To save reinventing the wheel, please add any such template or templates you create to the list below: