Template:el-decl-adj-a

From Wiktionary, the free dictionary
Jump to navigation Jump to search

  • This template displays declension tables for Greek adjectives, including when requested positive, comparative, relative superlative and absolute superlative forms.
  • Please note that {{el-decl-adj}} uses a number of other templates, but none of these should be used directly.

Syntax

{{el-decl-adj|stem=όμορφ|dec=ος-η-ο}} which gives:


Variable Description Example Notes
Positive inflections and periphrastic derivations (πιο forms)
dec The appropriate declension ID, for example  ός-ή-ό .
To be found at Wiktionary:Greek adjective inflection-table templates
dec=ός-ή-ό Obligatory
stem The stem for positive forms (ie the lemma form without ending) stem=αύξ Obligatory
stem2 The stem with altered stress (where relevant) stem2=αυξ Optional
part For participles - ensures the correct declension category part=1 As appopriate
nopio Any value supresses output of πιο forms nopio=1 optional
posnote Any necessary notes for positive forms posnote=Vocative forms are rare optional
Comparative, relative superlative and absolute superlative
compstem Use of this variable flags output of comparative and relative superlatives compstem=πονηρότερ optional
abstem Use of this variable flags output of absolute superlative abstem=πονηρότατ optional
docnote Any necessary notes for these DoCs (degrees of comparison) docnote=the absolute forms are rare optional
Exceptionally
lemma replaces PAGENAME in the table header

Operation

Although a number of templates are used to produce these tables, they are all accessed though {{el-decl-adj}}, only this one should be used.

The table below attempts to show its operation:

 el-decl-adj   with 'dec','stem',+ others
        call el-decl-adj-positive with 'dec','stem',+others
      print table outline for positive forms
      selects declension template to match 'dec'
              in this case dec='ος-η-ο', therefore:
call el-decl-adj-ος-η-ο with stem,+others
      sets appropriate numbered arguments for:
        call el-decl-adj-table with numbered arguments
     print values in appropriate cells
        print footers
      if 'compstem'
call el-decl-adj-degrees with 'compstem','abstem','note'
      print degrees of comparison table(s) outline
      nb 'ος-η-ο' is the standard paradigm for these forms
call el-decl-adj-ος-η-ο with 'compstem'
      sets appropriate numbered arguments for:
        call el-decl-adj-table with numbered arguments
     print values in appropriate cells
     if 'abstem'
call el-decl-adj-ος-η-ο with 'abstem'
      sets appropriate numbered arguments for:
        call el-decl-adj-table with numbered arguments
     print values in appropriate cells
        print footer