Zum Inhalt springen

Modul:nds-n Konjunktschoon Verben

Vun Wiktionary

Vörlaag

[ännern]

{{nds_n Konjugatschoon Verben|Stamm/Infinitiv|regelmatig/unregelmatig|wesen/hebben|SPRAAK=Spraak)}}

  • Stamm/Infinitiv: bi regelmatig Verben de Stamm angeven, bi unregelmatig Verben de Infinitiv angeven
  • regelmatig/unregelmatig: angeven, ob de Konjunktschoon regelmatig oder unregelmatig is
  • wesen/hebben: bügen ob wesen oder bügen op hebben
  • SPRAAK=Spraak: Spaak angeven (mehr as en Dialekt mit "MULT")

Modul

[ännern]

-- Konjunktschoon

function export.show(frame)
    return maak_tofel(forms, title) .. m_utilities.format_categories(categories, lang)
end



-- Konjunktschoon swake Verben

-- Maak Infinitiv ut Stamm
function maak_infinitiv(Stamm)
	if Stamm.find("ah$") then
		Infinitiv = Stamm .. "n"
	elseif Stamm.find("eh$") then
		Infinitiv = Stamm .. "n"
	elseif Stamm.find("el$") then
		Infinitiv = Stamm .. "n"
	elseif Stamm.find("er$") then
		Infinitiv = Stamm .. "n"
	else
		Infinitiv = Stamm .. "en"
	end
end

-- Konjunktion starke un unregelmatig Verben

Konjugatschoon["afdingen"] = function(args)
    local Formen = {}
    local Kategorien = {"Proto-Germanic unregelmatig Verben"}  -- Sprachsteuerung muss noch eingebaut werden
    local Titel = "unregelmatig"
 
    present_weak2(forms, "d")
    past_weak(forms, "d")
    
	-- Präsens
    Formen["präs_indc_1sg"] = "ding af"
    Formen["präs_indc_2sg"] = "dingst af"
    Formen["präs_indc_3sg"] = "dingt af"
    Formen["präs_indc_pl"] = "dingt af"

	-- Präteritum
    Formen["prät_indc_1sg"] = "dung/düng af"
    Formen["prät_indc_2sg"] = "dungst/düngst af"
    Formen["prät_indc_3sg"] = "dung/düng af"
    Formen["prät_indc_pl"] = "dungen/düngen af"
    
    -- Imperativ

    return Formen, Titel, Kategorien
end
 


