Template:sv-verb-irr

Definition from Wiktionary, the free dictionary
Jump to: navigation, search

sv-verb-irr (present [[{{{1}}}#Swedish|{{{1}}} ]], preterite [[{{{2}}}#Swedish|{{{2}}} ]], supine [[{{{3}}}#Swedish|{{{3}}} ]], imperative [[{{{4}}}#Swedish|{{{4}}} ]])


The following documentation is located at Template:sv-verb-irr/documentation. [edit]
Useful links: subpage listtransclusionsredirects

Background[edit]

New template for Swedish irregular and strong verbs, to give an inflection line with the most basic inflections (infinitive, present, past (=preterite), supine and imperative). There is another template {{sv-verb-reg}} for weak verbs, and also (to be done) a set of templates {{sv-verb-conj-xx}} (yet to be developed) which are to be used under a ====Conjugations==== header.

The earlier right-floating templates such as {{sv-verb-reg-ar}}, {{sv-verb-reg-er}} and {{sv-verb-irreg}} are to be deprecated at some point. (They are not very popular...)


Instructions[edit]

4 numbered parameters, for present tense, preterite (=past tense), supine (the tense used to form the perfect and pluperfect) and imperative. All are needed, though one of the two named parameters (namely particle) can be used to automatically add a verb particle. The other named parameter is the inf, which is used to override the default display of the infinitive.


Examples:

{{sv-verb-irr|går|gick|gått|gå}}
{{sv-verb-irr|tar|tog|tagit|tag|particle=tag i|inf=[[ta]] [[tag]] [[i]]}}

...yields...


(present går , preterite gick , supine gått , imperative )
ta tag i (present tar tag i, preterite tog tag i, supine tagit tag i, imperative ta tag i)

(Note that in these examples there are always added an inf= parameter to make it display the infinitive properly, and not the name of the template...)

Known bugs[edit]

  • Does not behave as anticipated if using both the particle parameter, and giving multiple forms of some form. Point in case:
    {{sv-verb-irr|tar|tog|tagit|[[ta]], [[tag]]|particle=tag i|inf=[[ta]] [[tag]] [[i]]}}
    
    does not behave as one might have wished for. A workaround is to avoid using the particle= parameter in these cases, and instead write
{{sv-verb-irr|tar tag i|tog tag i|tagit tag i|[[tag tag i]], [[ta tag i]]|inf=[[ta]] [[tag]] [[i]]}}