Template:Clickpic

From RangerWiki
Revision as of 06:12, 12 July 2006 by WikiSysop (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{{2}}}

This templates allows images to be used as links pointing to a desired page. i.e. a navigational image.

Syntax:

{{clickpic|TITLE OF TARGET PAGE|PATH OF IMAGE FILE}}

Note: This only works for Mediawiki sites that support embedding external images (however when using this template it may be that the image used is actually an internally held one).

Main Wikimedia sites do not support embedding external images, but plenty of other personal, public and corporate intranet Mediawiki-based sites do, and these can use this template to make navigational images easy to implement.

If you want to duplicate this template on your Mediawiki site, here is the code:

<span class="plainlinks">[{{SERVER}}{{localurl:{{{1}}}}} {{{2}}}]</span>

For information such as:

  • How to get the full path of the image which this template needs
  • What to do if you have a whitespace problem in Internet Explorer or Opera

then please see further details at User:CharlesC/Template for navigational images on Mediawiki websites.