Module:taln-conj: Difference between revisions

Nehster9 (talk | contribs)
mNo edit summary
Nehster9 (talk | contribs)
mNo edit summary
Line 125: Line 125:
     end
     end


    local text =
local text =
     "'''Conjugation of [["
     "'''Conjugation of [[" .. title .. "]]''' (''"
    .. title
    .. "]]''' (''"
     .. romanize(title)
     .. romanize(title)
     .. "'')\n\n"
     .. "'')\n\n"
     .. '{| class="wikitable"\n' ..
     .. '{| class="wikitable mw-collapsible mw-collapsed"\n'
        '|+ Present indicative\n' ..
    .. '|+ Present indicative\n'
        '|-\n' ..
 
        '! !! Singular !! Plural\n' ..
    -- header row 1
        '|-\n' ..
    .. '|-\n'
        '! First person\n' ..
    .. '! rowspan="2" | Mood\n'
        '| ' .. make_link(forms.pres_1s) ..
    .. '! rowspan="2" | Tense\n'
        ' || ' .. make_link(forms.pres_1p) .. '\n' ..
    .. '! colspan="3" | Singular\n'
        '|-\n' ..
    .. '! colspan="3" | Plural\n'
        '! Second person\n' ..
 
        '| ' .. make_link(forms.pres_2s) ..
    -- header row 2
        ' || ' .. make_link(forms.pres_2p) .. '\n' ..
    .. '|-\n'
        '|-\n' ..
    .. '! 1st !! 2nd !! 3rd !! 1st !! 2nd !! 3rd\n'
        '! Third person\n' ..
 
        '| ' .. make_link(forms.pres_3s) ..
    -- body
        ' || ' .. make_link(forms.pres_3p) .. '\n' ..
    .. '|-\n'
        '|}'
    .. '! Indicative\n'
    .. '! Present\n'
    .. '| ' .. make_link(forms.pres_1s)
    .. ' || ' .. make_link(forms.pres_2s)
    .. ' || ' .. make_link(forms.pres_3s)
    .. ' || ' .. make_link(forms.pres_1p)
    .. ' || ' .. make_link(forms.pres_2p)
    .. ' || ' .. make_link(forms.pres_3p)
    .. '\n'
    .. '|}'


     return text
     return text