Anonymous

Module:Icons: Difference between revisions

From Melvor Idle
Squaring icons better
(Added Earth Layered Shield override)
(Squaring icons better)
Line 50: Line 50:
   local result = '[[File:'..img
   local result = '[[File:'..img
   if type ~= nil and type ~= '' then result = result..'_('..type..')' end
   if type ~= nil and type ~= '' then result = result..'_('..type..')' end
   result = result..'.'..ext..'|'..tostring(imgSize)..'px'  
   result = result..'.'..ext..'|'..tostring(imgSize)..'x'..tostring(imgSize)..'px'  
   if not (nolink and notext) then result = result..'|link='..link end
   if not (nolink and notext) then result = result..'|link='..link end
   result = result..']]'
   result = result..']]'