Module:User:Njardarlogar/nn-verb-table

Hello, you have come here looking for the meaning of the word Module:User:Njardarlogar/nn-verb-table. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:User:Njardarlogar/nn-verb-table, but we will also tell you about its etymology, its characteristics and you will know how to say Module:User:Njardarlogar/nn-verb-table in singular and plural. Everything you need to know about the word Module:User:Njardarlogar/nn-verb-table you have here. The definition of the word Module:User:Njardarlogar/nn-verb-table will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:User:Njardarlogar/nn-verb-table, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

This module needs documentation.
Please document this module by describing its purpose and usage on the documentation page.

Lua error in Module:module_categorization at line 299: Could not infer any languages or scripts from root pagename 'User:Njardarlogar'


local p = {}
local classes = require('Module:nn-verb-classes')
local class = {v1 = classes.v1, v2 = classes.v2,
    v3 = classes.v3, v4 = classes.v4}


function p.section(forms, number, type)
    numbers = {'first', 'second', 'third'}
    text = [=[ 
|-
! rowspan="7" style="background:#DFDFDF" |]=] .. numbers .. ' inflection (' .. type .. [=[) 
|-
! colspan="6" style="background:#DFDFDF" | <span style="color:Green">Inflection in time</span>
|-
! style="background:#DFDFDF" | present tense
! style="background:#DFDFDF" | past tense
! style="background:#DFDFDF" | supine
! style="background:#DFDFDF" | passive infinitive
! style="background:#DFDFDF" | present participle
! style="background:#DFDFDF" | imperative
|-
| ]=] .. forms .. '\n| ' .. forms ..
'\n| ' .. forms .. '\n| ' .. forms .. 
'\n| ' .. forms .. '\n| ' .. forms .. [=[ 
|-
! colspan="3" style="background:#DFDFDF" | <span style="color:Green">Inflection of the past participle</span> || style="background:#DFDFDF" rowspan="3" colspan = "3"| &nbsp;
|-
! style="background:#DFDFDF" | masculine and feminine
! style="background:#DFDFDF" | neuter
! style="background:#DFDFDF" | definite singular and plural
|-
| ]=] .. forms .. '\n| ' .. forms ..
'\n| ' .. forms
    return text
end

function p.main(frame)
    PAGENAME = mw.title.getCurrentTitle().text
    
    class1 = frame.args
    class2 = frame.args
    class3 = frame.args
    
    forms1 = class(PAGENAME)
    
    length = PAGENAME:len()
    template = [=[ <div class="NavFrame" style="width:78em">
<div class="NavHead" style="" >&nbsp; &nbsp; Complete inflection of <small>'']=] .. PAGENAME .. [=[''</small></div>
<div class="NavContent">
 
{| style="background:#F9F9F9;text-align:center;width:70em" class="inflection-table2"]=]
    
    template = template .. p.section(forms1, 1, class1)
    if class2 and class2 ~= '' then
        forms2 = class(PAGENAME)
        template = template .. p.section(forms2, 2, class2)
    else
        template = template:gsub('first inflection', 'inflection')
    end
    if class3 and class3 ~= '' then
        forms3 = class(PAGENAME)
        template = template .. p.section(forms3, 3, class3)
    end

    template = template .. [=[ 
|- 
! colspan = "2" style="background:#DFDFDF"| <span style="color:Green">Derivations</span> || style="background:#DFDFDF" rowspan="3" colspan = "5"| &nbsp; 
|-
! style="background:#DFDFDF" | Verbal noun
| ]=] .. forms1 .. [=[ 
|-
! style="background:#DFDFDF" | Agent noun 
| ]=] .. forms1 .. '\n|}\n</div></div>'
    return template
end

return p