Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Rotate/doc.

This template tags images needing rotation to alert SteinsplitterBot to fix them.

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

Usage

{{Rotate |1= }}

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

ParameterDescriptionDefaultStatus
1rotation degree(clockwise) angle expressed in degrees (e.g. 90 for rotate 90° clockwise). There is a list of possible values. Any other angle will not be rotated by the bot.
-90
90
180
270
rotation by degrees
0
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
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.
emptyrequired
nobot
English: no bot-rotation
Deutsch: Keine Bot-Rotation
Set to “true” if the image can't be rotated by botemptyoptional
reason
English: Reason
Deutsch: Grund
Reason why to be rotatedemptyoptional
categoryCategoryoverwrites standard category[[Category:Images requiring rotation]]optional
Template data
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

Tags images needing rotation to alert SteinsplitterBot to fix them. Categorizes into “Category:Images requiring rotation”. Parameters “nobot” and “reason” are only used by the bot. Do not use with sound files, text documents or video files.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
rotation degree1

clockwise angle expressed in degrees (e.g. 90 for rotate 90° clockwise). Possible values are: -90 / 90 / 180 / 270 / 0; 0 – This could be useful if the thumbnail displays right but not the full resolution. Please do not use this if possible… / 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.

Suggested values
-90 90 180 270 0 reset resetexif
Numberrequired
Categorycategory

overwrites standard category

Default
[[Category:Images requiring rotation]]
Lineoptional
<div class="description mw-content-ltr en" dir="ltr" lang="en"><span class="language en" title="English"><b>English&#58; </b></span> no bot-rotation</div> <div class="description mw-content-ltr de" dir="ltr" lang="de"><span class="language de" title="German"><b>Deutsch&#58; </b></span> Keine Bot-Rotation</div>nobot

Set to “true” if the image can't be rotated by bot

Suggested values
true
Lineoptional
<div class="description mw-content-ltr en" dir="ltr" lang="en"><span class="language en" title="English"><b>English&#58; </b></span> Reason</div> <div class="description mw-content-ltr de" dir="ltr" lang="de"><span class="language de" title="German"><b>Deutsch&#58; </b></span> Grund</div>reason

Reason why to be rotated

Lineoptional

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

Example

{{Rotate|90}}

renders as:

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.


Clockwise rotation visualised

Original 90 180 270 / -90