Template:Compressed version

new file This image is a JPEG version of the original PNG image at File: Example.png.

Generally, this JPEG version should be used when displaying the file from Commons, in order to reduce the file size of thumbnail images. However, any edits to the image should be based on the original PNG version in order to prevent generation loss, and both versions should be updated. Do not make edits based on this version.  See here for more information.

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Compressed version/doc.

Template for labeling compressed versions of files, when a compressed version exists for the purpose of providing thumbnails. Place in the other_versions= field in the {{Information}} template. Label the archival version with {{Archival version}}.

Usage

{{Compressed version |file= |thumb= |thumblimit= }}

Template parameters

ParameterDescriptionDefaultStatus
fileFile name of the archival versionFile:Example.pngrequired
filetypeFiletype of the archival versionintelligent guessdeprecated
thumbif set to nothumb, no thumbnail of the archival version is shown in the template. Set automatically if thumblimit is set to any value.emptyoptional
thumblimitif set to any value, the text relating to filetypes which cannot produce thumbnails above COM:MAXTHUMB is displayed (texthumblimit in the language subpages, eg Template:Compressed version/en). Otherwise, the text relating to smaller size thumbnails (textreduce) is displayed.emptyoptional

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

Localization

Deutsch | English | español | français | македонски | മലയാളം | português | русский | +/−

This template makes use of {{Autotranslate}} and the translate extension. The layout of the template can be found under Template:Compressed version/layout.