[visa] [redigera] [rensa sidcachen]

Dokumentation


Användning redigera

Overview redigera

This is a translation of the de:Vorlage:Imagemap from the german Wikipedia. It is more powerful than the normal Imagemap-Template. ImageMap for linking image to other address rather than to its own image description page only.

Format redigera

{{Imagemap
 | image= 
 | width= 
 | link= 
 | Alt= 
 | tooltip= 
 | form= 
 | desc= 
}}

oder

{{Imagemap | image | link | Alternativtext | width}}

Parameters redigera

Long redigera

Parameters which are duty are written in big letters.

image The image, which should be shown. Without image:.
width The width which should be used (also possible: frameless und upright).
link The Lemma or the page, which should be linked . If empty, the description of the picture will be used. If form (see later) is used, no link will be used.

The link also can be weblink, if he starts with http://, https://, ftp:// oder ftps://.

Alt Alternativtext which should bei used. Alternativtext. If empty, tooltip or link will be used. This one should be used anyway!
tooltip tooltip-text which is shown, when the cursor is a certain time on the picture. If empty, link will be used.
form form like in MediaWiki Extension ImageMap, section „Syntax description“ explained (poly, rect und circle). See also: ImageMapEdit.
desc Where should the logo that links to the description page of the picture be placed? Possible data: top-left, top-right, bottom-left, bottom-right, none. If nothing is given bottom-left will be used.
inline Please write x , if the image will be placed in continuous text.

Short redigera

In the short form just write: {{Imagemap|image|link|Alternativtext|width}} Only the first paramter is needed, but it is better to use the first three anyway.

Examples redigera

{{Bildmap|link={{TALKPAGENAME}}|image=Example.jpg|width=frameless|Alt=Exampleimage|tooltip=Zur Disk}}
Exampleimage
Exampleimage
{{Bildmap|Example.jpg|Test}}
Test
Test
{{Bildmap|link=http://www.example.org/|image=Example.jpg|width=frameless}}
http://www.example.org/
http://www.example.org/

Se även redigera