Template:Inflection of

From The Languages of David J. Peterson
Revision as of 19:57, 16 October 2023 by Vaxjedi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

inflection of term:


This template is used to create definition lines for inflected (non-lemma) forms of other terms. It use Module:form of as a back-end.

This template takes the same general parameters as {{l}} and {{m}}, and it uses the same post-processing on the parameters. This includes script detection, removing diacritics, processing embedded links, and so on.

Parameters

|1=
The language code of the lemma, of which this is an inflection. See Project:List of languages. The parameter |lang= is a deprecated synonym; please do not use. If this is used, all numbered parameters move down by one.
|2=
The lemma form of the term of which this is an inflection. This is used to create a link.
|3= or |alt=
The alternative display form of the lemma. This works like the third parameter of {{l}} and {{m}}.
|4=, |5= ... etc.
One or more grammar tags to show. These give the definition by describing the relevant grammatical properties of this inflected form. A grammar tag can potentially be any text, but certain tags such as nominative, feminine, first-person or subjunctive that are recognized internally will automatically be linked to the appropriate entry in Appendix:Glossary (or in some cases, to the relevant Wiktionary or Wikipedia entry). As an example, nominative is displayed as nominative, with an appropriate link. Certain tags are recognised as shortcuts and are equivalent to spelling out the tag. For example, 1 is equivalent to first-person; both will be displayed as first-person. Similarly, f is equivalent to feminine, and nom is equivalent to nominative. The full, up-to-date list of recognized tags and their shortcuts and display forms is specified below.
Multiple tags are normally separated by spaces, so that e.g. nom|f|s will be displayed as nominative feminine singular. However, when punctuation characters are used as tags, they will be displayed appropriately for that punctuation character. For example, nom|,|with|3|s|object will display as nominative, with third-person singular object (i.e. without a space preceding the comma). Among the punctuation characters recognized and handled correctly are comma, colon, parens, brackets, slash, and hyphen. The full list can be found below.
It is also possible to put // separators between one or more tags or shortcuts to create a list separated by slashes. For example, writing nom//acc will expand to nominative/accusative, and writing nom//acc//voc//dat will expand to nominative/accusative/vocative/dative
The inflection tag ; is recognized specially and is used to separate two inflections of the same word. Sets of tags separated by a semicolon tag will be displayed on separate lines. See examples below.
|t=
A gloss or short translation of the word. The parameter |gloss= is a deprecated synonym; please do not use.
|tr=
Transliteration for non-Latin-script words, if different from the automatically-generated one.
|ts=
Transcription for non-Latin-script words whose transliteration is markedly different from the actual pronunciation. Should not be used for IPA pronunciations.
|p= or |POS=
Part-of-speech tag or abbreviation (see below). Currently used only for categorization, which depends on the particular inflection tags and the language in question. Note that there are related templates {{noun form of}}, {{verb form of}} and {{adj form of}}, which are exactly like {{inflection of}} but automatically set (respectively) the |p=n, |p=v and |p=a parameters.
|id=
A sense id for the term, which links to anchors on the page set by the {{senseid}} template.
|sc=
Script code to use, if script detection does not work.

Grammar tags

The following grammar tags are available for shortcut use in entering descriptions as per Module:form of/data (more common tags) and Module:form of/data2 (less common tags):

Lua error in Module:Form_of at line 815: attempt to call field 'join_multiparts' (a nil value).

Other items (such as "atelic") may be used as needed, but should be spelled out in full (see examples).

Examples

Example 1

On the page for the Spanish non-lemma form aman:

# {{inflection of|es|amar||3|p|pres|act|ind}}
gives
  1. third-person plural present active indicative of amar

Example 2

On the page for the Russian non-lemma form пути́ (putí):

# {{inflection of|ru|путь||gen//dat//pre|s|;|nom//acc|p}}
gives
  1. Lua error in Module:Form_of at line 815: attempt to call field 'join_multiparts' (a nil value).

Note here how the // separator separates tags when multiple tags apply, and ; separates inflections. When ; is used, the display format changes to a multi-line format, as shown. Furthermore, since the lemma is in a non-Latin script in a language with automatic transliteration, that transliteration is automatically shown.

