Модул:translations/egy
Изглед
Документацију овог модула можете да направите на страници Модул:translations/egy/док
local m_links = require("Модул:links")
local export = {}
function export.show(frame)
local params = {
[1] = {required = true},
[2] = {list = true},
["h"] = {},
["alt"] = {},
["id"] = {},
["lit"] = {},
}
local args = require("Модул:parameters").process(frame:getParent().args, params)
local terminfo = {
lang = require("Модул:languages").getByCode("egy"),
tr = nil,
term = args[1],
alt = args["alt"],
id = args["id"],
genders = args[2],
lit = args["lit"],
}
local result = m_links.full_link(terminfo, "translation", true)
if args["h"] then
local hiero = frame:preprocess("<hiero>" .. args["h"] .. "</hiero>")
result = hiero .. ' (' .. result .. ')'
end
return result
end
return export