Module:Icon: Difference between revisions

m add name to error msg
m also applies to a few removed items.
Line 73: Line 73:
     local class = iconData.class or ""
     local class = iconData.class or ""
     local style = 'style="white-space:nowrap; position:relative; bottom:2px;"'
     local style = 'style="white-space:nowrap; position:relative; bottom:2px;"'
     if class == "ability" then
     if class == "theme" then
         style = 'class="module-icon-ability" style="white-space:nowrap; position:relative; bottom:2px;"'
         style = 'class="module-icon-ability" style="white-space:nowrap; position:relative; bottom:2px;"'
     end
     end