Usage уреди

Use this template to show the simple definition for an entry that is the comparative inflection of a primary entry.

Use in the definition line:

# {{comparative of|(word)|lang=(language)}}

E.g., on "groter":

===Adjective===
{{head|nl|adjective comparative forms}}
# {{comparative of|groot|lang=nl}}

Adjective

док
  1. Lua грешка in package.lua at line 80: module 'Модул:form of/lang-data/nl' not found.

Note that users can customize how the output of this template displays by modifying their monobook.css files. See “Form of” templates for details.

Parameters уреди

Categorization уреди

By default, this template adds articles to Category:(language) adjective comparative forms. If the word belongs to a different part of speech, that needs to be specified using the POS parameter (default value: adjective).

For example:

At vaker#Adverb, we have:
{{comparative of|vaak|POS=adverb|lang=nl}}
which places the article vaker in Category:Dutch adverb comparative forms.

Further, for some languages (such as Latin; see Wiktionary:About Latin), the comparative has multiple forms, of which one is treated as its own lemma (headword), with the rest linking to it. In this case, the is_lemma parameter should be set to a non-empty value; this tells the template to add the entry to (for example) Category:Latin comparative adjectives instead of Category:Latin adjective comparative forms. (Note that this category name uses the plural of the name of the part of speech. By default, the template just adds -s to the value of the POS parameter, which works fine for adjectives and adverbs; but in case any languages have comparative lemmata of parts of speech for which this doesn't work, the POSes parameter exists, which if provided supersedes this default.)

For example:

At certior#Adjective, we have:
{{comparative of|certius|lang=la|is_lemma=1}}
which places the article certior in Category:Latin comparative adjectives.

Formatting уреди

By default, the text of this template starts with a capital 'C' and ends with a period. To start instead with a lowercase 'c', set the boolean nocap parameter to a non-empty value; and to omit the final period, set the boolean nodot parameter to a non-empty value.