Module:nn-root

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


local lang = require("Module:languages").getByCode("nn")
local links = require("Module:links")

local export = {}

function export.main(frame)
	local PAGENAME = mw.title.getCurrentTitle().text
	local args = frame:getParent().args
	
	local root = ''
	
	if args and args ~= '' then 
		root = args:gsub('$', '')
	else
		root = PAGENAME:gsub('$', '')
	end

	return  root
end

function export.gname(frame)
	local PAGENAME = mw.title.getCurrentTitle().text
	local args = frame:getParent().args
	
	local root = ''
	
	if args and args ~= '' then 
		root = args:gsub('$', '')
	else
		root = PAGENAME:gsub('$', '')
	end

	return  root
end

return export