Template:grc-noun/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for Template:grc-noun. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Use {{grc-noun}} and {{grc-proper noun}} to generate headword lines for Ancient Greek nouns and proper nouns. Module:grc-headword and Module:headword process the parameters and create the displayed text. Both templates use the same template function, so they have the same logic.

Parameters

[edit]

Numbered parameters

[edit]

The numbered parameters include two types of parameters: Greek parameters and then non-Greek ones.

A maximum of two Greek parameters can be used: headword and genitive. Either can be omitted. Greek parameters must contain Greek characters, or in the case of the genitive, a hyphen (-) to indicate that the genitive is unattested.

The headword can only be added in the first parameter if the page name contains ambiguous vowels – the monophthongs α, ι, υ (a, i, u) without macrons, breves, circumflexes, or iotas subscript (◌̄, ◌̆, ◌͂, ◌ͅ) – and the first parameter is identical to the page name when macrons or breves are removed. For example, {{grc-noun|ψῡχή|ψῡχῆς|f|first}} is allowed in the entry for ψυχή (psukhḗ), but {{grc-noun|δῆμος|δήμου|m|second}} in δῆμος (dêmos) will trigger a module error.

A maximum of two non-Greek parameters are allowed: gender and declension. These are described below.

This allows several possible variations:

Named parameters

[edit]
|gen=, |gen2=, |gen3=, ...
The genitive forms of the noun. If there is no genitive form, use a hyphen (-).
|g=, |g1=, |g2=, ...
The genders, or gender–number pairs (separated by a hyphen -). Allowed genders are m, f, n (masculine, feminine, neuter), as well as c (masculine or feminine) and ? (unknown). Allowed numbers are s, d, p (singular, dual, plural). These are combined in the order gender-number
Examples:
|decl=, |decl2=, |decl3=, ...
The declension of the noun (“first”, “second”, “Attic”, “third”, or “irregular”).
|head=, |head2=, |head3=, ...
(optional) Headwords. Only needed if different from the page name (for instance, if the page name needs breves or macrons); otherwise the page name will be used.
|dim=, |dim2=, |dim3=, ...
(optional) Diminutive forms of the noun.

The |suff= parameter isn't needed and therefore has been removed. If the title begins in a hyphen (-), the entry will automatically be placed in the category for Ancient Greek noun-forming suffixes instead of Ancient Greek nouns. For instance, in the entry for -ία (-ía), {{grc-noun|-ῐ́ᾱ|-ῐ́ᾱς|f|first}}.

See also

[edit]