Malline:Clickpic

RuneWikistä, vapaasta RuneScape-aiheisesta tietosanakirjasta. Tänään on 20. huhtikuuta 2024.
Siirry valikkoon Siirry hakuun

[{{fullurl:{{{1}}}}} {{{2}}}] This templates allows images to be used as links pointing to a desired page. i.e. a navigational image.

Syntax[muokkaa wikitekstiä]

{{clickpic|Target page title|Full image path}}

Note: This only works for Mediawiki sites that support external images such as the RuneScape Wiki. However, when using this template it is recommended that the image used is actually an internally-held image (i.e. uploaded unto the wiki).

Some 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.

Usage[muokkaa wikitekstiä]

If this template is duplicated on a Mediawiki site, here is the code:

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

For information such as:

  • How to obtain the full path of the image which is needed for this template
  • What to do if there is a whitespace problem in Internet Explorer or Opera

Please see further details from the original template creator.

Example[muokkaa wikitekstiä]

An example of a navigational image built with this template is: http://runescape.wikia.com/images/f/fb/Magic.gif where clicking on the image links to the magic skill page on the website. Note that the template only supports internal links, as the template will always pre-fix the target argument with the path to the root of the wiki.

Note that clicking on a standard image such as Magic.gif refers to the actual image upload file and associated descriptions.