Template:Convert to PNG/doc
This template adds an information box stating that the image was uploaded in a format such as JPEG (or GIF), but could be stored, however, in the PNG format and adds the file page to category Category:Images which should be in PNG format.
The template automatically sets the following categories: Category:Images which should be in PNG format
Usage
{{Convert to PNG}}
Or use the shorthand
- This template should not be used for:
- images for which only a JPEG source is available; recompressing with PNG will not remove artifacts and may produce larger files
- animated images. Although PNG does officially support animation, they are not widely supported by browsers, so GIF should be used instead
- images which contain strictly vector (non-raster) data. {{Convert to SVG}} should be used in this case.
The template takes no parameters.
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
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 Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information This template adds an information box stating that the image was uploaded in a format such as JPEG (or GIF), but could be stored, however, in the PNG format and adds the file page to category [[:Category:Images which should be in PNG format]].
|
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
Placement: At the bottom of the page
See also
- {{Convert to SVG}} adds a note including “could be re-created using vector graphics as an SVG file”
- {{BadGIF}} adds a note including “please upload a PNG version (or JPEG for some photos)”
- {{BadJPEG}} adds a note including “please upload a PNG version (derived from a non-JPEG source) or SVG version (for certain cases)”
- {{SupersededPNG}} the counterpart, used for images that have been superseded by PNG's
Localization
This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Convert to PNG/layout.
To add your language to the list of languages supported by this template, please copy the code of Template:Convert to PNG/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.