Template:Pt-adj/doc

維基詞典,自由的多語言詞典

Usage[编辑]

This template should be added to all Portuguese adjective and adjective form entries.

The template should be placed within the Portuguese language section, immediately following the Adjective L3 header.

As with other Wiktionary inflection line templates, please do not use subst:.

Parameters[编辑]

Adjectives - automatic inflection[编辑]

Use these parameters to get the set the inflected forms of an adjective automatically.

  • Quick example: {{pt-adj|bonit|o}}
1: Beginning of the adjective. All characters of the lemma form, except those in the template's title.
2: Ending of the adjective. The last characters chosen specifically by the template.
head: An optional headword.
comp=no: This is an uncomparable adjective.
comp=both: This is an adjective with both comparable and uncomparable definitions.

Adjectives - manual inflection[编辑]

Use these parameters to specify each inflected form separately.

  • Quick example: {{pt-adj|f=bonita|pl=bonitos|fpl=bonitas}}
pl: The plural form.
f: The feminine form.
fpl: The feminine plural form.
head: An optional headword.
comp=no: This is an uncomparable adjective.
comp=both: This is an adjective with both comparable and uncomparable definitions.

Adjective forms[编辑]

For adjective forms, such as bonita, bonitos and bonitas, use simply {{pt-adj|form}}.

Examples[编辑]

Entry Manual inflection Automatic inflection
bonito {{pt-adj|f=bonita|pl=bonitos|fpl=bonitas}} {{pt-adj|bonit|o}}
bonito〉 (feminine bonita plural bonitos feminine plural bonitas; comparable)
preto {{pt-adj|f=preta|pl=pretos|fpl=pretas}} {{pt-adj|pret|o}}
preto〉 (feminine preta plural pretos feminine plural pretas; comparable)
amável {{pt-adj|pl=amáveis}} {{pt-adj|am|ável}}
amável〉 (plural amáveis; comparable)

This template contains the necessary meta-data to allow users who are using accelerated editing to create any grammatical forms semi-automatically.