Template:Transform/doc

This template uses css transform to either flip horizontally, mirror vertically, or rotate. It can be used on an image, template, text, and/or other elements. It is mainly intended to transform images, or templates that display images alone, however any text or other included elements will also display transformed.

The transformation happens at the center of the whole object and its effective dimensions will retain the original values of the object as if untransformed, so you may adjust the position and padding to avoid unwanted overlapping. Use the  parameter to specify the CSS style. The 'display' CSS property is specified separately via the  parameter.

'''This template does not support IE8 or older browsers. IE8 requires cumbersome calculating of matrices. You may implement it into this template if you know how to translate the formula into Lua.'''

Usage
Element to be transformed, for example: or  Flips element horizontally. Mirrors element vertically. Rotation in degrees (clockwise). For best results, use only 90, 180, and 270 degree rotations. Scales the image. 1=full size, .5=50%
 * Unnamed Parameter 1
 * flip = y / yes
 * mirror = y / yes
 * rotation = #
 * scale = #