Template:Convert to SVG
All images in this gallery could be recreated using vector graphics as an SVG file. This has several advantages; see Commons:Media for cleanup for more information. If an SVG form of this image is already available, please upload it. After uploading an SVG, replace this template with {{vector version available|new image name.svg}}. |
[edit]
Documentation
Usage
{{Convert to SVG|1=|vectordata=}}
Or use the shorthand toSVG
The following parameter values are acceptable for parameter 1:
Parameter value | Used for... | Category | # |
---|---|---|---|
alphabet | character images, font examples, etc. | category | 2 |
architecture | architecture blueprints | category | 0 |
art | simple images based on artwork, or otherwise related to culture and art | category | 0 |
biology | animal/plant diagrams, human anatomy, anything biological in nature | category | 5 |
chemical | only for structural formulae, especially skeletal formulae | category | 1 |
chemistry | for all other chemistry related images | category | 0 |
circuit | electronic circuit diagrams, etc. | category | 0 |
coat of arms | coats of arms | category | 8 |
diagram | diagrams that do not fit any other subcategory | category | 2 |
deprecated use 'coat of arms', 'icon', 'logo', 'military insignia' or 'symbol' instead | category | 1 | |
flag | flags | category | 6 |
graph | visual plots of data | category | 0 |
icon | icons, generally ones you could see being used as computer desktop icons, otherwise 'symbol' may be better | category | 4 |
logo | logos, or images intended to be logos | category | 5 |
map | maps | category | 5 |
math | mathematical content (see also should use TeX) | category | 1 |
military insignia | military insignia | category | 0 |
musical notation | musical scales, notes, etc. equivalent to {{ConvertToSVG-MN}} | category | 0 |
physical | ??? supposedly for "realistic images of physical objects, people, etc." but has been used more for physical science diagrams | category | 0 |
ribbon | a subcategory of [[Category:Military insignia]] | category | 0 |
signature | most images of signatures are best stored in vector format | category | 0 |
sport | sport-related images (except for logos) | category | 2 |
symbol | usually simple arrangements of lines and shapes; use 'icon' if it looks like a desktop icon | category | 1 |
text | anything that is better represented as simple text. | category | 0 |
technology | technology-related images (except for electronic circuits which have their own category). | category | 0 |
--- | any other parameter given will default to an 'other' category - except it leads to an existing category or subcategory |
category | 25 |
This scheme still needs some work. Suggestions welcomed.
Parameters
Parameter name | Description | Default value | required or optional?
|
---|---|---|---|
parameter #1 (1) | Classify image by topic | empty | required |
vectordata | Specify a URL where the file is available in a non-SVG vector format. If set, the file is classified in Category:Images that should use vector graphics (non-SVG vector data available). | empty | optional |
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
Placement: At the bottom of the page
See also
- {{Vector version available}}
- Help:SVG: Converting to SVG for specific instructions on converting to SVG
- {{N2+SVG}} for Nuvola or Nuvola 2.0+ icon images
- {{BadSVG}} for SVG files with embedded raster images
Localization
English |
This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Convert to SVG/layout.
To add your language to the list of languages supported by this template, please copy the code of Template:Convert to SVG/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.