This page is protected against editing.

Template:Rotate

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Rotate/doc.

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

{{Rotate|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 SteinsplitterBot 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 |1= }}

Template parameters

ParameterDescriptionDefaultStatus
1
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
emptyrequired
nobotno bot-rotationThe image can't be rotated by botemptyoptional
reasonReason why to be rotatedemptyoptional

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

Localization

čeština  dansk  Deutsch  English  español  français  galego  hrvatski  italiano  magyar  Nederlands  Plattdüütsch  polski  português  português do Brasil  sicilianu  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

Expected image Clockwise rotation visualised
90° 180° 270° / -90°

Tag images needing rotation to alert SteinsplitterBot to fix them, by adding: {{Rotate|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 SteinsplitterBot 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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
rotation degree1 degree

(clockwise) angle expressed in degrees (e.g. for rotate 90°). Possible values are: -90, 90, 180 or 270 degrees

Suggested values
-90 90 180 270
Unknownoptional
categorycategory

adds image to a given category

Default
[[Category:Images requiring rotation]]
Example
[[Category:Images requiring rotation from Federal Archive]]
Auto value
[[Category:Images requiring rotation]]
Unknownoptional