Template:ru-derived verbs/documentation

This template is used to generate a table of Russian verbs derived from a given base verb. The following is an example, for :

This produces the following:

This shows the basic structure:
 * 1) In the most basic use, a slash separates corresponding aspectually paired derived verbs, normally inputted and displayed in the order perfective, imperfective. (Use 1 to switch this and cause both the input and display to put imperfective before perfective.) To include multiple (normally synonymous) verbs for a given aspect, separate them with commas. Use a hyphen by itself to indicate that there is no verb for that aspect. Here the first line   specifies an aspect pair where the imperfective is  and the corresponding perfective is missing. (The spec   is an inline modifier; see below.)
 * 2) If a line is preceded by , the verbs on that line specify a suffix template. This line is not displayed, but establishes a set of suffixes to be added to later-specified prefixes. In this case, for example,   specifies a suffix template consisting of perfective  and imperfective.
 * 3) If a line has no slash or comma in it, it is a prefix, which is added to the most recently-established suffix template to form the aspect pair. Here, for example,,  and  respectively specify derived verbs /, / and / (accents on monosyllabic verbs like  are automatically removed).
 * 4) If a prefix has an accent on it, as with  here, it is handled specially. In the perfective, the accent on the prefix remains and any accent on the suffix is removed, while in the imperfective, the opposite happens. Here, this produces the aspectual pair /. This is consistent with the normal handling of the  prefix in Russian (along with related prefixes such as,  and ). Occasional exceptions such as  should be spelled out in full.
 * 5) If a line with a slash in it has a verb ending in a hyphen, that verb is treated as a prefix and added to the suffix in the corresponding position for the most recently specified suffix template. Here, for example, the line   expands to   based on the previously specified suffix template , which translates to an aspectual pair with perfective  and no imperfective. (Similarly,   translates to an aspectual pair with imperfective  and no perfective.)
 * 6) Normally, all specified paired verbs are automatically sorted lexicographically, ignoring accents. However, a line consisting of a hyphen by itself delineates sorting groups; sorting only happens within a group. In this case, the second line being a bare hyphen causes the first line   to be treated as a sorting group by itself and sorted before all other verbs.
 * 7) Any verb (including prefixes and suffixes) can be followed by one or more inline modifiers. These use the same syntax as in col and variants; alter/alt; syn/ant/etc.; and several other classes of templates. The basic format of an inline modifier is   where   specifies a property to attach to the verb and   is the corersponding value. The recognized properties are as follows:
 * 8) *  (a qualifier preceding the verb);
 * 9) *  (a qualifier following the verb);
 * 10) *  (one or more comma-separated "genders"; here, they should be   or   to override the aspect; use   to specify a biaspectual derived verb such as  and );
 * 11) *  or   (a gloss);
 * 12) *  (a part of speech, as in the pos parameter to link/l);
 * 13) *  (override the auto-generated transliteration);
 * 14) *  (specify a transcription, as in the ts parameter to link/l; provided for completeness but makes no sense for Russian);
 * 15) *  (literal meaning);
 * 16) *  (sense ID, as in the id parameter to link/l).

Another example, for, is as follows:

This produces the following:

This shows a couple more issues of note:
 * 1) Suffixes beginning with a hyphen are not treated specially. Here, the line   specifies an aspectual pair consisting of combining forms /. These forms do not exist as separate verbs but have lemma entries in Wiktionary because they form the base of several derived verbs such as /.
 * 2) Brackets can be placed around a verb, as here with . These brackets will be carried through to the output and the verb inside will be linked appropriately. It is suggested to use brackets to denote either (a) suppletive verbs not derived from the base verb but forming part of an aspect pair (as here with / as well as various other cases such as / and /); or (b) mentions of the base verb itself (e.g. for  with corresponding derived imperfective ). Brackets can be combined with inline modifiers; in such a case, the brackets go only around the verb itself, not including the inline modifiers.