Template:Rotate

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:Rotate/doc.

Tag images needing rotation to alert Rotatebot to fix them, by adding:

{{Rotate|90}}

or

{{Rotate|degree=90}}

Images bearing this template are automatically added to Category:Images requiring rotation, a subcategory of Category:Images for cleanup. If the parameter |degree=0/90/180/270 is added, the image will automatically be sorted in Category:Images requiring rotation by bot, and Rotatebot will rotate it. The parameters |nobot= and |reason= are only used by the bot. Do not add {{Rotate}} template at sound files, text documents or video files.

The template automatically sets the following categories: Category:Images requiring rotation or Category:Images requiring rotation by bot

Usage

{{Rotate |degree= }}

Template parameters

Parameter Description Default Status
degree
1
rotation degree (clockwise) angle expressed in degrees (e.g. for rotate 90°). Possible values are:
  • -90, 90, 180 or 270 degrees
  • 0 degrees - This could be useful if the thumbnail displays right but not the full resolution. Please do not use this if possible… MediaWiki will hopefully soon provide this automatically.
  • resetexif or reset - If your image showed up properly before the October 2011 MediaWiki-update, or the full resolution of an image looks fine (only the thumbnails are wrong), then you can use "resetexif" instead of a number to request the reset of the EXIF orientation data. However, it is advised to use the correct angle (RotateLink helps) instead.
  • any other angle will not be rotated by the bot
empty required
nobot
no bot-rotation The image can't be rotated by bot empty optional
reason
Reason why to be rotated empty optional

Additional information

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

The template is intended to be used by the following user groups: all users

See also

Commons:Rotation

Localization

Беларуская (тарашкевіца)‎ | Čeština | Dansk | Deutsch | English | Español | Français | Magyar | Italiano | 日本語 | Македонски | മലയാളം | Plattdüütsch | Nederlands | Polski | Português | Русский | Slovenščina | Svenska | Українська | 中文 | 中文(简体) | 中文(繁體) | 中文(臺灣) | +/−

This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Rotate/layout.

To add your language to the list of languages supported by this template, please copy the code of Template:Rotate/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.


Examples

Clockwise rotation visualised
90°
180°
270°

Turn 90.svg

Turn 180.svg

Turn 270.svg