Module:rad-stem/templates: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 467: Line 467:
local irregular = args["irr"] or args["irregular"] or false
local irregular = args["irr"] or args["irregular"] or false
local checked = args["check"]
local checked = args["check"]
-- arut|aruv|aru|arui|aru|arur|arur|r=arûr|imp=aroà|depers=arû|rpst=arujr
if args[3] == nil then -- sense preset conjugation
local root = args[1]
checked = true
if args[2] == "ru" then
args[1] = root .. "rut"
args[2] = root .. "ruv"
args[3] = root .. "ru"
args[4] = root .. "rui"
args[5] = root .. "ru"
args[6] = root .. "rur"
args[7] = root .. "rur"
args['r'] = root .. "rûr"
args['imp'] = root .. "roà"
args['depers'] = root .. "rû"
args['rpst'] = root .. "rujr"
end
end
local pp = m_stem.getVerbStem(args)
local pp = m_stem.getVerbStem(args)
-- mw.logObject(pp)
-- mw.logObject(pp)