Template:ClickExternal: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
m (Only deleted the most important bit of code in the copy-paste there...)
No edit summary
Line 8: Line 8:
*''mouseover'' is optional (and will default to ''link'')
*''mouseover'' is optional (and will default to ''link'')


This template will work in signatures as an alternative to image redirects, but be aware that it is quite weighty and so should be used in moderation.
This template will work in signatures, but be aware that it is quite weighty and so should be used in moderation (preferably just 1-2 images in your signature).


===Example===
===Example===

Revision as of 17:17, 16 October 2010

Usage

Give images your own link.

  • link and image don't need square brackets.
  • height and width must be specified in px and should match the image's size.
    • If the sizes are not correct, you may see a message with a hot pink background; simply decrease the height
  • mouseover is optional (and will default to link)

This template will work in signatures, but be aware that it is quite weighty and so should be used in moderation (preferably just 1-2 images in your signature).

Example

{{ClickExternal
 |link=http://www.google.com
 |image=Example.jpg
 |width=200px
 |height=150px
 |mouseover=You'll see this when you mouseover the image
}}

Will produce:

           Example.jpgUse a smaller height if you can see this message.