If a file has a bad name, please don't upload it again under a new name but use Template:T instead.
This template will categorize into Category:Duplicate - bad name.

This template should only be used for files. For categories see Commons:Categories for discussion.

To create a new language version of this template, create a new subpage and use this code:

{{Bad name/layout
|file={{{1|}}}
|text=This {{#switch:{{NAMESPACE}}|Template=template|Category=category|File=file|file}} has an  '''[[:Category:Duplicate|incorrect name]]'''. {{#if:{{{1|}}}|<br /> A correctly named duplicate exists at: <p><center>'''<span class="bad_name_of">[[:{{#ifexist:{{NAMESPACE}}:{{{1}}}|{{NAMESPACE}}:{{{1}}}|{{{1}}}}}]]</span>'''</center>|<br /><span style="color:#a00;">'''Error: Please specify the correctly named image.'''</span>}}

This file qualifies for [[:Category:Candidates for speedy deletion|speedy deletion]].
----
* Please make sure this template is on the {{#switch:{{NAMESPACE}}|Template=template|Category=category|File=file|file}} that should be deleted - inversions are frequent.
* Please use {{tlp|bad name|''correctly named image''}} and make sure the correctly named image appears here on the right.
*  Please use {{tlp|duplicate|''correctly named image''}} instead if you are ''not'' the uploader of this file, or the file is already used on other projects ([{{fullurl:tools:~daniel/WikiSense/CheckUsage.php|w=_100000&i=Image:{{PAGENAMEE}}}} check usage]) ([{{fullurl:tools:~daniel/WikiSense/CheckUsage.php|w=_100000&i=Image:{{PAGENAMEE}}&w=_wp_20}} speedy check])
----
;For administrators<nowiki>:</nowiki>
:Follow the directions on [[Commons:Deletion guidelines]]
:1. <big>Do not delete this page until [{{fullurl:tools:~daniel/WikiSense/CheckUsage.php|w=_100000&i=Image:{{PAGENAMEE}}}} all uses] have been replaced!</big>
:2. Add to [{{fullurl:User:CommonsDelinker/commands|action=edit&section=new}} CommonsDelinker's commands] (only use for images that are ''exact'' duplicates):
::{{tlx|universal replace|{{PAGENAME}}|{{{1|Example}}}|reason{{=}}(incorrectly named) duplicate}}
:3. '''[{{fullurl:{{FULLPAGENAMEE}}|action=delete&wpReason=(incorrectly+named)+duplicate+of+{{urlencode:[[:{{#ifexist:{{NAMESPACE}}:{{{1}}}|{{NAMESPACE}}:{{{1}}}|{{{1}}}}}]]}}}} Delete] this image.'''</small>
|lang={{subst:SUBPAGENAME}}
}}<noinclude>
{{translated tag|marker template}}
</noinclude>