Module:translations/egy

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

This module is used for the translation template {{t-egy}}. It functions identically to Module:translations but with an addition parameter "h" to specify the hieroglyphic form.


local m_links = require("Module:links")

local export = {}

function export.show(frame)
    local params = {
		 = {required = true},
		 = {list = true},
		 = {},
		 = {},
		 = {},
		 = {},
	}
    
    local args = require("Module:parameters").process(frame:getParent().args, params)

    local terminfo = {
    	lang = require("Module:languages").getByCode("egy"),
    	tr = nil,
    	term = args,
    	alt = args,
    	id = args,
    	genders = args,
    	lit = args,
    }
	
    local result = m_links.full_link(terminfo, "translation", true)
    
    if args then
    	local hiero = frame:preprocess("{{egy-h|" .. args ..  "}}")
	    result = hiero .. ' (' .. result .. ')'
	end
	
	return result
	
end

return export