Template:BadSVG

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Images and pages bearing this template are automatically added to Category:SVG images with embedded raster graphics, a subcategory of Category:Images for cleanup.

Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:BadSVG/doc.

If reasonable please notify the uploader(s) by placing the following code on their talk page:

{{subst:BadSVG/notification|Name of the file.ext}}

No description yet available.

The template automatically sets the following categories: SVG images with embedded raster graphics and subcategories

Usage

{{BadSVG}}

Template parameters

ParameterDescriptionDefaultStatus
1additional text.optional
2category prefix, like e.g. "Adobe-"emptyoptional
3letter for text specification like e.g. "a" for All, "m" for Most ofemptyoptional
subcateither complete subcategory like e.g. :Maps, or single letter like e.g. memptyoptional
vsubcomplete subcategory like e.g. :Maps, has precedence over subcatemptyoptional
stylestyle option, to overwrite the cleanupbox optionsemptyoptional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

See also

Template stub BadSVG-t, can be used when bitmap coding is used only to show topographic structures.
Note: It might be better to include this option somehow into this template, with an additional parameter.

Localization

العربية | Català | Deutsch | English | Español | فارسی | Suomi | Français | עברית | Hrvatski | Magyar | Italiano | 日本語 | 한국어 | Македонски | മലയാളം | Plattdüütsch | Nederlands | Português | Русский | Sicilianu | Svenska | 中文 | 中文(简体)‎ | 中文(繁體)‎ |

This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:BadSVG/layout.

To add your language to the list of languages supported by this template, please copy the code of Template:BadSVG/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.


To create a new language version of this template, create a new subpage and use this code:

{{BadSVG/layout
|text = {{#switch:{{NAMESPACENUMBER}}
|6|7=This {{#ifeq:{{{7}}}|big|''huge''}} [[Help:SVG|SVG]] {{#if:{{{14|}}}|{{Igen/top|{{{14}}}|image|lang=en}}|image}} 
{{#switch:f|{{{1}}}|{{{3}}}= is just a '''Fake SVG''', it is a raster graphic without SVG coding except of the SVG wrapper around the bitmap. It is the worst case of |#default={{#switch:a|{{{1}}}|{{{3}}}='''''consists only of''''' |#default=contains {{{1|}}}}}}}
|14|15={{#switch:{{{3}}}|m=Most of t|T}}he [[Help:SVG|SVG]] images in this category contain
|#default=All the [[Help:SVG|SVG]] images in this gallery contain}} <!--  
--> embedded {{W|raster graphics}}.<sup>[//www.w3.org/TR/SVG11/struct.html#ImageElement]</sup> Such images are liable to produce inferior results when scaled to different sizes (as well as possibly being very inefficient in file size). {{#switch:f|{{{1}}}|{{{3}}}='''Such files should never be uploaded!''' }} If appropriate to do so, they should be replaced with images created using {{W|vector graphics}}.
|lang = en
|style = {{{5|}}}
}}<noinclude>
{{translated tag|cleanup}}
</noinclude>

And replace the language code:

- |lang=en
+ |lang={{subst:SUBPAGENAME}}

See also