Template:CropImage

From TheKolWiki
Revision as of 18:02, 16 August 2014 by Fig bucket (Talk | contribs) (actually, make that more flexible)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
  • style= if you want to add CSS stylings to the outermost div

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