Template:Suffix cat

From The Languages of David J. Peterson
Jump to navigation Jump to search

This template should be used on pages in the Category: namespace, and automatically generates descriptions and categorization for categories of a recognized type (see below). It is implemented by Module:category tree and its submodule Module:category tree/affix cat. It is preferable not to invoke this template directly, but to simply use {{auto cat}} (with no parameters), which will automatically invoke this template on appropriately-named category pages.


This template generates a short description for categories of suffixes of various languages. If no alternative display form of the suffix is needed, just use {{auto cat}}.

Parameters

|1=
The language code.
|2=
The suffix (without a hyphen, if the script uses hyphens).
|3=
The displayed form of the suffix, without a hyphen. If not provided, it will be the same as the second parameter. Equivalent to the second parameter of {{l}}.
|pos=
The part of speech, which is used as part of the category's name. This should match the |pos= parameter given to {{suffix}}. If not provided, it will default to term.
|id=
The sense id. This is the word or phrase in parentheses at the end of the category name: for example, Category:English words suffixed with -er (action noun). There should also be a {{senseid}} in the entry for the suffix that matches the sense id in the category name.
|sort=
The category sort key. If not provided, it will use the suffix itself as the sort key.