.

M:Template:Click: Difference between revisions

Wikicars, a place to share your automotive knowledge
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="position:relative; width:{{{width}}}; height:{{{height}}}; overflow:hidden;"><div style="position:absolute; font-size:{{{height}}}; overflow:hidden; line-height:{{{height}}}; letter-spacing:{{{width}}};">[[{{{link}}}|<span title="{{{title|{{{link}}}}}}" style="text-decoration:none;">&nbsp; &nbsp;</span>]]</div>[[Image:{{{image}}}|{{{width}}}|{{{title|{{{link}}}}}}]]</div></includeonly><noinclude>
<includeonly><div style="position:relative; width:{{{width}}}; height:{{{height}}}; overflow:hidden;"><div style="position:absolute; font-size:{{{height}}}; overflow:hidden; line-height:{{{height}}}; letter-spacing:{{{width}}};">[[{{{link}}}|<span title="{{{title|{{{link}}}}}}" style="text-decoration:none;">&nbsp; &nbsp;</span>]]</div>[[Image:{{{image}}}|{{{width}}}|{{{title|{{{link}}}}}}]]</div></includeonly><noinclude>
Linked Image:
Linked Image:
{{Click|width=154px|height=85px|image=Wiki.png|link=Main Page|title=Logo}}
{{Click|width=154px|height=85px|image=WikiXmas.png|link=Main Page|title=Logo}}


This template attempts to superimpose an invisible link on an image.  It doesn't work in [[w:Safari (web browser)|Safari]], in text-only browsers, and in screen readers for the disabled,[http://en.wikipedia.org/w/index.php?title=Template_talk:Cquote&diff=93997169&oldid=93862270] and possibly other situations.  The technique of using [[w:Cascading Style Sheets|CSS]] to change page content also completely breaks an article's [[w:web accessibility|web accessibility]] by contravening a [[w:WAI|WAI]] priority-one checkpoint.[http://www.w3.org/TR/WAI-WEBCONTENT/#tech-order-style-sheets]
This template attempts to superimpose an invisible link on an image.  It doesn't work in [[wikipedia:Safari (web browser)|Safari]], in text-only browsers, and in screen readers for the disabled,[http://en.wikipedia.org/w/index.php?title=Template_talk:Cquote&diff=93997169&oldid=93862270] and possibly other situations.  The technique of using [[w:Cascading Style Sheets|CSS]] to change page content also completely breaks an article's [[w:web accessibility|web accessibility]] by contravening a [[w:WAI|WAI]] priority-one checkpoint.[http://www.w3.org/TR/WAI-WEBCONTENT/#tech-order-style-sheets]


'''Do not use this template unless absolutely necessary.'''
'''Do not use this template unless absolutely necessary.'''
 
[[category:Templates]]
</noinclude>
</noinclude>
[[category:Templates]]

Latest revision as of 08:41, 23 December 2010

Linked Image:

Error creating thumbnail: Unable to save thumbnail to destination


This template attempts to superimpose an invisible link on an image. It doesn't work in Safari, in text-only browsers, and in screen readers for the disabled,[1] and possibly other situations. The technique of using CSS to change page content also completely breaks an article's web accessibility by contravening a WAI priority-one checkpoint.[2]

Do not use this template unless absolutely necessary.