Module:accel/fax

return {generate = function (params, entry) -- an attempt to add dialect labels, WT:Beer parlour/2023/September local dialect = mw.ustring.match(params.form, "%|[LMV|]+$") local form = dialect and mw.ustring.gsub(params.form, dialect, "") or params.form -- special handling for female equivalents if params.pos == "noun" and form == "f" then entry.head = "" elseif params.pos == "past participle" then entry.pos_head = "Participle" if form == "m|sg" then entry.head = "" end entry.def = "" end if dialect then entry.def = " " .. entry.def end end}