Difference between revisions of "Template:Bad JPEG/doc"

From blackwiki
Jump to navigation Jump to search
imported>FlightTime
(→‎See also: Define lnk trgts update to {{tl|}} format)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
{{Twinkle standard installation}}
 
{{Twinkle standard installation}}
 +
{{High-use|3,000}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  
Line 12: Line 13:
 
*SVG:
 
*SVG:
 
{{Bad JPEG|SVG}}
 
{{Bad JPEG|SVG}}
 +
 +
 +
== Template data ==
 +
{{TemplateDataHeader}}
 +
<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==
 
==See also==
 
* {{tl|Artifacts}}
 
* {{tl|Artifacts}}
Line 18: Line 37:
 
* {{tl|Bad GIF}}
 
* {{tl|Bad GIF}}
 
* {{tl|ShouldBeText}}
 
* {{tl|ShouldBeText}}
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<includeonly>{{Sandbox other||<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
  
 
[[Category:Image quality templates|{{PAGENAME}}]]
 
[[Category:Image quality templates|{{PAGENAME}}]]
  
</includeonly>
+
}}</includeonly>

Latest revision as of 23:33, 23 April 2020

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:
  • SVG:


Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Bad JPEG

This automatically adds images to Category:Images with inappropriate JPEG compression.

Template parameters

ParameterDescriptionTypeStatus
Ideal new type1

PNG or SVG

Stringoptional

See also