Template:pt-suffix

Definition from Wiktionary, the free dictionary
Jump to: navigation, search

The following documentation is located at Template:pt-suffix/documentation. [edit]

This template generates a headword line and categorizes entries for Portuguese suffixes and Portuguese suffix forms entries.

Usage[edit]

If used, the template should be placed within the Portuguese language section, immediately following the Suffixes L3 header.

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

Parameters[edit]

Suffix

1: The optional part of speech suffixed; for example "noun". If a value is chosen, the set of categories is modified accordingly.
2: The text to be sorted in categories. It is required; otherwise, suffixes would be sorted by their first character, a hyphen.
3: Optional alternative headword. If empty or omitted, the page name will appear as the headword.
4: The gender of the suffix.
  • "m" for masculine
  • "f" for feminine
  • "mf" for both genders.
f: The feminine form of a masculine suffix.
pl: The plural form of a singular suffix.
fpl: The feminine plural form of a masculine singular suffix.
pos2: An optional part of speech suffixed, in addition to the parameter 1; for example "noun". If a value is chosen, the set of categories is modified accordingly.

Suffix form

1: The part of speech suffixed; for example "noun form". A value is required to modify the set of categories accordingly.
2: The text to be sorted in categories. It is required; otherwise, suffixes would be sorted by their first character, a hyphen.
3: Optional alternative headword. If empty or omitted, the page name will appear as the headword.
4: The gender of the suffix.
  • "m" for masculine
  • "f" for feminine
  • "mf" for both genders.
5: The number of the suffix. This parameter depends on the gender of the lemma, to modify categories.
  • "pl" for plural of a masculine or feminine suffix.
  • "fpl" for feminine plural of a masculine suffix
  • omitted for singular.
pos2: An optional part of speech suffixed, in addition to the parameter 1; for example "noun". If a value is chosen, the set of categories is modified accordingly.

Examples[edit]

Suffix

Entry Code
-example {{pt-suffix||example||m}}
(Categories: Portuguese suffixes, Portuguese masculine suffixes, Portuguese words suffixed with -example)
-anotherexample {{pt-suffix|adverb|anotherexample||f}}
(Categories: Portuguese suffixes, Portuguese feminine suffixes, Portuguese adverbial suffixes, Portuguese adverbs suffixed with -anotherexample)
-examplewithplural {{pt-suffix||examplewithplural||f|pl=-exampleswithplural}}
(Categories: Portuguese suffixes, Portuguese feminine suffixes, Portuguese words suffixed with -examplewithplural)
-masculineexample {{pt-suffix||masculineexample||m|f=-feminineexample|pl=-masculineexamples|fpl=-feminineexamples}}
(Categories: Portuguese suffixes, Portuguese masculine suffixes, Portuguese words suffixed with -masculineexample)
-word1 word2 word3 {{pt-suffix||word1 word2 word3|-[[word1]] [[word2]] [[word3]]|m}}
(Categories: Portuguese suffixes, Portuguese masculine suffixes, Portuguese words suffixed with -word1 word2 word3)

Suffix form

Entry Code
-feminineform {{pt-suffix|adjective form|feminineform||f}}
(Categories: Portuguese suffix forms, Portuguese suffix feminine forms, Portuguese adjective forms suffixed with -feminineform)
-pluralform {{pt-suffix|adjective form|pluralform||mf|pl}}
(Categories: Portuguese suffix forms, Portuguese suffix plural forms, Portuguese adjective forms suffixed with -pluralform)
-masculinepluralform {{pt-suffix|adjective form|masculinepluralform||m|pl}}
(Categories: Portuguese suffix forms, Portuguese suffix plural forms, Portuguese adjective forms suffixed with -pluralform)
-femininepluralform {{pt-suffix|adjective form|femininepluralform||f|fpl}}
(Categories: Portuguese suffix forms, Portuguese suffix feminine forms, Portuguese suffix plural forms, Portuguese adjective forms suffixed with -femininepluralform)