Module:Role

local p = {} function p.roleIcon ( frame ) local args = frame local text = '' local curFrame = mw.getCurrentFrame if frame == mw.getCurrentFrame then args = require( 'Module:ProcessArgs').norm end local roles = mw.loadData( 'Module:Rolenamesshort' ) local role = roles[mw.ustring.lower(args[1] or "Unknown")] or args[1] local icon = '' return icon end

return p