Template:Bad JPEG/doc
Appearance
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 approximately 2,400 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. |
Any breaking changes to this template, including moving it or nominating it for deletion, must be communicated in advance to Twinkle's users and maintainers at Wikipedia talk:Twinkle. The standard installation of Twinkle relies on this template. Thank you. |
Usage
[edit]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
[edit]- 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. For more information, see Wikipedia:Preparing images for upload.(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. For more information, see Wikipedia:Preparing images for upload.(Search for similar images) This image has been added to Category:Images with inappropriate JPEG compression. |
Template data
[edit]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
This automatically adds images to Category:Images with inappropriate JPEG compression.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Ideal new type | 1 | PNG or SVG | String | optional |
See also
[edit]- {{Artifacts}}
- {{Should be SVG}}
- {{Should be PNG}}
- {{Bad GIF}}
- {{Should be text}}