Difference between revisions of "Template:ClickInternal"

From The Urban Dead Wiki
Jump to navigationJump to search
(Dead dead dead dead. DEAD!)
m
Line 1: Line 1:
<includeonly><div style="display:-moz-inline-stack; display:inline-block; zoom:1; *display:inline; height:{{{height}}}; width: {{{width}}}; overflow:hidden; vertical-align:text-bottom">[[Image:{{{image}}}|{{{width}}}|link={{{Link}}}]]</div></includeonly><noinclude>
<includeonly><div style="display:-moz-inline-stack; display:inline-block; zoom:1; *display:inline; height:{{{height}}}; width: {{{width}}}; overflow:hidden; vertical-align:text-bottom">[[Image:{{{image}}}|{{{width}}}|link={{{link}}}]]</div></includeonly><noinclude>
===Usage===
===Usage===
Give images your own link.
Give images your own link.

Revision as of 04:01, 22 April 2011

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 is depricated. [[File:Example.jpg|link=Example Page]] fullfills this function. The template has been simplified to make use of this feature. It is advised to not bother with this template.

Example

{{ClickInternal
 |link=Example Page
 |image=Example.jpg
 |width=200px
 |height=150px
 |mouseover=You'll see this when you mouseover the image
}}

Will produce:

Example.jpg