af-adj (attributive af-adje, comparative af-adjer, superlative af-adjste)
This template is used to create the headword line of Afrikaans adjectives. It uses Module:af-headword as a back-end.
The template is placed on the basic (lemma) form, which is the predicative form that is used when the adjective is not placed before a noun. It displays three forms of the adjective: the attributive ending in -e, comparative ending in -er and superlative ending in -ste. These forms are generated automatically from the page name, so for most adjectives you don't need to give any parameters.
The attributive form is generated from the page name using the following rules:
The attributive form may be somewhat irregular and have spelling changes to accommodate the vowel length, much like the plural of nouns. For example, geel becomes gele, while vol becomes volle. In some cases the last consonant changes, like doof > dowe or hoog > hoë. For these cases, specify the attributive form with the first parameter.
{{af-adj|volle}}
{{af-adj|dowe}}
{{af-adj|hoë}}
Even more importantly, a lot of predicative forms are the same as the basic form. These must also be added manually.
{{af-adj|geel}}
{{af-adj|rooi}}
The comparative form is automatically derived from the attributive form, whether it's generated by default or given with the first parameter. It follows the following rules:
The superlative is generated automatically as follows:
If an adjective has no comparative or superlative forms, specify -
as the second parameter (skipping the first if necessary):
{{af-adj||-}}
For a few adjectives, the comparative or superlative needs to be overridden. This can be done with the second and third parameters, respectively. Likewise, some adjectives may have an alternative comparative or superlative, which can be given with comp2=
and sup2=
. For goed and kwaad:
{{af-adj|goeie|beter|beste}}
{{af-adj|kwaai|comp2=kwater}}