Template:Compressed version
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. here for more information. See |
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
Parameter | Description | Default | Status | |
---|---|---|---|---|
file |
File name of the archival version | File:Example.png | required | |
filetype |
Filetype of the archival version | intelligent guess | deprecated | |
thumb |
if set to nothumb, no thumbnail of the archival version is shown in the template. Set automatically if thumblimit is set to any value. | empty | optional | |
thumblimit |
if 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. | empty | 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
- {{Archival version}}, to be used in the source file
- {{No scaled down dupes}}, for improperly scaled-down files
Localization
This template makes use of {{Autotranslate}} and the translate extension.