Module:SkillCategoryIcon

local ICONS = { ['weapon'] = '', ['weapons'] = '', ['assist'] = '', ['assists'] = '', ['special'] = '', ['specials'] = '', ['passivea'] = '', ['passive a'] = '', ['passiveb'] = '', ['passive b'] = '', ['passivec'] = '', ['passive c'] = '', ['passives'] = '', ['passive s'] = '', ['sacredseal'] = '', ['sacred seal'] = '', ['seal'] = '', }

local DEFAULT_ICON = ''

local icon1 = function (kind) return ICONS[mw.ustring.lower(kind or '')] or DEFAULT_ICON end

local icon = function (args) return icon1(args[1]) end

local p = require 'Module:MakeMWModule'.makeMWModule {icon = icon} p.icon1 = icon1 return p