Template:SVG with raster elements

From Wikimedia Commons, the free media repository
(Redirected fromTemplate:BadSVG)
Jump to navigation Jump to search

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

Template documentation[view·edit·history·purge]

No description yet available.

The template automatically sets the following categories: SVG images with embedded raster graphics(and subcategories, when neihervsubnorsubcatare "-" )

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" forAll,"m" forMost ofemptyoptional
subcateither complete subcategory like e.g.:Maps,or single letter like e.g.memptyoptional
vsubcomplete subcategory like e.g.:Maps,has precedence oversubcatemptyoptional
stylestyle option, to overwrite thecleanupboxoptionsemptyoptional

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 showtopographic structures.
    Note: It might be better to include this option somehow intothistemplate, with an additional parameter.

Localization

العربيةcatalàčeštinaDeutschEnglishBritish EnglishespañolفارسیsuomifrançaisgalegoעבריתhrvatskimagyaritalianoмакедонскиമലയാളംPlattdüütschNederlandsportuguêsportuguês do Brasilрусскийsicilianuslovenščinasvenska한국어Nhật bổn ngữTrung văn ( giản thể )Trung văn ( phồn thể )+/−

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

To add your language to the list of languages supported by this template, please copy the code ofTemplate: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 parameterlangfromen(or whatever language you are translating) to thelanguage codeof your language.


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

{{SVG with raster elements/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. See also {{template|TopoSVG}}.
|lang = en
|style = {{{5|}}}
}}<noinclude>
{{translated tag|cleanup}}
</noinclude>

And replace the language code:

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