Шаблон:HoverImage — различия между версиями

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
(Documentation)
Строка 10: Строка 10:
 
{{clear}}
 
{{clear}}
 
== Documentation ==
 
== Documentation ==
This template generates an image which changes when you hover over it (e.g. if visual users place their mouse over the image)
+
This template generates an image which changes when you hover over it (e.g. if visual users place their mouse over the image).
 +
 
 +
=== Examples ===
 
A simple example
 
A simple example
 
<pre>{{HoverImage|Gerbera_pink.jpg|Nymphaea tetragona.jpg|200px}}</pre>
 
<pre>{{HoverImage|Gerbera_pink.jpg|Nymphaea tetragona.jpg|200px}}</pre>
Строка 23: Строка 25:
 
* No more than 8 additional parameters after the image names. This should be enough for all the [[h:Images|image options]]
 
* No more than 8 additional parameters after the image names. This should be enough for all the [[h:Images|image options]]
 
* This template my need updating if the image syntax changes (e.g. more named parameters allowed)
 
* This template my need updating if the image syntax changes (e.g. more named parameters allowed)
 +
 
</noinclude>
 
</noinclude>

Версия 00:52, 26 февраля 2009

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

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

Шаблон:Clear

Documentation

This template generates an image which changes when you hover over it (e.g. if visual users place their mouse over the image).

Examples

A simple example

{{HoverImage|Gerbera_pink.jpg|Nymphaea tetragona.jpg|200px}}

[[File:Gerbera_pink.jpgШаблон:!200px]]

Captioned

{{HoverImage|Gerbera_pink.jpg|Nymphaea tetragona.jpg|200px|Pink|Waterlily|thumb}}


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)