Template:Click/doc: Difference between revisions

From VrlWiki
Jump to navigation Jump to search
No edit summary
Jadrian Miles (talk | contribs)
mNo edit summary
Line 1: Line 1:
==Usage==
Usage format:
Usage format:
  <nowiki>{{Click | image=myimage.png | link=PageName | width=10px | height=10px}}</nowiki>
  <nowiki>{{Click | image=myimage.png | link=PageName | width=10px | height=10px}}</nowiki>

Revision as of 20:38, 27 January 2009

Usage format:

{{Click | image=myimage.png | link=PageName | width=10px | height=10px}}

This template attempts to superimpose an invisible link on an image, such that clicking on the image does not take you to the image description page (normal behaviour).

It's useful for small icons/logos which are representative of an article, and which a user might click on expecting to be taken to that article. Here we are using it on the Main Page for example. It's use should minimised because of the following problems.

See also