This page is protected against editing.

Template:Duplicate

From Wikimedia Commons, the free media repository
(Redirected from Template:Duplicated)
Jump to navigation Jump to search
This file is an exact duplicate or scaled-down version of: [[:Template:]]
There should be only one exact copy of a file.
After replacing all instances with the preferred file, this file will be speedily deleted.

This file has been tagged by Jarekt (talk · contribs · count · global contribs)

Alemannisch | Bahasa Indonesia | Bahasa Melayu | Boarisch | català | čeština | dansk | Deutsch | Deutsch (Sie-Form)‎ | English | español | euskara | français | galego | hrvatski | italiano | Lëtzebuergesch | magyar | Nederlands | norsk bokmål | Plattdüütsch | polski | português | português do Brasil | Schweizer Hochdeutsch | sicilianu | slovenčina | slovenščina | suomi | svenska | Tiếng Việt | Türkçe | Zazaki | беларуская | беларуская (тарашкевіца) | македонски | русский | српски / srpski | татарча/tatarça | українська | हिन्दी | বাংলা | മലയാളം | 한국어 | 日本語 | 中文(简体)‎ | 中文(繁體)‎ | עברית | العربية | فارسی | +/−


Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Duplicate/doc.
Warning If you want to rename a file, please don't upload it again under a new name but use {{Rename}} instead.

Use this template on the media page that should be deleted, to tag exact duplicates.

The template automatically sets the following categories: Duplicate

Usage

{{Duplicate |1= |2= |3= }}

Or use the shorthand
{{dup|… parameters as described …}}

Template parameters

ParameterDescriptionDefaultStatus
1
file
FileFile to be kept (without the "File:" prefix).emptyrequired
2ReasonReason for deletion of this copy (not the other one), e. g. "later upload", "unsuitably scaled", etc.emptyoptional
3
user
UserName of tagging user.{{REVISIONUSER}}suggested
categoryCategoryCategory override[[Category:Duplicate|{{REVISIONTIMESTAMP}}]]optional
<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

Use this template on the media page that should be deleted, to tag exact duplicates.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
File1 file

File to be kept (without the "File:" prefix).

Filerequired
Reason2

Reason for deletion of this copy (not the other one), e. g. "later upload", "unsuitably scaled", etc.

Contentoptional
User3 user

Name of tagging user.

Default
{{REVISIONUSER}}
Usersuggested
Categorycategory

Category override

Default
[[Category:Duplicate|{{REVISIONTIMESTAMP}}]]
Lineoptional

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

Example

{{Duplicate|Example}}

renders as:

This file is an exact duplicate or scaled-down version of: Template:Example
There should be only one exact copy of a file.
After replacing all instances with the preferred file, this file will be speedily deleted.

This file has been tagged by Jarekt (talk · contribs · count · global contribs)

Alemannisch | Bahasa Indonesia | Bahasa Melayu | Boarisch | català | čeština | dansk | Deutsch | Deutsch (Sie-Form)‎ | English | español | euskara | français | galego | hrvatski | italiano | Lëtzebuergesch | magyar | Nederlands | norsk bokmål | Plattdüütsch | polski | português | português do Brasil | Schweizer Hochdeutsch | sicilianu | slovenčina | slovenščina | suomi | svenska | Tiếng Việt | Türkçe | Zazaki | беларуская | беларуская (тарашкевіца) | македонски | русский | српски / srpski | татарча/tatarça | українська | हिन्दी | বাংলা | മലയാളം | 한국어 | 日本語 | 中文(简体)‎ | 中文(繁體)‎ | עברית | العربية | فارسی | +/−

See also

Localization

Alemannisch | Bahasa Indonesia | Bahasa Melayu | Boarisch | català | čeština | dansk | Deutsch | Deutsch (Sie-Form)‎ | English | español | euskara | français | galego | hrvatski | italiano | Lëtzebuergesch | magyar | Nederlands | norsk bokmål | Plattdüütsch | polski | português | português do Brasil | Schweizer Hochdeutsch | sicilianu | slovenčina | slovenščina | suomi | svenska | Tiếng Việt | Türkçe | Zazaki | беларуская | беларуская (тарашкевіца) | македонски | русский | српски / srpski | татарча/tatarça | українська | हिन्दी | বাংলা | മലയാളം | 한국어 | 日本語 | 中文(简体)‎ | 中文(繁體)‎ | עברית | العربية | فارسی | +/−

This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Duplicate/layout.

To add your language to the list of languages supported by this template, please copy the code of Template:Duplicate/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.



Note for programmers: This template calls Template:Nuke, which adds the small garbage can icon for administrators.