Module:rad-stem: Difference between revisions

Jump to navigation Jump to search
m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
Tags: Mobile edit Mobile web edit
mNo edit summary
Line 472: Line 472:
if args["vstem"] then
if args["vstem"] then
if args.vstem == "true" then
if args.vstem == "true" then
principle_parts["vstem"] = true
principle_parts["vstem"] = true
elseif args.vstem == "false" then
elseif args.vstem == "false" then
principle_parts["vstem"] = false
principle_parts["vstem"] = false
end
end
elseif mw.ustring.match(principle_parts["2s"],"[^n]v$") and not mw.ustring.match(principle_parts["inf"],"ft$") and not mw.ustring.match(principle_parts["inf"],"aut$") then
elseif mw.ustring.match(principle_parts["2s"],"[^n]v$") and not mw.ustring.match(principle_parts["inf"],"ft$") and not mw.ustring.match(principle_parts["inf"],"aut$") then
principle_parts["vstem"] = true
principle_parts["vstem"] = true
Line 545: Line 545:
local imp_temp = args["depers"]
local imp_temp = args["depers"]
if imp_temp then
if imp_temp then
if mw.ustring.match(imp_temp, "au$") then
if mw.ustring.match(imp_temp, "au$") then
imp_temp = nil
imp_temp = nil
else
else
imp_temp = imp_temp .. "a"
imp_temp = imp_temp .. "a"
end
end
end
end
if principle_parts["vstem"] then
if principle_parts["vstem"] then

Navigation menu