Template:it-verb-obj/documentation

This template standardizes the etymological description of verb-object compounds in Italian. Examples of such compounds are and. In each case, the compound is formed of two components, the first of which is a verb in the imperative form and the second of which is the object of the verb (normally but not always a noun). The template normally displays the text Verb-object compound, composed of followed by the components of the compound, and categorizes the term into Category:Italian verb-object compounds.

Parameters

 * 1, 2, ...
 * Components of the compound. Normally there are two components, a verb and an object, but more are possible; see below. Components can have inline modifiers; see below.


 * lit
 * Literal translation of the whole compound.


 * nocap
 * Don't capitalize the initial letter of the text verb-object compound, composed of that normally precedes the displayed components.


 * notext
 * Don't display the text verb-object compound, composed of at all.


 * nocat
 * Don't categorize into Category:Italian verb-object compounds.

The components should be given in their lemma form; i.e. verbs should be in the infinitive, and objects in the singular. The module will automatically convert a verb into its imperative form and will automatically pluralize any objects followed by the inline modifier. Imperative generation is according to standard rules (replace -are with -a and -ere/-ire with -i). Pluralization is also according to standard rules, which are somewhat more complex and are the same as used to generate the plural forms of adjectives and nouns using it-adj and it-noun.

Examples
1. For, use:

which generates

.

2. For, use

which generates

.

Note here how  is specified to request the plural, and the plural cicche is formed correctly according to Italian spelling rules. In such cases, the gloss should be given in the plural, as here.

3. For, use:

which generates

.

Here, the plural is irregular (the regularly formed plural would be ossi), so needs to be specified explicitly.

4. For, use:

which generates

.

Here, a third component is given between the verb and the object (see below for how this is handled).

5. For, use:

which generates

.

Here, the imperative is irregularly formed (the regularly formed imperative would be puli), so a two-part link is used to include both infinitive and imperative (this could also be used above to handle irregular plurals).

6. For, use



which generates

.

Here, the middle component is assumed to be a verb based on its ending, and converted to the imperative form.

Inline modifiers
Components can be followed by inline modifiers to specify modifiers such as glosses, genders and qualifiers, as shown in the examples above. Specifically, the following modifiers are recognized:
 * or : gloss for the term; verbs should be glossed in the English infinitive form, and nouns should be glossed in the singular or plural according as how they are displayed
 * : for plural objects, specify that the object is plural using the value of, or include the actual plural if it is irregular
 * : alternative display text; although instead of using this, it is recommended to use two-part links, as shown in the examples above
 * : comma-separated list of gender/number specifications
 * : literal meaning
 * : part of speech
 * : qualifier, e.g. rare; this appears before the component, parenthesized and italicized
 * : qualifier, e.g. rare; this appears after the component, parenthesized and italicized
 * : part of speech
 * : sense ID (see m and senseid)
 * : one of,   or  , overriding the default algorithm for determining the type of the component

Component types
Each component can be one of three types: verb (converted to the imperative form by default), object (pluralizable using the  inline modifier) or connector (left alone). The default algorithm chooses the type as follows:
 * 1) The first component is assumed to be a verb.
 * 2) The last component is assumed to be an object.
 * 3) Any other component is assumed to be a verb if it ends in -are, -ere or -ire, otherwise a connector.

Components in other languages
If a given component is not Italian, prefix the component with the language code of its language, e.g.  or.