Difference between revisions of "Template:Img"

From xat wiki
Jump to: navigation, search
m
m
Line 7: Line 7:
 
*'''float''' - float ''right'' or ''left'', defaults to right (optional)
 
*'''float''' - float ''right'' or ''left'', defaults to right (optional)
 
*'''description''' - short description of the image
 
*'''description''' - short description of the image
*'''link''' -  
+
*'''link''' - where thumbnail links to, should not be set for regular thumbnails (optional)
  
 
Example:
 
Example:

Revision as of 17:44, 23 November 2015

Image thumbnails for external images.

Attributes:

  • image - direct link to an image you're going to use
  • width - sets the width of an image thumb in pixels, defaults to 275px and should be kept that way, unless the image is smaller than that.
  • float - float right or left, defaults to right (optional)
  • description - short description of the image
  • link - where thumbnail links to, should not be set for regular thumbnails (optional)

Example: {{img|image=http://i.imgur.com/iwI7tfI.png|float=left|description=A screenshot}}

Will produce: