Difference between revisions of "Template:External image"

From AmtWiki
m (Fixed docs)
(Added some more docs)
 
Line 9: Line 9:
 
}}</nowiki></code>
 
}}</nowiki></code>
  
The only required param is image.  All of the others can be left blank.
+
The only required param is image.  All of the others can be left blank.  This template can't be used to resize external images up, only to scale them down.  Specifying a size larger than the image size will just display it at its largest size.  Images scaled using this template are scaled down by the reader's browser and not by Amtwiki.  This means that they will take just as long to load as they would have before being scaled down.
 
</noinclude>
 
</noinclude>

Latest revision as of 15:34, 27 May 2014

{{{image}}}

Category:Pages with external images

Usage:

{{external image
|width=
|height=
|float=
|image=
}}

The only required param is image. All of the others can be left blank. This template can't be used to resize external images up, only to scale them down. Specifying a size larger than the image size will just display it at its largest size. Images scaled using this template are scaled down by the reader's browser and not by Amtwiki. This means that they will take just as long to load as they would have before being scaled down.