Template:en-adj/documentation

Use this template to show the headword line of an English adjective. It shows the headword in bold and its comparative and superlative inflections, if any.

Parameters

 * 1, 2, ...
 * Comparative form(s). See below.


 * comp_qual, comp2_qual, ...
 * Qualifiers corresponding to each comparative form. comp_qual corresponds to 1, comp2_qual corresponds to 2, etc.


 * sup, sup2, ...
 * Superlative form(s). See below.


 * sup_qual, sup2_qual, ...
 * Qualifiers corresponding to each superlative form. sup_qual corresponds to sup, sup2_qual corresponds to sup2, etc.


 * 1 or 1
 * Specify that the term is normally preceded the definite article the (e.g. ). When given, the will appear at the beginning of the headword.


 * ~ or ~
 * Specify that the term is optionally preceded the definite article the. When given, two headwords will be generated, one with the and one without.

The positional/numbered parameters give the comparative forms. The first gives the first comparative, the second gives the second comparative, and so on. For each comparative form given, the following values can be used. The superlative is automatically generated from each of the comparative forms.


 * The comparative is formed with and the superlative with . For the first comparative form, this is the default.
 * The comparative is formed with and the superlative with . For the first comparative form, this is the default.


 * The comparative is formed with and the superlative with.
 * The comparative is formed with and the superlative with.


 * The comparative is formed by adding to the base word, and the superlative by adding . This is done "smartly", and some changes are made to the base word if necessary:
 * For words ending in, it is removed before the endings are added.
 * For words ending in preceded by a consonant, it is replaced by  before the endings are added.
 * For words ending in preceded by a consonant, it is replaced by  before the endings are added.


 * (anything else)
 * The comparative is taken as given. The superlative is formed by replacing with  on the given form. However, if the given form does not end in, or if the superlative is formed irregularly, you need to specify the superlative explicitly. This is done using the  ,  ,  ,   parameters. Each of those parameters is matched to the corresponding comparative. So   gives the superlative corresponding to the first comparative given,   gives the superlative corresponding to the second comparative, and so on.

If an adjective is not comparable, give its first parameter as just. This will display "not comparable". However, you can also specify one or more comparative forms after the, and it will then show "not generally comparable" along with the given forms. Note that in this case, the first comparative does not default to, so you need to give it explicitly.

If an adjective only has the comparative form (such as ), give its first parameter as. This will display "comparative form only" and add the adjective to Category:English comparative-only adjectives.

If you do not know what the comparative and superlative form are, or if you're not sure if the adjective is comparable at all, give the first parameter as. This will omit the comparative and superlative forms altogether.

The following parameters are additionally supported on all English headword templates, including en-adj:
 * head, head2, ...
 * Override the headword display; used to add links to individual words in a multiword term.


 * id
 * Sense ID for linking to this headword. See senseid for more information.


 * 1, 1, 1, 1
 * Control how multiword terms are linked. See Module:en-headword/documentation for more information.


 * 1
 * Prevent terms beginning with a hyphen from being interpreted as suffixes. See Module:en-headword/documentation for more information.


 * 1
 * Prevent multiword terms (those with spaces or with hyphens in the middle) from being added to Category:English multiword terms.


 * pagename
 * Override the page name used to compute default values of various sorts. Useful when testing, for documentation pages, etc.


 * sort
 * Sort key. Rarely needs to be specified, as it is normally automatically generated.

Examples
For most adjectives, the comparative and superlative are just formed with and. This is the default, so for these adjectives you can just specify no parameters, but you can also give, which is redundant but not wrong:

If the adjective forms its comparative and superlative by adding and, specify that with  :

This even works for most adjectives ending in (like ) or in  (like ), so you don't need to do anything special for them.

If the adjective has more than one way to form the comparative, provide them both as separate parameters, in order. For example, on or :

Adjectives with stem changes or irregular forms
If the adjective forms its comparative with some changes in the spelling of the stem, you need to specify it directly. This is done for for example, which doubles its :

The corresponding superlative will be generated automatically. If the default superlative is not correct, give it with the  parameter. For example on :

This prevents the template from generating which would be incorrect.

The  parameter is required if the comparative does not end in, as this prevents the template from generating the superlative. This happens with certain adjectives that are composed of multiple parts, like :

Incomparable adjectives
If the adjective is absolute and has no comparative forms, use  as the first comparative. For example, on :

If the adjective is not generally comparable but sometimes is, use  as the first parameter, with subsequent parameters as above. For example:

When the inflection is unknown or uncertain, use a question mark (?) as the first parameter. Such information can still be added to the entry later, and this avoids having to give potentially false information:

Comparative-only adjectives
If the adjective only has the comparative form, use  as the first comparative. For example, on :

Autosplitting
en-adj, as with all English headword-line templates, implements an intelligent, customized algorithm for automatically splitting and linking the components of a multiword term. See Module:en-headword/documentation for more information.

Suffix handling
en-adj, as with all English headword-line templates, will normally interpret a term beginning with a hyphen as a suffix and handle it specially. See Module:en-headword/documentation for more information.

Link modifications
en-adj, as with all English headword-line templates, has a special mechanism for overriding the default linking behavior of individual terms in a multiword expression without having to repeat the entire expression. See Module:en-headword/documentation for more information.

fa:الگو:صفت-ان