Difference between revisions of "Template:Bad JPEG"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(fix bold)
imported>SD0001
m (add |name= parameter)
 
Line 1: Line 1:
 
{{imbox
 
{{imbox
 
|type=style
 
|type=style
 +
|name=Bad JPEG
 
|image=[[File:Badjpeg.jpg]]
 
|image=[[File:Badjpeg.jpg]]
 
|text=This image was [[upload|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 {{#if:{{{1|}}}|{{#ifeq:{{uc:{{{1}}}}}|PNG|'''[[Portable Network Graphics|PNG]]'''| }} {{#ifeq:{{uc:{{{1}}}}}|SVG|'''[[Scalable Vector Graphics|SVG]]'''| }}|'''[[Portable Network Graphics|PNG]]''' or '''[[Scalable Vector Graphics|SVG]]'''}} '''format'''. <br>
 
|text=This image was [[upload|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 {{#if:{{{1|}}}|{{#ifeq:{{uc:{{{1}}}}}|PNG|'''[[Portable Network Graphics|PNG]]'''| }} {{#ifeq:{{uc:{{{1}}}}}|SVG|'''[[Scalable Vector Graphics|SVG]]'''| }}|'''[[Portable Network Graphics|PNG]]''' or '''[[Scalable Vector Graphics|SVG]]'''}} '''format'''. <br>

Latest revision as of 17:17, 6 September 2020

Template documentation[view] [edit] [history] [purge]

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