« Modèle:ClickToEnlarge/doc Voir l’historique

(Page créée avec « {{doc subpage}} The purpose is to provide an equivalent of the classic Thumbnail generated by the thumn mediawiki syntax, but providing a way to go direc... »)
 
Aucun résumé des modifications
 
Ligne 1 : Ligne 1 :
{{doc subpage}}
{{doc subpage}}
The purpose is to provide an equivalent of the classic Thumbnail generated by the [[File:xxxx.xxx|thumn]] mediawiki syntax, but providing a way to go directly to the enlarged version of the picture without landing in the File page (with the versions, and all non-relevant element for the targeted purpose : get a wider picture)
The purpose is to provide an equivalent of the classic Thumbnail generated by the <nowiki>[[File:xxxx.xxx|thumn]]</nowiki> mediawiki syntax, but providing a way to go directly to the enlarged version of the picture without landing in the File page (with the versions, and all non-relevant element for the targeted purpose : get a wider picture)


<pre>
<pre>

Dernière version du 27 février 2017 à 18:50

This is a documentation subpage for Modèle:ClickToEnlarge.
It contains usage information, categories and other content that is not part of the original modèle page.

The purpose is to provide an equivalent of the classic Thumbnail generated by the [[File:xxxx.xxx|thumn]] mediawiki syntax, but providing a way to go directly to the enlarged version of the picture without landing in the File page (with the versions, and all non-relevant element for the targeted purpose : get a wider picture)

{{ClickToEnlarge
|File=picture filename - mandatory
|Link=link to the enlarged picture - mandatory
|Size=size with the "px" suffix - optional, default value is 180px
|Align=left or center'' or right
}}


About alignement:

  • left provide a floating-left picture, following text will start on its immediate right. If you don't want the "floating" feature, just ignore this parameter. The picture will be aligned left, in block mode.
  • right provide a floating-right picture, following text will start on its immediate left. If you don't want the "floating" feature, add a
    template just after this template.
  • center provide a block mode centered picture. No floating effect.

exemple:

Click on this thumbnail to enlarge