Template:Bad JPEG/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Bad JPEG. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
This maintenance template is part of the Wikipedia project, not the encyclopedia proper.
It automatically adds images to Category:Images with inappropriate JPEG compression. It also includes an optional parameter to specify whether PNG or SVG is a better choice for replacement. For PNG, use {{Bad JPEG|PNG}}
and for SVG use {{Bad JPEG|SVG}}
.
Examples
- PNG:
This image was uploaded in the JPEG format even though it consists of non-photographic data. The information it contains could be stored more efficiently or more accurately in the PNG format. If possible, please upload a PNG version of this image, derived from a non-JPEG source so that it doesn't contain any compression artifacts (or with existing artifacts removed) and with transparency where appropriate. After doing so, please replace all instances of the JPEG version throughout Wikipedia (noted under the "File links" header), tag the JPEG version with {{obsolete|NewImage.ext}} , and remove this tag.(Search for similar images) This image has been added to Category:Images with inappropriate JPEG compression. |
- SVG:
This image was uploaded in the JPEG format even though it consists of non-photographic data. The information it contains could be stored more efficiently or more accurately in the SVG format. If possible, please upload a SVG version of this image, derived from a non-JPEG source so that it doesn't contain any compression artifacts (or with existing artifacts removed) and with transparency where appropriate. After doing so, please replace all instances of the JPEG version throughout Wikipedia (noted under the "File links" header), tag the JPEG version with {{obsolete|NewImage.ext}} , and remove this tag.(Search for similar images) This image has been added to Category:Images with inappropriate JPEG compression. |
Template data
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Bad JPEG in articles based on its TemplateData.
TemplateData for Bad JPEG
<templatedata> { "description": "This automatically adds images to Category:Images with inappropriate JPEG compression.", "params": { "1": { "label": "Ideal new type", "description": "PNG or SVG", "required": false, "type": "string" } } } </templatedata>
See also
- {{Should be SVG}}
- {{Should be PNG}}
- {{Bad GIF}}
- {{Should be text}}