Template:Rename

From Wikimedia Commons, the free media repository

(Redirected from Template:Rename image)
Jump to: navigation, search

[edit]

Documentation

Media bearing this template are added to Category:Media requiring renaming if at least one parameter is given (which should be the desirable filename). Used without any parameter, the template tags the file in Category:Media renaming requests needing target.


[edit] Usage

Add the following anywhere on the File: page that needs renaming:

{{rename|new name.ext|(optionally plus a reason)}}

  • This is for media only. For galleries, categories, and templates use {{move}}.
  • If you have already uploaded the same file under a new name, use {{bad name}} instead of {{rename}}.
  • Do not include the "File:" prefix, but do include the media file's extension.
  • Do not use named parameters 1= and 2=.
  • New names that include / are invalid; please do not use them

[edit] Examples

  • {{rename|New name.jpg|Misspelled.}} creates:

and tags the file as Category:Media requiring renaming.
  • {{rename|A better name.png}} creates:

and tags the file as Category:Media requiring renaming.

{{rename}} creates (by calling {{rename needs target}}):

and tags the file as Category:Media renaming requests needing target

[edit] See also