Template:Rotate

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Documentation icon Documentation[view] [edit] [history] [purge]

This documentation is transcluded from Template:Rotate/doc.

Information icon.svg This template employs some extremely complicated or esoteric features of template syntax.
Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair/revert any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the sandbox or your userspace.

Boarisch | Čeština | Deutsch | Deutsch (Sie-Form)‎ | English | Español | Français | Galego | Magyar | Italiano | Македонски | Nederlands | Polski | Português | Português do Brasil | Русский | Svenska | 中文(繁體)‎ | +/−

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.

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

Usage

{{Rotate |1= }}

Template parameters

Parameter Description Default Status
1 (clockwise) angle expressed in degrees (e.g. for rotate 90°). Same as "degree". 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 only used by the bot empty optional
reason only used by the bot 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