Template:Rename/doc
From OpenMedia
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=}}
Or use the shorthand {{rename|The new correct name.jpg|numeric reason|Text reason for rename}}
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).
Parameters
Parameter name | Description | Default value | required or optional?
|
---|---|---|---|
parameter #1 (1) | new_name.ext − New file name. (See Commons:File naming for general guidelines.)
|
empty | required |
parameter #2 (2) | Rationale: A number between 1 and 7. | empty | required |
parameter #3 (3) | Reason − Explain how your request meets one of the criteria of Commons:File renaming#What files should be renamed?
|
empty | required |
user | The requestor's user name. E.g. {{subst:REVISIONUSER}} . Not a signature.
|
Last user who edited the page | optional |
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
- {{Move}}
- {{Duplicate}}
- {{Edit request}}
Examples
{{rename|New Name.jpg|Misspelled.}}
This creates: