Module:User:Njardarlogar/nn-adj-irreg

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


local export = {}
local linker = require('Module:nn-link')

local m_headword = require("Module:headword")
local lang = require("Module:languages").getByCode("nn")
 
function export.main(frame)
    args = frame:getParent().args
    PAGENAME = mw.title.getCurrentTitle().text
    length = PAGENAME:len()
    
    if args or args then
    	meir = true
    end
   
   masculine = args  or args or args or args or args
   feminine = args or args or args or args or args
   neuter = args or args or args
   definite_singular = args or args
   plural = args or args

    local inflections = {}
    
    if masculine == feminine == neuter then
    	inflections = {label = 'indefinite singular', masculine}
    elseif masculine == feminine then
    	inflections = {label = 'masculine and feminine', masculine}
    	inflections = {label = 'neuter', neuter}
    else
    	inflections = {label = 'masculine', masculine}
    	inflections = {label = 'feminine', feminine}
    	inflections = {label = 'neuter', neuter}
    end
    
    if definite_singular == plural then
    	table.insert(inflections, {label = 'definite singular and plural', definite_singular})
    else
    	table.insert(inflections, {label = 'definite singular', definite_singular})
    	table.insert(inflections, {label = 'plural', plural})
    end
    
    if not meir then
    	comparative = args or args
    	if args or args then
    		comparative2 = args or args
    		comparative = linker.link(PAGENAME, comparative) .. '/' .. linker.link(PAGENAME, comparative2)
    	end 
    	
    	indefinite_superlative = args
    	if args then
    		indefinite_superlative2 = args
    		indefinite_superlative = linker.link(PAGENAME, indefinite_superlative) .. '/' .. linker.link(PAGENAME, indefinite_superlative2)
    	end 
    	
    	definite_superlative = args
    	if args then
    		definite_superlative2 = args
    		definite_superlative = linker.link(PAGENAME, definite_superlative) .. '/' .. linker.link(PAGENAME, definite_superlative2)
    	end
    	
    	if comparative then
    		table.insert(inflections, {label = 'comparative', comparative})
    	end
    	if indefinite_superlative then
    		table.insert(inflections, {label = 'indefinite superlative', indefinite_superlative})
    	end
    	if definite_superlative then
    		table.insert(inflections, {label = 'definite superlative', definite_superlative})
    	end
    end
    	
    	
    return
    	m_headword.format_headword(PAGENAME, lang, nil) ..
        m_headword.format_inflections(inflections, lang, nil)
end

return export