Template:Bad JPEG/doc
< Template:Bad JPEG
Revision as of 13:38, 7 September 2014 by en>GKFX (Add <templatedata>)
This is a documentation subpage for Template:Bad JPEG. It contains usage information, categories and other content that is not part of the original template page. |
If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as this template is used in the standard installation of Twinkle. Thank you! |
Contents
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. For more information, see Wikipedia:Preparing images for upload.(Search for similar images) |
- 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) |
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.
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
- {{Artifacts}}
- {{Should be SVG}}
- {{Should be PNG}}
- {{Bad GIF}}
- {{ShouldBeText}}