Template:ClickInternal: Difference between revisions
From The Urban Dead Wiki
Jump to navigationJump to search
m (fixing) |
No edit summary |
||
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}}}|{{{mouseover}}}]]</div></includeonly><noinclude> | ||
===Usage=== | ===Usage=== | ||
Give images your own link. | Give images your own link. | ||
Line 8: | Line 8: | ||
*<s>''mouseover'' is optional (and will default to ''link'')</s> | *<s>''mouseover'' is optional (and will default to ''link'')</s> | ||
This template is [[wikipedia:depricated|depricated]]. <nowiki>[[File:Example.jpg|link=Example Page]]</nowiki> fullfills this function. The template has been simplified to make use of this feature. It is advised to not bother with this template. | <span style="#f00">'''This template is [[wikipedia:depricated|depricated]] due to the wiki software update on 2011-04-21.'''</span> <nowiki>[[File:Example.jpg|link=Example Page|width=200px|Whatever mouseover text you want]]</nowiki> fullfills this function. The template has been simplified to make use of this feature. It is advised to not bother with this template. | ||
===Example=== | ===Example=== | ||
Line 17: | Line 17: | ||
|width=200px | |width=200px | ||
|height=150px | |height=150px | ||
|You'll see this when you mouseover the image | |mouseover=You'll see this when you mouseover the image | ||
}} | }} | ||
</pre> | </pre> |
Revision as of 04:10, 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 due to the wiki software update on 2011-04-21. [[File:Example.jpg|link=Example Page|width=200px|Whatever mouseover text you want]] 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: