Module:R:LBG

Hello, you have come here looking for the meaning of the word Module:R:LBG. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:R:LBG, but we will also tell you about its etymology, its characteristics and you will know how to say Module:R:LBG in singular and plural. Everything you need to know about the word Module:R:LBG you have here. The definition of the word Module:R:LBG will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:R:LBG, 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.

This module is invoked by {{R:LBG}}.


local export = {}

local tag_greek = require("Module:grc-utilities").tag

local function load_data(w)
    --return mw.loadData("Module:R:LBG/data")
	return require("Module:data tables").index_table("grc_RLBG_lemma_to_index", w)
end

function export.index(frame)
	local params = {
		w = {default = mw.title.getCurrentTitle().text},
		 = {},
		 = {alias_of = "w"},
	}
	local args = require("Module:parameters").process(frame:getParent().args, params)
	local title = args.w
	local tagged_title = tag_greek(title)
	local number = args
	
	if number then
		return (" in ")
	else
		local n = load_data(title)
		if n then
			return (".."&context=lsj "..tagged_title.."] in ")
		else
			return ""
		end
	end
end

return export