Template:Archival version

From OpenMedia
Jump to: navigation, search
This PNG image has a thumbnail version at File:Example.jpg.

Generally, the thumbnail version should be used when displaying the file from Commons, in order to reduce the file size of thumbnail images. Any edits to the image should be based on this PNG version in order to prevent generational loss, and both versions should be updated. See here for more information.

[edit]

Documentation


Template for labelling archival versions of files, when a compressed version exists for the purpose of providing thumbnails. Place in the other_versions= field in the {{Information}} template.</code> Label the compressed version with {{Compressed version}}.

The template automatically sets the following categories: For PNGs, Category:PNGs with JPEG versions (or if the file doesn't exist, Category:PNGs with missing JPEG versions), and, if appropriate, Category:PNG files affected by MediaWiki restrictions. For TIFs, if appropriate, Category:TIF files affected by MediaWiki restrictions.

Usage

{{Archival version|file=|filetype=|thumb=|thumblimit=}}

Parameters

Parameter name Description Default value required or optional?

file File name of the compressed version Image:Example.jpg required
filetype Filetype of the archival version PNG optional
thumb if set to nothumb, no thumbnail of the compressed version is shown in the template 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:Archival 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

{{Compressed version}}, {{Original}}

Localization

English |

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

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