Шаблон:HoverImage

Материал из Аэроскан Сервис
Перейти к: навигация, поиск

[[Image:{{{1}}}]]

[[Image:{{{2}}}]]

Шаблон:Clear

Documentation

This template displays an image which is replaced by another, previously hidden image when the reader hovers over it (e.g. if visual users place their mouse over the image).

Bear in mind that the casual reader may not see the hidden image, so use of this template may result in hiding information from the reader (usually a bad thing!). so this template should be used sparingly. In particular, you should avoid superimposing two completely unrelated images, as the hidden image

A reasonable use is to have two very similar images: a conventional one, and one with a particular part of the image highlighted. In this instance, a casual reader will see the normal image, but closer inspection will It is intended

Examples

Markup Display
The famous picture of {{HoverImage|Lenin_addressing_the_troops_-_May_5_1920_-_Altered.jpg|RedSqlenintrotsky.jpg|200px|HoverPosTop=20px}} Hover over the image to see the Here is some surrounding text

[[File:Lenin_addressing_the_troops_-_May_5_1920_-_Altered.jpgШаблон:!200px]]

Шаблон:Lorem

Here is some surrounding text
{{HoverImage|Gerbera_pink.jpg|Nymphaea tetragona.jpg|200px|Pink|Waterlily|thumb}}
{{Lorem}}
Here is some surrounding text

Шаблон:Lorem

Here is some surrounding text
{{HoverImage|Gerbera_pink.jpg|Nymphaea tetragona.jpg|200px|Pink|Waterlily|thumb|none}}
{{Lorem}}
Here is some surrounding text

Шаблон:Lorem

Limitations

  • No more than 8 additional parameters after the image names. This should be enough for all the image options
  • This template my need updating if the image syntax changes (e.g. more named parameters allowed)