Template:SVG with raster elements

From Wikimedia Commons, the free media repository
(Redirected from Template:BadSVG)
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.

Documentationview · edit · history · purge ]

No description yet available.

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

Usage

{{SVG with raster elements}}

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

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

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

  • {{Rsvg bug}}
  • TopoSVG, 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

British English  català  čeština  Deutsch  English  español  français  galego  hrvatski  italiano  magyar  Nederlands  Plattdüütsch  português  português do Brasil  sicilianu  suomi  svenska  македонски  русский  മലയാളം  한국어  日本語  中文(简体)  中文(繁體)  עברית  العربية  فارسی 

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

To add your language to the list of languages supported by this template, please copy the code of Template:SVG with raster elements/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={{#switch:{{{1}}}|x=contains|#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 {{#ifeq:{{{1}}}|x|'''xap'''}} {{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}}.<br>
'''Note:''' This template is only supposed to be used if the SVG file mixes vector and raster graphics. If the SVG file only contains raster graphics {{template|FakeSVG}} is supposed to be used. {{0}} See also {{template|TopoSVG}}.
|lang = en
|style = {{{5|}}}
}}<noinclude>
{{translated tag|cleanup}}
</noinclude>

And replace the language code:

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