Jump to content

Template:Rename

This page is protected against editing.
From Wikimedia Commons, the free media repository

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:

Criterion 1 (At the original uploader’s request.) · <Reason specified here>

Difference in words:
Template:Rename
+
File:ExampleNonExisting.jpg
Difference in characters:
Template:Rename
+
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.

Template documentation[ view · edit · history · purge ]
This documentation is transcluded from Template:Rename/doc.

Used to request file rename, so this template is for media only.

The template automatically sets the following categories:

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

ParameterDescriptionDefaultStatus
1new namenew_name.ext − New file name. (See Commons:File naming for general guidelines.) New names that include / are invalid; please do not use them.emptyrequired
2
rationale
rationaleA number between 1 and 6 (see Template:File renaming reasons/i18n)emptyrequired
3
reason
reasonExplain 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.emptyrequired
userrequestorThe requestor's user name / Last user who edited the page. – Not a signature.emptyoptional
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

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
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

Used to request file rename.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
new name1

new_name.ext − New file name. (See Commons:File naming for general guidelines.) New names that include “/” are invalid; please do not use them.

Filerequired
rationale2 rationale

A number between 1 and 6 (see Template:File renaming reasons/i18n)

Numberrequired
reason3 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.

Contentrequired
requestoruser

The requestor's user name / Last user who edited the page. – Not a signature.

Useroptional

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

Alemannisch  Bahasa Indonesia  British English  Canadian English  català  čeština  dansk  Deutsch  English  español  français  galego  hrvatski  italiano  lietuvių  magyar  Nederlands  occitan  polski  português  português do Brasil  română  sicilianu  slovenčina  slovenščina  suomi  svenska  Tiếng Việt  Ελληνικά  беларуская  беларуская (тарашкевіца)  български  македонски  русский  српски / srpski  українська  հայերեն  हिन्दी  বাংলা  മലയാളം  ဘာသာ မန်  မြန်မာဘာသာ  ไทย  한국어  日本語  中文  עברית  العربية  فارسی  +/−

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:

You need to input a value between 1 and 6 which corresponds to the file renaming criteria. Misspelled.

Difference in words:
Template:Rename
+
File:New name.jpg
Difference in characters:
Template:Rename
+
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:
Template:Rename
+
File:A better name.png
Difference in characters:
Template:Rename
+
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:
Template:Rename
+
File:A lousy name
Difference in characters:
Template:Rename
+
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.

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.

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