Template:Rename
From Wikimedia Commons, the free media repository
[edit]
DocumentationMedia 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.
Contents |
[edit] Usage
Add the following anywhere on the File: page that needs renaming:
{{rename|new name.ext|reason}}
- new name.ext
- new filename. See Commons:File naming for general guidelines
- Do not include the "File:" prefix, but do include the media file's extension.
- New names that include / are invalid; please do not use them
- reason
- optional: explain how your request meets one of the criteria of Commons:File renaming#What files should be renamed?
- If the file name is misleading, make sure to correct the description in the {{information}} template as well.
- Do not use named parameters 1= and 2=.
[edit] Scope
- This is for media only. For categories, galleries, and templates use {{move}}.
- If you have already uploaded the same file under a new name, use {{bad name}} instead of {{rename}}.
[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
- {{bad name}} - for media that has been re-uploaded under a new name and can now be deleted.
- {{move}} - for categories that need renaming
- Category:Media renaming requests needing target
- Category:Media renaming requests needing confirmation
- Commons:File renaming