Template:Transform/doc
Jump to navigation
Jump to search
This template uses css transform to either flip horizontally, mirror vertically, rotate, or scale. 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.
Usage
- flip = y / yes
Flips element horizontally.
{{transform|[[File:Diverman.png]]|flip=y}}
→
- mirror = y / yes
Mirrors element vertically.
{{transform|[[File:Cinder String.png]]|mirror=y}}
→
- rotation = #
Rotation in degrees (clockwise). For best results, use only 90, 180, and 270 degree rotations.
{{transform|{{item|mode=image|Blacksmith}}|rotation=90}}
→
- scale = #
Scales the image. 1=full size, .5=50%
{{transform|{{item|mode=image|Confused Zombie}}|scale=.75}}
→