မဝ်ဂျူ:inc-extension
မံက်ပြာကတ်
local export = {}
local m_links = require("Module:links")
local m_lang_inc_ash = require("Module:languages").getByCode('inc-ash')
function export.show(frame)
local args = frame:getParent().args
local lang = args[1] or 'und'
local m_lang = require("Module:languages").getByCode(lang)
local res = ""
for i, suffix in ipairs(args) do
if i ~= 1 then
local word = frame:expandTemplate{title = 'chars', args = {'inc-pra', suffix}}
word = '-' .. word .. '-'
if i ~= 2 or not args['noplus'] then res = res .. ' + ' end
if i == 2 then res = res .. ' အိန်ဒဝ်-အာရာတ်ယာန် လဒေါဝ် ' end
res = res .. m_links.full_link({lang = m_lang_inc_ash, term = word}, "term")
if not args['nocat'] then res = res .. '[[Category:ဝေါဟာ' .. m_lang:getCanonicalName() .. 'မသၠဲပ္တိတ်မနွံကဵုဝေါဟာ' .. word .. 'နကဵုဘာသာအိန်ဒဝ်-အာရာတ်ယာန်]]' end
end
end
return res
end
return export