Template:da-conj: difference between revisions

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Content deleted Content added
updated acceleration tags... too complicated to handle with JavaScript
No edit summary
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="NavFrame">
<div class="NavFrame">
<div class="NavHead" >Conjugation of '''{{{{{{2}}}|{{PAGENAME}}}}}'''</div>
<div class="NavHead">Inflection of {{m|da||{{{{{{2}}}|{{PAGENAME}}}}}}}</div>
<div class="NavContent">
<div class="NavContent">
{| class="inflection-table" style="border-collapse:separate; background:#F0F0F0; text-align:center; width:100%; border-spacing:2px"
{| class="inflection-table" style="border-collapse:separate; background:#F0F0F0; text-align:center; width:100%; border-spacing:2px"
|-
|-
! colspan="1" style="background:#c0cfe4" | imperative
! colspan="1" style="background:#c0cfe4" | imperative
| colspan="2" | {{l|da|{{{1}}}|accel=imperative-form-of}}{{#if:{{{imp-2|}}}|&#32;''or''&#32;{{l|da|{{{imp-2}}}|accel=imperative-form-of}}}}
| colspan="2" | {{l-self|da|accel=imperative-form-of|{{{1}}}}}<!--
-->{{#if:{{{imp-2|}}}|<br/>{{l-self|da|accel=imperative-form-of|{{{imp-2}}}}}}}
! colspan="1" style="background:#c0cfe4" | infinitive
! colspan="1" style="background:#c0cfe4" | infinitive
| colspan="2" | {{l|da|{{#if:{{{2|}}}|{{{2}}}|{{PAGENAME}}}}}}
| colspan="2" | {{l-self|da|{{#if:{{{2|}}}|{{{2}}}|{{PAGENAME}}}}}}
|-
|-
! colspan="1" style="background:#c0cfe4" | present tense
! colspan="1" style="background:#c0cfe4" | present tense
| colspan="2" | {{l|da|{{#switch:{{{3}}}|r={{{1}}}r|er={{{1}}}{{#if:{{{dc|}}}|{{#invoke:string|pos|{{{1}}}|-1}}}}er|#default={{{3}}}}}|accel=present-form-of}}<!--
| colspan="2" | {{l-self|da|accel=present-form-of|{{#switch:{{{3}}}|r={{{1}}}r|er={{{1}}}{{#if:{{{dc|}}}|{{#invoke:string|pos|{{{1}}}|-1}}}}er|#default={{{3}}}}}}}<!--
-->{{#if:{{{pres2|}}}|<br/>{{l-self|da|accel=present-form-of|{{{pres2}}}}}}}

-->{{#if:{{{pres2|}}}|<br/>{{l|da|{{{pres2}}}}}|accel=present-form-of}}
! colspan="1" style="background:#c0cfe4" | past tense
! colspan="1" style="background:#c0cfe4" | past tense
| colspan="2" | {{l|da|{{#switch:{{{4}}}|te={{{1}}}te|ede={{{1}}}{{#if:{{{dc|}}}|{{#invoke:string|pos|{{{1}}}|-1}}}}ede|#default={{{4}}}}}|accel=past-form-of}}<!--
| colspan="2" | {{l-self|da|accel=past-form-of|{{#switch:{{{4}}}|te={{{1}}}te|ede={{{1}}}{{#if:{{{dc|}}}|{{#invoke:string|pos|{{{1}}}|-1}}}}ede|#default={{{4}}}}}}}<!--
-->{{#if:{{{past2|}}}|<br/>{{l-self|da|accel=past-form-of|{{{past2}}}}}}}

-->{{#if:{{{past2|}}}|<br/>{{l|da|{{{past2}}}}}|accel=past-form-of}}
|-
|-
! colspan="1" style="background:#c0cfe4" | auxiliary verb
! colspan="1" style="background:#c0cfe4" | auxiliary verb
| colspan="2" | {{#switch:{{{5}}}|h|have={{l|da|have}}|v|være={{l|da|være}}|hv|vh={{l|da|have}} ''or'' {{l|da|være}}|{{{5}}}}}
| colspan="2" | {{#switch:{{{5}}}|h|have={{l-self|da|have}}|v|være={{l-self|da|være}}|hv|vh={{l-self|da|have}} ''or'' {{l-self|da|være}}|{{{5}}}}}
! colspan="1" style="background:#c0cfe4" | past participle
! colspan="1" style="background:#c0cfe4" | past participle
| colspan="2" | {{l|da|{{#switch:{{{6}}}|t={{{1}}}t|et={{{1}}}{{#if:{{{dc|}}}|{{#invoke:string|pos|{{{1}}}|-1}}}}et|{{{6}}}}}|accel=past-participle-form-of}}<!--
| colspan="2" | {{l-self|da|accel=past-participle-form-of|{{#switch:{{{6}}}|t={{{1}}}t|et={{{1}}}{{#if:{{{dc|}}}|{{#invoke:string|pos|{{{1}}}|-1}}}}et|{{{6}}}}}}}<!--
-->{{#if:{{{past-part2|}}}|<br/>{{l-self|da|accel=past-participle-form-of|{{{past-part2}}}}}}}

-->{{#if:{{{past-part2|}}}|<br/>{{l|da|{{{past-part2}}}}}|accel=past-participle-form-of}}
|-
|-
! colspan="1" style="background:#c0cfe4" | perfect tense
! colspan="1" style="background:#c0cfe4" | perfect tense
| colspan="2" | {{#switch:{{{5}}}|h|have={{l|da|har}}|v|være={{l|da|er}}|hv|vh={{l|da|har}} ''or'' {{l|da|er}}}} {{#switch:{{{6}}}|t={{{1}}}t|et={{{1}}}{{#if:{{{dc|}}}|{{#invoke:string|pos|{{{1}}}|-1}}}}et|{{{6}}}}}<!--
| colspan="2" | {{#switch:{{{5}}}|h|have={{l-self|da|har}}|v|være={{l-self|da|er}}|hv|vh={{l-self|da|har}} ''or'' {{l-self|da|er}}}} {{#switch:{{{6}}}|t={{{1}}}t|et={{{1}}}{{#if:{{{dc|}}}|{{#invoke:string|pos|{{{1}}}|-1}}}}et|{{{6}}}}}<!--


-->{{#if:{{{past-part2|}}}|<br/>{{#switch:{{{5}}}|h|have={{l|da|har}}|v|være={{l|da|er}}|hv|vh={{l|da|har}} ''or'' {{l|da|er}}}} {{{past-part2}}}}}
-->{{#if:{{{past-part2|}}}|<br/>{{#switch:{{{5}}}|h|have={{l-self|da|har}}|v|være={{l-self|da|er}}|hv|vh={{l-self|da|har}} ''or'' {{l-self|da|er}}}} {{{past-part2}}}}}
! colspan="1" style="background:#c0cfe4" | pluperfect tense
! colspan="1" style="background:#c0cfe4" | pluperfect tense
| colspan="2" | {{#switch:{{{5|}}}|h|have={{l|da|havde}}|v|være={{l|da|var}}|hv|vh={{l|da|havde}} ''or'' {{l|da|var}}}} {{#switch:{{{6}}}|t={{{1}}}t|et={{{1}}}{{#if:{{{dc|}}}|{{#invoke:string|pos|{{{1}}}|-1}}}}et|{{{6}}}}}<!--
| colspan="2" | {{#switch:{{{5|}}}|h|have={{l-self|da|havde}}|v|være={{l-self|da|var}}|hv|vh={{l-self|da|havde}} ''or'' {{l-self|da|var}}}} {{#switch:{{{6}}}|t={{{1}}}t|et={{{1}}}{{#if:{{{dc|}}}|{{#invoke:string|pos|{{{1}}}|-1}}}}et|{{{6}}}}}<!--


-->{{#if:{{{past-part2|}}}|<br/>{{#switch:{{{5|}}}|h|have={{l|da|havde}}|v|være={{l|da|var}}|hv|vh={{l|da|havde}} ''or'' {{l|da|var}}}} {{{past-part2}}}}}
-->{{#if:{{{past-part2|}}}|<br/>{{#switch:{{{5|}}}|h|have={{l-self|da|havde}}|v|være={{l-self|da|var}}|hv|vh={{l-self|da|havde}} ''or'' {{l-self|da|var}}}} {{{past-part2}}}}}
|-
|-
! colspan="1" style="background:#c0cfe4" | present participle
! colspan="1" style="background:#c0cfe4" | present participle
| colspan="2" | {{l|da|{{#if:{{{7|}}}|{{{7}}}|{{{1}}}{{#if:{{{dc|}}}|{{#invoke:string|pos|{{{1}}}|-1}}}}ende}}|accel=present-participle-form-of}}<!--
| colspan="2" | {{l-self|da|accel=present-participle-form-of|{{#if:{{{7|}}}|{{{7}}}|{{{1}}}{{#if:{{{dc|}}}|{{#invoke:string|pos|{{{1}}}|-1}}}}ende}}}}<!--


-->{{#if:{{{pres-part2|}}}|<br/>{{l|da|{{{pres-part2}}}}}}}
-->{{#if:{{{pres-part2|}}}|<br/>{{l-self|da|accel=present-participle-form-of|{{{pres-part2}}}}}}}
! colspan="1" style="background:#c0cfe4" | gerund
! colspan="1" style="background:#c0cfe4" | gerund
| colspan="2" | {{#ifeq:{{{8}}}|-|-|{{l|da|{{#if:{{{8|}}}|{{{8}}}|{{{1}}}{{#if:{{{dc|}}}|{{#invoke:string|pos|{{{1}}}|-1}}}}en}}|accel=gerund-form-of}}}}<!--
| colspan="2" | {{#ifeq:{{{8}}}|-|&mdash;|{{l-self|da|accel=gerund-form-of|{{#if:{{{8|}}}|{{{8}}}|{{{1}}}{{#if:{{{dc|}}}|{{#invoke:string|pos|{{{1}}}|-1}}}}en}}}}}}<!--


-->{{#if:{{{gerund2|}}}|<br/>{{l|da|{{{gerund2}}}|accel=gerund-form-of}}}}
-->{{#if:{{{gerund2|}}}|<br/>{{l-self|da|accel=gerund-form-of|{{{gerund2}}}}}}}
|-
|-
! colspan="1" style="background:#c0cfe4" | passive
! colspan="1" style="background:#c0cfe4" | passive
| colspan="2" | {{#ifeq:{{{9}}}|-|-|{{l|da|{{#if:{{{9|}}}|{{{9}}}|{{{1}}}{{#if:{{{dc|}}}|{{#invoke:string|pos|{{{1}}}|-1}}}}es}}|accel=passive-form-of}}}}<!--
| colspan="2" | {{#ifeq:{{{9}}}|-|&mdash;|{{l-self|da|accel=passive-form-of|{{#if:{{{9|}}}|{{{9}}}|{{{1}}}{{#if:{{{dc|}}}|{{#invoke:string|pos|{{{1}}}|-1}}}}es}}}}}}<!--


-->{{#if:{{{pass2|}}}|<br/>{{l|da|{{{pass2}}}}}}}
-->{{#if:{{{pass2|}}}|<br/>{{l-self|da|accel=passive-form-of|{{{pass2}}}}}}}
! colspan="1" style="background:#c0cfe4" | passive past
! colspan="1" style="background:#c0cfe4" | passive past
| colspan="2" | {{#ifeq:{{{10}}}|-|-|{{l|da|{{#if:{{{10|}}}|{{{10}}}|{{#switch:{{{4}}}|te={{{1}}}te|ede={{{1}}}{{#if:{{{dc|}}}|{{#invoke:string|pos|{{{1}}}|-1}}}}ede|#default={{{4}}}}}s}}|accel=passive-past-form-of}}}}<!--
| colspan="2" | {{#ifeq:{{{10}}}|-|&mdash;|{{l-self|da|accel=passive-past-form-of|{{#if:{{{10|}}}|{{{10}}}|{{#switch:{{{4}}}|te={{{1}}}te|ede={{{1}}}{{#if:{{{dc|}}}|{{#invoke:string|pos|{{{1}}}|-1}}}}ede|#default={{{4}}}}}s}}}}}}<!--


-->{{#if:{{{pass-past2|}}}|<br/>{{l|da|{{{pass-past2}}}}}}}
-->{{#if:{{{pass-past2|}}}|<br/>{{l-self|da|accel=passive-past-form-of|{{{pass-past2}}}}}}}
|}
|}
</div></div>
</div></div>

Revision as of 22:02, 20 August 2017


This is a template for displaying the conjugations of Danish verbs. It takes up to 10 unnamed parameters and one named. Many of the parameters recognize endings, which are appended to the imperative form. If the imperative ends in a consonant liable to doubling, setting dc=1 will double the consonant before a schwa.

  • dc=1: consonant doubling
  1. the imperative form
  2. the infinitive form (defaults to PAGENAME, usually not required)
  3. the present form; endings: r and er
  4. the past form; endings: te and ede
  5. the auxiliary verb: h or have for have, v or være for være, hv and vh for verbs that use both (if such even exist)
  6. the past participle; endings: t and et
  7. the present participle
  8. the gerund; use - to denote no gerund exists
  9. the passive form; use - to denote that it does not exist
  10. the passive past form; use - to denote that it does not exist