Template:Rename
It has been suggested by ExampleUser (talk · contribs · count · global contribs) that this media object be renamed to “File:ExampleNonExisting.jpg” or another more suitable name for the following reason:
Difference in words:
− | + | File:ExampleNonExisting.jpg |
− | + | File:ExampleNonExisting.jpg |
New names that include a slash (/) are invalid; please do not use them. This request will be dealt with by an administrator or file mover. Please check if the rename meets one of the valid reasons before you move the file.
- Problem/Question: I found an error in the template and my default language is not English. What can I do?
- Answer: The translation into your language (
en
) might be outdated. Compare to Template:Rename/i18n, please.
- Answer: The translation into your language (
Used to request file rename, so this template is for media only.
- For categories use {{Move}}. For any other pages, use the "move" tab (Special:MovePage/FULLPAGENAME) or {{Edit request}}.
- If you have already uploaded the same file under a new name, use {{Duplicate|the new name}} instead of {{Rename}}.
The template automatically sets the following categories:
- Category:Media requiring renaming, if at least the first parameter is given.
- Category:Incomplete media renaming requests, if the request is incomplete.
- Category:Media renaming requests needing target, if without the first or any parameter.
Usage
{{Rename |1= |2= |3= |user= }}
Named parameter (3= or reason=) must be used when an equal sign appears somewhere in the text of the reason given (as for example, inside a link).
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | new name | new_name.ext − New file name. (See Commons:File naming for general guidelines.) New names that include / are invalid; please do not use them. | empty | required |
2 rationale | rationale | A number between 1 and 6 (see Template:File renaming reasons/i18n) | empty | required |
3 reason | reason | Explain how your request meets one of the criteria of the file renaming reasons. If the file name is misleading, make sure to correct the description in the {{Information}} template as well. | empty | required |
user | requestor | The requestor's user name / Last user who edited the page. – Not a signature. | empty | optional |
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
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 Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information Used to request file rename.
|
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
Placement: At the top of the page
See also
Localization
This template makes use of {{Autotranslate}} and the translate extension. The layout of the template can be found under Template:Rename/layout.
Examples
{{rename|New name.jpg|3|Misspelled.}}
This creates:
It has been suggested by Jarekt (talk · contribs · count · global contribs) that this media object be renamed to “File:New name.jpg” or another more suitable name for the following reason:
Difference in words:
− | + | File:New name.jpg |
− | + | File:New name.jpg |
New names that include a slash (/) are invalid; please do not use them. This request will be dealt with by an administrator or file mover. Please check if the rename meets one of the valid reasons before you move the file.
- and tags the file as Category:Media requiring renaming.
{{rename|A better name.png}}
(please do not omit parameter 2 and 3)
This creates:
It has been suggested by Jarekt (talk · contribs · count · global contribs) that this media object be renamed to “File:A better name.png” or another more suitable name for the following reason:
This request is incomplete! You need to provide a value between 1 and 6 which corresponds to the file renaming criteria!
Difference in words:
− | + | File:A better name.png |
− | + | File:A better name.png |
New names that include a slash (/) are invalid; please do not use them. This request will be dealt with by an administrator or file mover. Please check if the rename meets one of the valid reasons before you move the file.
- and tags the file as Category:Media requiring renaming.
{{rename|A lousy name}}
(please do not use a lousy name)
This creates:
It has been suggested by Jarekt (talk · contribs · count · global contribs) that this media object be renamed to “File:A lousy name” or another more suitable name for the following reason:
This request is incomplete! You need to provide a value between 1 and 6 which corresponds to the file renaming criteria!
Difference in words:
− | + | File:A lousy name |
− | + | File:A lousy name |
New names that include a slash (/) are invalid; please do not use them. This request will be dealt with by an administrator or file mover. Please check if the rename meets one of the valid reasons before you move the file.
- and tags the file as Category:Incomplete media renaming requests.
{{rename}}
(please do not omit parameters 1 and 2 and 3)
This creates (by calling {{Rename needs target}}):
This file has been tagged for renaming by Jarekt (talk · contribs · count · global contribs)
You can help by suggesting a new name. To do this use the template like this:
- {{rename|new name.jpg|{{{8}}}}}
This media object can not yet be renamed because:
- the template {{Rename}} does not specify a target media name or
- the requested file extension is different from the current file extension or
- a file already exists at the target media name.
Please help fix this by:
- checking if the rename meets one of the valid reasons on Commons:File renaming:
- removing this template if a rename is not appropriate or
- replacing this template with {{Rename|target name|numeric reason|text reason for rename}}
Ensure the target has the same extension, and that there is no image there.
Admins can also do the rename now by
- check if file is used and
- add {{Universal replace|Rename|newimage|reason=[[Commons:File renaming|File renamed]]}} to CommonsDelinker’s commands (Quick adding) (remember to replace "newimage" with the actual name)
- clicking here to perform the move (don't forget to remove this template after that).
- and tags the file as Category:Media renaming requests needing target.