User:Will Pittenger/templates/Clickable Image With External Link


This template attempts to superimpose an invisible external link on an image. It may not work as expected for all browsers. For an internal link or a static (non-clickable) image, use {{User:Will Pittenger/templates/Clickable Image}}.

Documentation edit

This template causes an image to link to a specified page when clicked, rather than its image description page. It should be used sparingly as image description pages contain copyright information and should normally be easily accessible.

Syntax edit

The Basics edit

{{User:Will Pittenger/templates/Clickable Image With External Link
| image = <location of image>
| link = <page to link to>
| width = <width of image> (not more than 100px)
| height = <height of image> (not more than 100px)
}}
Examples of Standard Usage edit
{{User:Will Pittenger/templates/Clickable Image With External Link
| image =Nuvola_filesystems_www.png
| link = http://google.com
| width = 40px
| height = 40px
}}
{{User:Will Pittenger/templates/Clickable Image With External Link
| image = http://google.com
| link = n:Main Page
| width = 35px
| height = 19px
}}