Modèle:Click

De Wikirota
Révision datée du 28 janvier 2017 à 04:24 par WikiSysopEn1 (discussion | contributions) (1 révision importée)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
[[Image:{{{image}}}|{{{width}}}]]
[[{{{link}}}|   ]]

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, 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.[1] Please try to avoid using this template unless absolutely necessary.

 {{Click |
 | image = Nuvola apps browser.png
 | link = :Category:Geography
 | width = 40px
 | height = 40px
 }}

This template can also be used to produce images that are not clickable, by using as the link parameter:

   link = Modèle:Click

The cursor can also be changed to appear normal when over the image by using styles

<div style="cursor:default;">
{{Click |
| image = Nuvola mimetypes info.png 
| Link = {{FULLPAGENAME}}}}
| width = 30px 
| height = 30px
}}