Pentru a putea vota, modifica pagini sau abona la modificările unei pagini trebuie să fiți autentificați. Cu această ocazie scăpați și de acest mesaj deranjant.

Format:Click/doc: Diferență între versiuni

De la l10n.ro
Salt la: navigare, căutare
m (Pagină nouă: <noinclude>{{Documentation subpage}}</noinclude> ==Usage== Usage format: <nowiki>{{Click | image=myimage.png | link=PageName | width=10px | height=10px}}</nowiki> This template att...)
 
 
Linia 18: Linia 18:
 
* [http://en.wikipedia.org/wiki/Template:Click Template:Click on wikipedia] where we got this from.
 
* [http://en.wikipedia.org/wiki/Template:Click Template:Click on wikipedia] where we got this from.
 
* [[Mediazilla:539|<span title="ASSIGNED: Allow images that link somewhere other than the image page">Bug 539</span>]] - Feature request to allow linked images without nasty CSS.
 
* [[Mediazilla:539|<span title="ASSIGNED: Allow images that link somewhere other than the image page">Bug 539</span>]] - Feature request to allow linked images without nasty CSS.
 +
 +
[[Categorie:Articole de tradus]]

Versiunea curentă din 20 noiembrie 2009 16:12

This subpage contains documentation, categories and other content that is not part of the template.
To view the format page itself, see Format:Click/doc.

Usage

Usage format:

{{Click | image=myimage.png | link=PageName | width=10px | height=10px}}

This template attempts to superimpose an invisible link on an image, such that clicking on the image does not take you to the image description page (normal behaviour).

It's useful for small icons/logos which are representative of an article, and which a user might click on expecting to be taken to that article. Here we are using it on the Main Page for example. It's use should minimised because of the following problems.

Problems

It doesn't work 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]

Extension:ImageMap can achieve the same effect and much more.

See also