Template:Retouched picture

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Applications-graphics.svg
This is a retouched picture, which means that it has been digitally altered from its original version.

Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:Retouched picture/doc.

Used to tag images that are retouched

The template automatically sets the following categories: Retouched pictures or SVG retouched pictures

Usage

{{Retouched picture |1= |editor= |orig= }}

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

Template parameters

ParameterDescriptionDefaultStatus
1Modificationssummary of the modifications made
If this required parameter should not get a value either "-" or "none" can be used
emptyrequired
editorEditorThe modifier of the image in question (with or without the "User:" prefix), for users of Commonsemptyoptional
editoffEditor(s)The modifier(s) of the image in question, e.g. [[User|user1]] & [[:en:User:user2|user2]]
While editor becomes [[User:editor|editor]], editoff is used as-it-is, e.g. {{U|user||en}}⇒user
emptyoptional
origOriginal fileThe location of the original image, if it's onwiki (i.e., can be linked to using only the filename, without [[internal link double square brackets]]; any "File:" prefix won't disturb)emptyoptional
origoffOriginal file (offwiki)The location of the original image, if it's offwiki (i.e., only linkable with [external link single square brackets])emptyoptional
topicTopicshort code or text string for a topic like c, f, m for CoA, Flag, Mapemptyoptional
Template data
<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.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

Used to tag images that are retouched

Template parameters

ParameterDescriptionTypeStatus
Modifications1

summary of the modifications made<br> <small>If this ''required parameter'' should not get a value either "-" or "none" can be used</small>

Default
empty
Example
empty
Auto value
empty
Stringrequired
Editor(s)editoff

The modifier(s) of the image in question, e.g. <code>[[User|user1]] & [[:en:User:user2|user2]]</code><br> While <tt>editor</tt> becomes [[User:editor|editor]], <tt>editoff</tt> is used as-it-is, e.g. {{U|user||en}}⇒[[:en:User:user|user]]

Default
empty
Example
empty
Auto value
empty
Useroptional
Editoreditor

The modifier of the image in question (with or without the "User:" prefix), for users of [[Special:ListUsers|Commons]]

Default
empty
Example
empty
Auto value
empty
Useroptional
Original fileorig

The location of the original image, if it's onwiki (i.e., can be linked to using only the filename, without [[internal link double square brackets]]; any "File:" prefix won't disturb)

Default
empty
Example
empty
Auto value
empty
Unknownoptional
Original file (offwiki)origoff

The location of the original image, if it's offwiki (i.e., only linkable with [external link single square brackets])

Default
empty
Example
empty
Auto value
empty
Unknownoptional
Topictopic

short code or text string for a topic like c, f, m for CoA, Flag, Map

Default
empty
Example
empty
Auto value
empty
Unknownoptional

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

Example

{{Retouched picture|none}}

renders as:

Applications-graphics.svg
This is a retouched picture, which means that it has been digitally altered from its original version.

See also

Localization

العربية | Azərbaycanca | Беларуская (тарашкевіца)‎ | বাংলা | Català | Čeština | Dansk | Deutsch | Zazaki | Ελληνικά | English | Esperanto | Español | Eesti | فارسی | Suomi | Français | Galego | עברית | Hrvatski | Magyar | Հայերեն | Italiano | 日本語 | ქართული | ភាសាខ្មែរ | 한국어 | Kurdî | Македонски | മലയാളം | Bahasa Melayu | Plattdüütsch | Nederlands | Polski | Português | Română | Русский | Slovenščina | Српски / srpski | Svenska | ไทย | Türkçe | Українська | Vèneto | 中文 | 中文(简体)‎ | 中文(繁體)‎ | 中文(台灣)‎ | Tiếng Việt‎ | +/−

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

To add your language to the list of languages supported by this template, please copy the code of Template:Retouched picture/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.