User talk:Maikxlx/Template:la-decl-2M

Proposal: Locative and Number Variants - 2nd declension examples edit

Introduction edit

Many paradigms require a variant template that displays the locative. Currently, that means the same paradigm will have at least two templates:

  1. Declined without Locative
  2. Declined with Locative

Furthermore, many paradigms require up to three variant templates based on which numbers are displayed:

  1. Singular & Plural
  2. Singular Only
  3. Plural Only

Theoretically, this means there are up to six variant templates:

  1. Singular & Plural without Locative - e.g. most common nouns
  2. Singular Only without Locative - e.g. names of individuals
  3. Plural Only without Locative - e.g. common nouns that take only the plural
  4. Singular & Plural with Locative - e.g. common nouns with locative connotations
  5. Singular Only with Locative - e.g. names of cities
  6. Plural Only with Locative - e.g. names of cities that take the plural

It seems to make more sense to have a single template for each paradigm. This is possible if we indicate variants systematically using optional named parameters.


Two Approaches edit

I have designed two separate proposals in order to show what what is possible. I prefer the first proposal, but I am amenable to feedback based on what is better for editors. In the first proposal, we use a single named parameter called "options" to handle all six number/loc variations. In the second proposal, we use two named parameters to handle the locative and number variations separately.

Proposal #1: One named parameter edit

This proposal sacrifices perspicuity for brevity.

For examples, see below.

  1. Singular & Plural without Locative - (this is the default)
  2. Singular Only without Locative - |options=S (S means singular-only)
  3. Plural Only without Locative - |options=P (P means plural-only)
  4. Singular & Plural with Locative - |options=L (L means "display the locative")
  5. Singular Only with Locative - |options=SL
  6. Plural Only with Locative - |options=PL


Proposal #2: Two named parameters edit

This proposal sacrifices brevity for perspicuity.

For examples, see my other example page here.

  1. Singular & Plural without Locative - (this is the default)
  2. Singular Only without Locative - |number=singular
  3. Plural Only without Locative - |number=plural
  4. Singular & Plural with Locative - |loc-include=yes
  5. Singular Only with Locative - |loc-include=yes|number=singular
  6. Plural Only with Locative - |loc-include=yes|number=plural

Examples without Locative edit

In my proposal, all templates configured to display the Singular & Plural without Locative case by default.


Example 1 : Singular & Plural edit

Example noun: Lua error in Module:la-nominal at line 2559: Parameter 2 is not used by this template. lord, master.

{{User:Maikxlx/Template:la-decl-2M|domin}}

Results in:

Template:case \ Template:number Template:singular Lua error in Module:form_of/templates at line 121: Parameter 1 is required.
nominative dominus dominī
genitive dominī dominōrum
dative dominō dominīs
accusative dominum dominōs
ablative dominō dominīs
vocative domine dominī


Example 2 : Singular Only edit

Example noun: Lua error in Module:la-nominal at line 2559: Parameter 2 is not used by this template. (cognomen).


{{User:Maikxlx/Template:la-decl-2M|Brut|Brūt|options=S}}

Results in:

Template:case \ Template:number Template:singular
nominative Brūtus
genitive Brūtī
dative Brūtō
accusative Brūtum
ablative Brūtō
vocative Brūte


Example 3 : Plural Only edit

Example noun: Lua error in Module:la-nominal at line 2559: Parameter 2 is not used by this template. children.

{{User:Maikxlx/Template:la-decl-2M|liber|līber|options=P}}

Results in:

Template:case \ Template:number Lua error in Module:form_of/templates at line 121: Parameter 1 is required.
nominative līberī
genitive līberōrum
dative līberīs
accusative līberōs
ablative līberīs
vocative līberī


Examples with Locative edit

Example 4 : Singular & Plural edit

Example noun: Lua error in Module:la-nominal at line 2559: Parameter 2 is not used by this template. earth, ground

{{User:Maikxlx/Template:la-decl-2M|hum|options=L}}

Results in:

Template:case \ Template:number Template:singular Lua error in Module:form_of/templates at line 121: Parameter 1 is required.
nominative humus humī
genitive humī humōrum
dative humō humīs
accusative humum humōs
ablative humō humīs
vocative hume humī
locative humī humīs


Example 5 : Singular Only edit

Example noun: Lua error in Module:la-nominal at line 2559: Parameter 2 is not used by this template. city of Corinth

{{User:Maikxlx/Template:la-decl-2M|Corinth|options=SL}}

Results in:

Template:case \ Template:number Template:singular
nominative Corinthus
genitive Corinthī
dative Corinthō
accusative Corinthum
ablative Corinthō
vocative Corinthe
locative Corinthī


Example 6 : Plural Only edit

Example noun: Lua error in Module:la-nominal at line 2559: Parameter 2 is not used by this template. city of Pompeii

{{User:Maikxlx/Template:la-decl-2M|Pompei|options=PL}}

Results in:

Template:case \ Template:number Lua error in Module:form_of/templates at line 121: Parameter 1 is required.
nominative Pompeiī
genitive Pompeiōrum
dative Pompeiīs
accusative Pompeiōs
ablative Pompeiīs
vocative Pompeiī
locative Pompeiīs


Discussion edit

Please discuss this issue on the Latin declension template page.

Return to the user page of "Maikxlx/Template:la-decl-2M".