Template:Rename
This documentation is transcluded from Template:Rename/doc.
- 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/en, 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.
Contents
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).
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 |
new_name.ext − New file name. (See Commons:File naming for general guidelines.)
|
empty | required | |
2 |
Rationale: A number between 1 and 6. | empty | required | |
3 |
Reason − Explain how your request meets one of the criteria of the file renaming reasons
|
empty | required | |
user |
The requestor's user name / Last user who edited the page - Not a signature. | empty | 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}}
Localization
Беларуская | Беларуская (тарашкевіца) | বাংলা | Català | Čeština | Deutsch | Deutsch (Sie-Form) | Ελληνικά | English | Canadian English | Español | فارسی | Suomi | Français | Galego | עברית | Hrvatski | Magyar | Հայերեն | Bahasa Indonesia | Italiano | 日本語 | Lietuvių | Македонски | മലയാളം | မြန်မာဘာသာ | Nederlands | Occitan | Polski | Português | Português do Brasil | Română | Русский | Sicilianu | Slovenčina | Slovenščina | Српски / srpski | Svenska | Українська | Tiếng Việt | 中文 | 中文(简体) | 中文(繁體) |
This template makes use of {{Autotranslate}} and the translate extension.
Examples
{{rename|New name.jpg|3|Misspelled.}}
This creates:
-
-
-
-
- and tags the file as Category:Media requiring renaming.
-
-
-
{{rename|A better name.png}}
(please do not omit parameter 2 and 3)
This creates:
-
-
-
-
- and tags the file as Category:Media requiring renaming.
-
-
-
{{rename|A lousy name}}
(please do not use a lousy name)
This creates:
-
-
-
-
- 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}}):
-
-
-
-
- and tags the file as Category:Media renaming requests needing target.
-
-
-