Template:Click/doc: Difference between revisions

From VrlWiki
Jump to navigation Jump to search
No edit summary
Jadrian Miles (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
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>
Line 5: Line 4:
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).
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.
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. Its use should minimised because of the following problems.


== See also ==
== See also ==
* [http://en.wikipedia.org/wiki/Template:Click Template:Click on wikipedia] where we got this from.
* [http://en.wikipedia.org/wiki/Template:Click Template:Click on wikipedia] where we got this from.

Latest revision as of 20:59, 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. Its use should minimised because of the following problems.

See also