Module:Icons: Difference between revisions

From Melvor Idle
(Add Tortoise mark override)
(Undo revision 61545 by Auron956 (talk) Reinstated to allow linking to items with hashes in their names)
Line 601: Line 601:
img = sgsub(img, '/Training', '')
img = sgsub(img, '/Training', '')
img = sgsub(img, '/Guide', '')
img = sgsub(img, '/Guide', '')
-- Remove '#' from links to facilitate linking to things with hashes in
-- their names (e.g. item 'Birthday Cake Piece #1'). Links to sections
-- of a page should instead be performed using the 'section' parameter.
link = sgsub(link, '#', '')
-- Special handling for links to Agility obstacles or pillars
-- Special handling for links to Agility obstacles or pillars