Light Mode

Jump to content

Template:adjective

From Wiktionary
\n{{#ifeq:{{{more}}}|true|'''[[more]] {{PAGENAME}}'''|{{#if:{{{2|}}}|{{#ifeq:{{{2|}}}|none|''none' '|{{creatable|comparative|{{{1|{{PAGENAME}}}}}|'''[[{{{2}}}] ]'''}}}}|''none''}}}}\n| width=0.5% |\n|bgcolor=\"#e2e2ff\" valign=top width=33% style=\"padding-left:1em;\"|\n{{lc|Superlative}}
\n{{#ifeq:{{{more}}}|true|'''[[most]] {{PAGENAME}}'''|{{#if:{{{3|}}}|{{#ifeq:{{{3|}}}|none|''none' '|{{creatable|superlative|{{{1|{{PAGENAME}}}}}|'''[[{{{3}}}] ]'''}}}}|''none''}}}}\n| width=0.5% |\n|}\n[[Category:Adjectives]]{{#ifeq:{{{more}}}|true||{{#if :{{{2|}}}||[[Category:Non-comparable adjectives]]}}}}{{auto multiword terms}}"}">
Template documentation[view] [change] [history] [refresh]

This template is used as a part of speech header for adjectives.

Usage

{{adjective
| 1 = Positive term
| 2 = Comparative term
| 3 = Superlative term
| more = Whether to use "more" and "most" for the comparative and superlative terms.
}}

Examples

Standard adjectives

Use {{adjective}} to give:

Positive
adjective

Comparative
none

Superlative
none

Adjectives with "more" and "most" for comparative and superlative

Use {{adjective|more=true}} to give:

Positive
adjective

Comparative
more adjective

Superlative
most adjective

Other adjectives

Use {{adjective|wide|wider|widest}} to give:

Positive
wide

Comparative
wider

Superlative
widest

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for adjective

Template for adding a parts of speech header to adjectives.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Positive term1

The positive term.

Default
{{PAGENAME}}
Stringoptional
Comparative term2

The comparative term.

Stringoptional
Superlative term3

The superlative term.

Stringoptional
Moremore

Whether to use "more" and "most" for the comparative and superlative terms.

Stringrequired

See also

The above documentation is transcluded from Template:adjective/doc. (change | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this template.