Some templates create their own fake thumbnail frames. When these thumbs have a caption, they can add the magnify icon to link to the image description page. This template generates the HTML for those uses.
{{magnify icon|link=Magnifying Glass2.svg|25px}}