https://wiki.tiplanet.org/index.php?title=Mod%C3%A8le:Image/doc&feed=atom&action=history Modèle:Image/doc - Historique des versions 2024-03-29T13:46:10Z Historique des versions pour cette page sur le wiki MediaWiki 1.40.0 https://wiki.tiplanet.org/index.php?title=Mod%C3%A8le:Image/doc&diff=363&oldid=prev Adriweb : 1 version 2012-09-03T13:52:10Z <p>1 version</p> <p><b>Nouvelle page</b></p><div>{{Documentation subpage}}<br /> &lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&gt;<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 /> * &lt;nowiki&gt;{{Image | Example.svg | 20px}}&lt;/nowiki&gt; → {{Image | Example.svg | 20px}}<br /> * &lt;nowiki&gt;{{Image | File:Example.svg | 20px}}&lt;/nowiki&gt; → {{Image | File:Example.svg | 20px}}<br /> * &lt;nowiki&gt;{{Image | :File:Example.svg | 20px}}&lt;/nowiki&gt; → {{Image | :File:Example.svg | 20px}}<br /> * &lt;nowiki&gt;{{Image | [[File:Example.svg|30px]] | 20px}}&lt;/nowiki&gt; → {{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 /> * &lt;nowiki&gt;{{Image | Example.svg | 20px | thumb | none | Foo}}&lt;/nowiki&gt; → {{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 &quot;=&quot;:<br /> * &lt;nowiki&gt;{{Image | Example.svg | 2= 20px{{!}}link=Main Page}}&lt;/nowiki&gt; → {{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 /> &lt;includeonly&gt;<br /> &lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&gt;<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 /> &lt;/includeonly&gt;</div> Adriweb