Cropimage
From NEC Retro
Revision as of 10:50, 1 January 2022 by Black Squirrel (talk | contribs) (Text replacement - "Category:NEC Retro templates" to "Category:Templates")
Revision as of 10:50, 1 January 2022 by Black Squirrel (talk | contribs) (Text replacement - "Category:NEC Retro templates" to "Category:Templates")
This template will display part of an image.
Usage
{{cropimage | image= | width= | height= | x= | y= | float= | scale= | sprite= }}
- All parameters are optional except "image".
- "width" and "height" refer to the crop area (the area of the image which remains visible), not the size of the image itself. The image is not resized.
- "x" and "y" are distances from the left and top edges of the image where the visible area begins.
- "float" can be left or right.
- "scale" enlarges or shrinks the image by that factor (i.e. 2 will double the image size).
- "sprite=yes" disables filtering.