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>GKFX
(Add <templatedata>)
Line 12: Line 12:
 
*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}}

Revision as of 12:38, 7 September 2014

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