Example 3

On the page for the Japanese non-lemma form 飛び移らず (tobiutsurazu):

# {{inflection of|ja|飛び移る||neg|continuative|tr=tobiutsuru}}
gives
  1. negative continuative of 飛び移る (tobiutsuru)

Note here how an unrecognized tag continuative is used. Such tags need to be spelled out in full, and won't be linked to anything. Furthermore, in this case, although Japanese uses a non-Latin script, no automatic transliteration is available, so the transliteration needs to be manually supplied if desired.

Part-of-speech tags

The following part-of-speech tags are available for use as the |p= or |POS= parameter. Note that either the full (canonical) form or any of the short forms can be used and are equivalent.

Canonical part of speech Shortcut(s)
adjective a, adj
adverb adv
article art
cardinal numeral cnum
conjunction conj
determiner det
interjection int, intj
intransitive verb vi
noun n
numeral num
ordinal numeral onum
participle part
particle pcl
postposition postp
preposition pre, prep
pronoun pro, pron
proper noun pn, proper
transitive and intransitive verb vti
transitive verb vt
verb v, vb


Categorization

Some languages will add the non-lemma form to a category, depending on the particular tags and on the presence/absence of the |p=/|POS= parameter (the absence of this parameter disables most but not all categorization; in particular, categorization for participles may work in the absence of a part-of-speech parameter). The exact conditions under which this happens are described in Module:form of/cats, but the following is a list of all language-specific categories that may be added:

Bulgarian
adjective masculine forms
adjective feminine forms
adjective neuter forms
adjective plural forms
adjective vocative forms
adjective definite forms
adjective indefinite forms
noun indefinite forms
noun definite forms
noun vocative forms
noun count forms
noun plural forms
noun plural forms
adverbial participles
present active participles
past passive participles
past active aorist participles
past active imperfect participles
Breton
noun plural forms
Catalan
adjective feminine forms
adjective plural forms
participle forms
present participles
past participles
German
present participles
past participles
Greek
dative forms
verb past tense forms
verb nonfinite forms
Middle English
first-person singular forms
second-person singular forms
third-person singular forms
first/third-person singular past forms
second-person singular past forms
plural forms
plural subjunctive forms
plural past forms
singular subjunctive forms
singular past subjunctive forms
singular imperative forms
plural imperative forms
present participles
past participles
Spanish
adjective feminine forms
adjective plural forms
Estonian
participles
Gothic
present participles
past participles
Hungarian
past participles
present participles
future participles
adverbial participles
verbal participles
Italian
adjective feminine forms
adjective plural forms
Japanese
past tense verb forms
conjunctive verb forms
Northern Kurdish
present participles
past participles
Livonian
verb forms (present indicative)
verb forms (past indicative)
verb forms (imperative negative)
verb forms (imperative)
verb forms (negative)
verb forms (conditional)
verb forms (jussive)
verb forms (quotative)
present active participles
present passive participles
past active participles
past passive participles
gerunds
supine abessives
supines
debitives
Lithuanian
būdinys participles
padalyvis participles
pusdalyvis participles
dalyvis participles
pronominal dalyvis participle forms
dalyvis participle forms
comparative pronominal adjective forms
superlative pronominal adjective forms
comparative adjective forms
superlative adjective forms
Latvian
negative verb forms
definite comparative participles
comparative participles
definite comparative adjectives
comparative adjectives
superlative participles
superlative adjectives
Portuguese
adjective feminine forms
adjective plural forms
noun feminine forms
noun plural forms
noun augmentative forms
noun diminutive forms
Russian
participles
verb forms
present active participles
present passive participles
present adverbial participles
past active participles
past passive participles
past adverbial participles
Sanskrit
desiderative verbs
verbs derived from primitive verbs
frequentative verbs
verbs derived from primitive verbs
root forms
Scots
verb simple past forms
third-person singular forms
Swedish
past participles
Ukrainian
participles
verb forms
present active participles
present passive participles
present adverbial participles
past active participles
past passive participles
past adverbial participles