-- Maak Tofel
function maak_tofel(forms, title)
    -- Make links out of all forms
    for key, form in pairs(forms) do
        forms[key] = com.tag_form(form)
    end
 
    return [=[
<div class="NavFrame">
<div class="NavHead" style="text-align: left">Konjugation vun '']=] .. forms["Infinitiv"] .. "''" .. (title and " (" .. title .. ")" or "") .. [=[</div>
<div class="NavContent">
{| class="wikitable inflection-table" style="text-align: left; width: 100%; line-height: 125%; margin: 0;"
|-
| colspan="1" |
! colspan="3" | [[Aktiv]]
! colspan="2" | [[Passiv]]
|-
! [[Präsens]]
! style="width: 20%;" | [[Indikativ]]
! style="width: 20%;" | [[Konjunktiv]]
! style="width: 20%;" | [[Imperativ]]
! style="width: 20%;" | [[Indikativ]]
! style="width: 20%;" | [[Konjunktiv]]
|-
! [[Eerste Persoon|Eerste]]&nbsp;[[Singular]]
| ]=] .. forms["pres_indc_1sg"] .. " || " .. forms["pres_subj_1sg"] .. " || &mdash; || " .. forms["pasv_indc_1sg"] .. " || " .. forms["pasv_subj_1sg"] .. [=[
 
|-
! [[Tweete Persoon|Tweete]]&nbsp;[[Singular]]
| ]=] .. forms["pres_indc_2sg"] .. " || " .. forms["pres_subj_2sg"] .. " || " .. forms["impr_2sg"] .. " || " .. forms["pasv_indc_2sg"] .. " || " .. forms["pasv_subj_2sg"] .. [=[
 
|-
! [[Drütte Persoon|Drütte]]&nbsp;[[Singular]]
| ]=] .. forms["pres_indc_3sg"] .. " || " .. forms["pres_subj_3sg"] .. " || " .. forms["impr_3sg"] .. " || " .. forms["pasv_indc_3sg"] .. " || " .. forms["pasv_subj_3sg"] .. [=[
 
|-
! [[Eerste Persoon|Eerste]]&nbsp;[[Dual]]
| ]=] .. forms["pres_indc_1du"] .. " || " .. forms["pres_subj_1du"] .. " || &mdash; || " .. forms["pasv_indc_1du"] .. " || " .. forms["pasv_subj_1du"] .. [=[
 
|-
! [[Tweete Persoon|Tweete]]&nbsp;[[Dual]]
| ]=] .. forms["pres_indc_2du"] .. " || " .. forms["pres_subj_2du"] .. " || " .. forms["impr_2du"] .. " || " .. forms["pasv_indc_2du"] .. " || " .. forms["pasv_subj_2du"] .. [=[
 
|-
! [[Eerste Persoon|Eerste]]&nbsp;[[Plural]]
| ]=] .. forms["pres_indc_1pl"] .. " || " .. forms["pres_subj_1pl"] .. " || &mdash; || " .. forms["pasv_indc_1pl"] .. " || " .. forms["pasv_subj_1pl"] .. [=[
 
|-
! [[Tweete Persoon|Tweete]]&nbsp;[[Plural]]
| ]=] .. forms["pres_indc_2pl"] .. " || " .. forms["pres_subj_2pl"] .. " || " .. forms["impr_2pl"] .. " || " .. forms["pasv_indc_2pl"] .. " || " .. forms["pasv_subj_2pl"] .. [=[
 
|-
! [[Drütte Persoon|Drütte]]&nbsp;[[Plural]]
| ]=] .. forms["pres_indc_3pl"] .. " || " .. forms["pres_subj_3pl"] .. " || " .. forms["impr_3pl"] .. " || " .. forms["pasv_indc_3pl"] .. " || " .. forms["pasv_subj_3pl"] .. [=[
 
|-
| colspan="6" |
|-
! colspan="1" | [[Präteritum]]
! style="width: 20%;" | [[Indikativ]]
! style="width: 20%;" | [[Konjunktiv]]
| colspan="3" rowspan="9" |
|-
! [[Eerste Persoon|Eerste]]&nbsp;[[Singular]]
| ]=] .. forms["past_indc_1sg"] .. " || " .. forms["past_subj_1sg"] .. [=[
 
|-
! [[Tweete Persoon|Tweete]]&nbsp;[[Singular]]
| ]=] .. forms["past_indc_2sg"] .. " || " .. forms["past_subj_2sg"] .. [=[
 
|-
! [[Drütte Persoon|Drütte]]&nbsp;[[Singular]]
| ]=] .. forms["past_indc_3sg"] .. " || " .. forms["past_subj_3sg"] .. [=[
 
|-
! [[Eerste Persoon|Eerste]]&nbsp;[[Dual]]
| ]=] .. forms["past_indc_1du"] .. " || " .. forms["past_subj_1du"] .. [=[
 
|-
! [[Tweete Persoon|Tweete]]&nbsp;[[Dual]]
| ]=] .. forms["past_indc_2du"] .. " || " .. forms["past_subj_2du"] .. [=[
 
|-
! [[Eerste Persoon|Eerste]]&nbsp;[[Plural]]
| ]=] .. forms["past_indc_1pl"] .. " || " .. forms["past_subj_1pl"] .. [=[
 
|-
! [[Tweete Persoon|Tweete]]&nbsp;[[Plural]]
| ]=] .. forms["past_indc_2pl"] .. " || " .. forms["past_subj_2pl"] .. [=[
 
|-
! [[Drütte Persoon|Drütte]]&nbsp;[[Plural]]
| ]=] .. forms["past_indc_3pl"] .. " || " .. forms["past_subj_3pl"] .. [=[
 
|-
| colspan="6" |
|-
|
! [[Präsens]]
! [[Präteritum]]
| colspan="3" rowspan="2" |
|-
! [[Partizip]]
| ]=] .. forms["pres_ptc"] .. " || " .. forms["past_ptc"] .. [=[
 
|}</div></div>]=]
end
 
function make_bot_list(forms, hasSep)
    local ret = ""
 
    if hasSep then
        ret = ret .. "* sep=1\n"
    end
 
    for key, form in pairs(forms) do
        ret = ret .. "* " .. key .. "=" .. form .. "\n"
    end
 
    return ret
end
 
return export