Template:Transform-rotate/doc: Difference between revisions

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
Line 21: Line 21:
|i18n-mediawiki-msg =
|i18n-mediawiki-msg =
|i18n-subpage =
|i18n-subpage =
|seealso = {{tl|Compass rose file}}
|seealso = {{tl|Compass rose file}}, {{tl|Rotate}}
|setscats =
|setscats =
|lines =
|lines =

Revision as of 15:46, 6 January 2014

Template which sets the style of the HTML <span> tag in such a way that the image in the <span> section is rotated.

Usage

{{RotateStyle |1= }}

Template parameters

ParameterDescriptionDefaultStatus
1angleRotation angle measured in degrees clockwise (°↻) from the up-pointing vector.emptyrequired

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

See also

Localization

This template is not intended to be localized.

Examples

<span style="{{RotateStyle|315}}">[[File:North Pointer.svg|20px|link=|alt=]]</span> gives ""


<span style="{{RotateStyle|45}}">[[File:Albert Einstein Head.jpg|100px]]</span> gives
""