Template:CSS Crop
{{CSS crop}} creates a crop of a graphics object (like a location map) which cannot be cropped with {{CSS image crop}}. The syntax and code are derivative of {{CSS image crop}}.
Usage
{{CSS crop
|Content = <!-- The unadorned graphics object (typically a location map with border=infobox)-->
|bSize = <!-- The Base object width in pixels (the object we are cropping on)-->
|cWidth = <!-- Cropped Width in pixels-->
|cHeight = <!-- Cropped Height in pixels-->
|oTop = <!-- Offset Top in pixels, optional and defaults to 0 when omitted-->
|oLeft = <!-- Offset Left in pixels, optional and defaults to 0 when omitted-->
|Location = <!-- 'right', 'left', 'center' or 'none'. Determines placement of the cropped object on the page
Defaults to 'right' when description is provided (as is default for thumb images)
When description is blank, location on left (as is default for non-thumbs)-->
|Description = <!-- Description (will render out using thumbnail class)-->
|magnify-link = <!-- The page to be linked by the magnify icon.-->
}}
Examples
Consider the following uncropped location map