This is a template for Swedish irregular and strong verbs, to be used on the headword line. It displays the most basic inflections (infinitive, present, past (=preterite), supine and imperative). See also {{sv-verb-reg}}
for weak verbs, and {{sv-conj-wk}}
, {{sv-conj-st}}
, which are to be used under a ====Conjugations==== header.
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=] ] ]}}
...yields...
gå (present går, preterite gick, supine gått, imperative gå)
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...)
{{sv-verb-irr|tar|tog|tagit|], ]|particle=tag i|inf=] ] ]}}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|], ]|inf=] ] ]}}