Module:Icons: Difference between revisions

Removed # from icons
(Actually added override code I meant to have already added)
(Removed # from icons)
Line 60: Line 60:
   local img = args.img ~= nil and args.img or link
   local img = args.img ~= nil and args.img or link


  img = string.gsub(img, '#', '')
  link = string.gsub(link, '#', '')
   --MANUAL OVERRIDES
   --MANUAL OVERRIDES
   if imgOverrides[link] ~= nil and img == link then
   if imgOverrides[link] ~= nil and img == link then