FGC:Imagelink

From EvaWiki
Revision as of 20:32, 25 June 2012 by Ornette (talk | contribs) (This template is obselete don't need to use it anymore.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


NOTE: This template is obselete. The ImageLink extension has been disabled. As of MediaWiki 1.14, the ImageLink functionality has been rolled into the core functionality. You don't need to use this template to create images that link to internal or extenal pages, you can use the default [[Image]] or [[File]] tags. See Image help for more info. Essentially, you want to include a link=<page name> as a parameter for [[Image]]

Examples:

[[Image:Soundonly.jpg|150px|This is some alternate text|link=http://www.google.com/?q=soundonly]]
This is some alternate text


[[Image:Geektionary-samm.jpg|150px|This Links to the Geektionary page|link=Geektionary]]
This Links to the Geektionary page


Obselete

This template is intended to allow the use of images as clickable links to pages other than the images own page.

Usage

To use this template, simply copy the following wiki code into the page and fill in the required values.

{{FGC:Imagelink
|image=
|page=
|height=
|width=
|bcolour=
|alttext=
}}

Example

The code below produces the image following. Not the image will be automatically centered.

{{FGC:Imagelink
|image=Sachiel_Monitor.jpg
|page=Sachiel
|width=150px
|bcolor=blue
|alttext=Information about Sachiel
}}

When clicked on, the image takes the browser to the Sachiel article.