Template:Topicon
Please note: this uses inline styles that are overridden in site js. this is temporary for about a month (As of 03:00, 1 November 2009 (UTC)) until cache expires. the inline styles only work in vector. if you are using another skin, hard refresh and the other styles should take over.
[edit] Template documentation
Usage
edit- First arg or named arg img is the image name (default image:smile.svg) Do not put leading File: or Image:
- 2nd arg or named arg link is the link (optional, defaults to no link (aka default to image description page))
- 3rd arg or named arg tooltip is tooltip text (if you use an equal sign, start it with
3=
ortooltip
) defaults to not having a tooltip/alt text. - named arg width is the width of the image (optional; defaults 25px)
Examples
editTry these at home
- (Active on this page) {{topicon}} which is equivelent to {{topicon|smile.svg|width=25px|tooltip=}}
- Try this one at home (not active on this page): {{Topicon|Kooky.jpg|WN:IRC|come laugh with us on irc}} which is equivelent to {{Topicon|img=Kooky.jpg|tooltip=come laugh with us on irc|link=WN:IRC}}
See also
edit- {{titled-click}} used to be used for this - BUT it is REALLY UGLY. SO don't use it.