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

Image:{{{image}}}

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/TLink|Clickable Image}}.

Documentation

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 =

== The Basics ==

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

| image =

| link =

| width = (not more than 100px)

| height = (not more than 100px)

}}

=== Examples of Standard Usage ===

{{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=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

}}

{{User:Will Pittenger/templates/Clickable Image With External Link|image = Wikinews-logo-textless.png|link = http://google.com|width = 35px|height = 19px}}