සැකිල්ල:es-verb form of/documentation
Usage
[සංස්කරණය]This template automatically generates an inflection-of line for Spanish verb non-lemma forms given the conjugation spec of the verb. The conjugation spec is the same as in {{es-conj}} and {{es-verb}}, except that the infinitive must be specified. For example:
On ame, the following:
# {{es-verb form of|amar}}
generates
- amar: යන යෙදුමෙහි inflection
On consintiendo, the following:
# {{es-verb form of|consentir<ie-i>}}
generates
On hazte, the following:
# {{es-verb form of|hacerse}}
generates
- hacerse යන යෙදුමෙහි මධ්යම පුරුෂ ඒකවචන විධි ක්රියා පදය
(This latter usage works because the module automatically knows how to conjugate most irregular verbs.)
Parameters
[සංස්කරණය]Only the following parameters are used:
|1=(required)- Conjugation spec of the verb, including the infinitive and any necessary indicators.
|pagename=- Override the non-lemma form used to generate the inflections. Defaults to the page name.
|slots=- Optional comma-separated list of slots, to restrict the output to only those slots (e.g.
pres_1sfor the first-person singular present indicative) instead of all possible slots matching the non-lemma form in question. |noslots=- Optional comma-separated list of slots, to restrict the output to not include those slots (e.g.
pp_msfor the masculine singular past participle) instead of all possible slots matching the non-lemma form in question. |t=/|gloss=,|lit=,|pos=,|id=- Link parameters (see
{{link}}and{{inflection of}}) passed to the underlying call(s) to{{inflection of}}.
Old usage
[සංස්කරණය]NOTE: The following describes an alternative, deprecated interface, which is in the process of being removed. If you find that the interface described above is insufficient, use {{inflection of}} directly rather than the below interface.
Subtemplates may be found here: Category:es-verb form of subtemplates.
This template:
- is intended to be invoked directly from definition lines in entries for Spanish verb forms (aside from the infinitive, which should get a real definition).
- is the interface to a family of templates that are not intended to be invoked directly from entries.
- produces the content of the definition line, and adds the article the appropriate corresponding category.
- adds the entry to Category:Requests for cleanup (Spanish verb form) if there’s anything amiss with its parameters.
- takes a number of parameters:
- (unnamed) or
verborinforinfinitive— should be the entry for the infinitive (el infinitivo). endorending— should bearor-aroreror-eroriror-ir.nocap— should normally be blank or omitted; otherwise, the first letter of the template’s result text is not capitalized.nodot— should normally be blank or omitted; otherwise, no period is included at the end of the template’s result text.mood— should be one of the following:indorindicativesubjorsubjunctiveimporimperativecondorconditionalparorpartorparticipleorpast participleorpast-participleadvoradverbialorgerorgerundorgerundiveorgerundioorpresent participleorpresent-participle
tense— has different permitted values depending on the mood:- if the mood is indicative:
presorpresentpretorpreteritorpreteriteimporimperfectfutorfuturecondorconditional— equivalent to giving this as themood
- if the mood is subjunctive:
presorpresentimporimperfect
- if the mood is anything else,
tenseshould be omitted or blank.
- if the mood is indicative:
numornumber— should besorsingorsingularorporplorplural, unless the mood is the adverbial present participle, in which case should be blank or omitted.persorperson— should be1orfirstorfirst personorfirst-personor2orsecondorsecond personorsecond-person = secondor3orthirdorthird personorthird-personor0orimporimpersonal, unless the mood is the past participle or the adverbial present participle, in which case should be blank or omitted.formal— if the verb form is in the second person, should beyoryes(for usted(es)) ornorno(for tú or vosotr@s); otherwise, should be blank or omitted.sense— if the verb form is an informal second-person imperative, should be+orafforaffirmativeor-ornegornegative; otherwise, should be blank or omitted. (The special case of vamos vs. vayamos, which is absolutely unique in the language, is hard-coded into the template.)sera— if the mood is the subjunctive and the tense is the imperfect, should beseorra(to distinguish e.g. hiciésemos from hiciéramos); otherwise, should be blank or omitted.genorgender— if the mood is the past participle, should bemormascormasculineorforfemorfeminine; otherwise, should be blank or omitted.parorpartorparticiple— if the mood is the past participle, and the number is plural and/or the gender is feminine, should be a link to the entry for the masculine singular past participle; otherwise, should be blank or omitted.voseo— should be defined only if the verb form is voseo (which implies a "second person singular" form); otherwise, should be blank or omitted.- If the entry is a voseo form you should also specify the region parameter, e.g. "Latin America", "Chile" or "Venezuela".
region— should normally be blank or omitted; otherwise if this form is only used locally it should denominate the region of usage e.g. "Spain", "Latin America", "Chile" etc.
- (unnamed) or