Module:rad-stem/templates: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 465: Line 465:
local table_type = args["t"] or args["type"] or "tr"
local table_type = args["t"] or args["type"] or "tr"
local disable_ipa = args['noipa'] or false
local disable_ipa = args['noipa'] or false
local irregular = args["irr"] or args["irregular"] or false
local pp = m_stem.getVerbStem(args)
local pp = m_stem.getVerbStem(args)
mw.logObject(pp)
mw.logObject(pp)
Line 1,675: Line 1,676:
end
end
add("</small>")
add("</small>")
if irregular then add("[[Category:Radestrian irregular verbs") end
return table.concat(format_table, string.char(10))
return table.concat(format_table, string.char(10))