https://wiki.tiplanet.org/index.php?title=Mod%C3%A8le:Image/doc&feed=atom&action=historyModèle:Image/doc - Historique des versions2024-03-29T13:46:10ZHistorique des versions pour cette page sur le wikiMediaWiki 1.40.0https://wiki.tiplanet.org/index.php?title=Mod%C3%A8le:Image/doc&diff=363&oldid=prevAdriweb : 1 version2012-09-03T13:52:10Z<p>1 version</p>
<p><b>Nouvelle page</b></p><div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
This template can be used as a wrapper to simplify the inclusion of an image in a template, where users may use several different forms of syntax.<br />
<br />
It is primarily of use in templates and should '''not''' be used in articles directly (see ''File:'' syntax: [[meta:Help:File]]).<br />
<br />
=== Usage ===<br />
<br />
* <nowiki>{{Image | Example.svg | 20px}}</nowiki> → {{Image | Example.svg | 20px}}<br />
* <nowiki>{{Image | File:Example.svg | 20px}}</nowiki> → {{Image | File:Example.svg | 20px}}<br />
* <nowiki>{{Image | :File:Example.svg | 20px}}</nowiki> → {{Image | :File:Example.svg | 20px}}<br />
* <nowiki>{{Image | [[File:Example.svg|30px]] | 20px}}</nowiki> → {{Image | [[File:Example.svg|30px]] | 20px}}<br />
<br />
Note that additional parameters are (deliberately) ignored if full image syntax is passed in the first parameter. You can pass up to five parameters directly otherwise:<br />
* <nowiki>{{Image | Example.svg | 20px | thumb | none | Foo}}</nowiki> → {{Image | Example.svg | 20px | thumb | none | Foo}}<br />
<br />
You can also pass arbitrary parameters accepted by the [[WP:EIS|Image syntax]] if you separate them with {{tl|!}}. You may need to number them explicitly if they contain an equals sign "=":<br />
* <nowiki>{{Image | Example.svg | 2= 20px{{!}}link=Main Page}}</nowiki> → {{Image | Example.svg | 2= 20px{{!}}link=Main Page}}<br />
<br />
=== See also ===<br />
* {{tl|Double image}}<br />
* {{tl|Multiple image}}<br />
* {{tl|File title}}<br />
* {{tl|Linked}}<br />
* {{tl|px}}<br />
<br />
<includeonly><br />
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --><br />
[[Category:Wikipedia metatemplates]]<br />
<br />
[[es:Plantilla:Imagen]]<br />
[[id:Templat:Image]]<br />
[[ia:Patrono:Image]]<br />
[[ja:Template:Image2]]<br />
[[ro:Format:Image]]<br />
</includeonly></div>Adriweb