Difference between revisions of "FGC:Imagelink"

From EvaWiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{| style="margin-left: auto; margin-right: auto; margin-top: 0em; margin-bottom: 0em;"
+
<includeonly>{| class="fgc_imagelink"
 
|-
 
|-
|style="padding: 0em; margin: 0em;"| <div style="border: 2px solid {{{bcolour|blue}}}; padding: 0em; margin: 0em;">{{#img: image={{{image|}}} |page={{{page|}}} |alt={{{alttext|Clickable Image}}} |width={{{width|}}}}}</div>
+
|<div style="border: 2px solid {{{bcolour|blue}}};">{{#img: image={{{image|}}} |page={{{page|}}} |alt={{{alttext|Clickable Image}}} |width={{{width|}}}}}</div>
 
|}</includeonly>
 
|}</includeonly>
 
<noinclude>
 
<noinclude>

Revision as of 04:40, 29 November 2009


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