Template:CropImage

From TheKolWiki
Revision as of 17:53, 16 August 2014 by Fig bucket (Talk | contribs) (add an inline attribute)

Jump to: navigation, search


A template to make cropped images from a bigger image (mostly taken and stripped down from Wikipedia).

Arguments:

  • image= original image
  • size= original image width
  • location=center for centering
  • width= cropped width
  • height= cropped height
  • top= vertical offset of cropping
  • left= horizontal offset of cropping
  • link= image link
  • inline=1 if you want it inline-block style

You can also include an overlay image:

  • overlay= overlay image
  • oTop= top of overlay image relative to the original image
  • oLeft= horizontal offset of overlay image relative to the original image