Some templates create their own fake thumbnail frames. When these thumbs have a caption, they can add the magnify icon to link to the file description page. This template generates the HTML for those uses.

{{magnify icon|link=File:Example.png}}