Last modified on 24 June 2012, at 20:27

Template:Rename

Documentation icon 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= }}

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.)
  • Include the media file's extension.
  • New names that include / are invalid; please do not use them.
empty required
2 Rationale: A number between 1 and 7.
  • 1. Uploader requested
  • 2. Fix meaningless names
  • 3. Correct misleading names into accurate ones
  • 4. Correct scientific names to binomial ones
  • 5. Correct obvious errors
  • 6. Harmonize file names of a set of images to ease their usage in templates
  • 7. Remove pejorative / offensive language
empty required
3 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 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

Examples

  • {{rename|New name.jpg|5|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.