Template:Clickpic

From The Scuba Wiki

Jump to: navigation, search

{{{2}}}

This template 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 (internally held images can be referenced this way too).

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.

Personal tools
support the site