User:Mathglot/sandbox/Templates/Inflect
Appearance
does
| This template may be substituted by using {{subst:User:Mathglot/sandbox/Templates/Inflect}}. |
Returns the third person inflected form of a verb given its number and form/tense.
Usage
[edit]{{User:Mathglot/sandbox/Templates/Inflect|verb|number}}
Parameters
[edit]There are three parameters, two optional:
|verb=– the bare infinitive; e.g.,be,have,say,work. Required; alias:|1=.|number=– grammatical number; values:singular(alias:sing,sg), orplural(alias:pl). Optional; alias:|2=.|form=– a verb form, e.g., tense. Optional; alias:|3=; default:present. (Other forms not implemented yet, and return a warning.)
Examples
[edit]Around a dozen examples testing some main rules and exceptions, and a few error conditions |
|---|
|
Notes
[edit]This template should be thought of as similar to an O.O. method, which takes a conjugation object consisting of the singular and plural of a verb, and gets the plural. Currently this is implemented as a slash-joined pair, but there is no guarantee that that will always be the case, so this template should be used to get the value.