Template:Img: Difference between revisions

From xat wiki
No edit summary
No edit summary
Line 8: Line 8:
*'''description''' - short description of the image
*'''description''' - short description of the image
*'''link''' - where thumbnail links to, should not be set for regular thumbnails (optional)
*'''link''' - where thumbnail links to, should not be set for regular thumbnails (optional)
*'''scalable''' - value '''no''' to prevent image from scaling.


Example:
Example:

Revision as of 13:21, 30 May 2016

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)
  • scalable - value no to prevent image from scaling.

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

Will produce:

A screenshot