Module:Icons: Difference between revisions

Add AoD & amend getExpansionIcon
(Icon: Support 'section' parameter, for linking to sections within pages)
(Add AoD & amend getExpansionIcon)
Line 641: Line 641:
function p.TotH()
function p.TotH()
return p.Icon({'Throne of the Herald Expansion', notext=true, img='TotH', alt=''})
return p.Icon({'Throne of the Herald Expansion', notext=true, img='TotH', alt=''})
end
function p.AoD()
return '([[Atlas of Discovery Expansion|AoD]])'
end
end


Line 647: Line 651:
if ns == 'melvorTotH' then
if ns == 'melvorTotH' then
return p.TotH()..' '
return p.TotH()..' '
elseif ns == 'melvorAoD' then
return p.AoD()..' '
else
else
return ''
return ''