Template:Archival version

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Archival version/doc.

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. 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 TIFFs, if appropriate, Category:TIFF files affected by MediaWiki restrictions.

Usage

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

Template parameters

ParameterDescriptionDefaultStatus
fileFile name of the compressed versionImage:Example.jpgrequired
filetypeFiletype of the archival versionintelligent guessdeprecated
thumbif set to nothumb, no thumbnail of the compressed version is shown in the templateemptyoptional
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:Archival 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  français  português  suomi  македонски  русский  മലയാളം  +/−

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