Jump to content

Template:is-adj/documentation

From Wiktionary, the free dictionary
Documentation for Template:is-adj. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This is the template to use for the headword of all Icelandic adjectives. This template automatically adds pages to Category:Icelandic adjectives.

Usage

[edit]

Use it directly under the "part of speech" header (e.g. for gulur (yellow)):

==Icelandic==

===Adjective===
{{is-adj|@@}}

# [[yellow]]

Note that @@ will automatically scrape the correct declension from a call to {{is-adecl}} elsewhere on the page, and is good practice. If you do this and there are multiple calls to {{is-adecl}} on the page, all of them must have an |id= parameter and a matching :[idname] ("[idname]" is the value of the |id= parameter) must be added to the spec in each {{is-adecl}}.

Alternatively, if there is no such call, you can specify the actual declension spec (which is the same as for {{is-adecl}}). For example, for the above adjective, use {{is-adj|comp}} to indicate that a comparative and superlative are present.

Parameters

[edit]

This template can take various parameters, both numbered and named. See m:Help:Template for help with templates and parameters in general.

|1=
Specifies all the properties necessary to fully decline the word. The format is identical to {{is-adecl}}; see there for more information. Use indecl for an indeclinable adjective, in which case you should not specify a declension using {{is-adecl}}.
|adv=
Specifies the corresponding adverb(s).
|nolinkhead=1
Don't autolink individual words in multiword expressions.
|head=, |head2=, ...
Explicitly specify the head(s). Only needed in multiword expressions when the default autolinking doesn't work right, and even then rarely needed; prefer the angle-bracket syntax with explicit links in |1=.