Module:OreDict

local p = {}

p.entries = function(f) local args = f.args or f	if f == mw.getCurrentFrame and args[1] == nil then args = f:getParent.args else f = mw.getCurrentFrame end args = require(Module:ProcessArgs).norm(args) local entry = args[1] if not entry then return require(Module:Grid).cell({}) end local body = mw.html.create("span") if not args["no-anim"] then body:addClass("animated") end local dictargs = args --dick args, lol -bony dictargs["no-anim"] = nil if dictargs["no-oredict"] then dictargs["no-oredict"] = "1" end if dictargs["shuffle"] then dictargs["shuffle"] = "1" end dictargs["tag"] = "1" body:wikitext(f:callParserFunction("#dict", args)) --body:tag("span"):wikitext(f:callParserFunction("#dict", args)) return tostring(body) end

return p