Module:rad-stem/templates: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 181: Line 181:
local stem = args[1]
local stem = args[1]
local disable_ipa = args['noipa']
local disable_ipa = args['noipa']
local irregular = args["irr"] or args["irregular"] or mw.ustring.find(stem, "%*")
local irregular = args["irr"] or args["irregular"] or mw.ustring.find(stem or "", "%*")
if args[1] and args[2] ~= "adj" and args[2] ~= "adv" then error("Second parameter must be adj or adv") end
if args[1] and args[2] ~= "adj" and args[2] ~= "adv" then error("Second parameter must be adj or adv") end

Navigation menu