Anonymous

Module:Icons: Difference between revisions

From Melvor Idle
Minor fix to text for Agility handling
(TotH: Suppress alt text)
(Minor fix to text for Agility handling)
(One intermediate revision by the same user not shown)
Line 389: Line 389:
img = sgsub(img, '/Guide', '')
img = sgsub(img, '/Guide', '')
link = sgsub(link, '#', '')
link = sgsub(link, '#', '')
-- Special handling for links to Agility obstacles or pillars
if iconType == 'agility' then
img = 'Agility'
iconType = 'skill'
if text == nil or text == '' then
text = link
end
link = 'Agility#' .. string.gsub(link, ' ', '')
end


--MANUAL OVERRIDES
--MANUAL OVERRIDES