Template:SVG

☆ Save On Wikipedia ↗
Template documentation

This template is for dealing with images that need to be converted to SVGTooltip scalable vector graphics format. It is used both on image pages, and on the category pages that list the images to be converted.

Usage

Image pages

By default, images bearing this template are automatically added to Category:Other images that should be in SVG format, a subcategory of Category:Images that should be in SVG format, in Category:Image files for cleanup. A parameter may be used to place the image in a more specific category. For example, {{Should be SVG|flag}} will put the tagged image into Category:Flag images that should be in SVG format. The following parameter values are acceptable:

Parameter value Used for... Category #
alphabetcharacter images, font examples, etc.category1
chemicalchemical diagrams, etc.category0
circuitelectronic circuit diagrams, etc.category0
coat of armscoats of armscategory2,278
diagramdiagrams that do not fit any other subcategorycategory79
emblememblems, free/libre logos, insignias, etc.category124
non-freefair-use images, non-free contentcategory1,227
flagflagscategory35
graphvisual plots of datacategory103
logologoscategory2,761
mapmapscategory45
musicmusical scales, notes, etc.category11
physical"realistic" images of physical objects, people, etc.category0
symbolmiscellaneous symbols, icons, etc.category30
otherany other value for the parameter defaults to "other"category1,519

Please propose new parameters on the talk page before using them.

In addition, the separate |url= parameter can be used to add an URLTooltip uniform resource locator to existing vector data that may help in obtaining an SVG file. This can be an image in a different vector format (e.g. PDF, PS, EPS, AI, or CDR) but also a similar SVG that already contains parts of the image that needs to be converted. If this parameter is specified, the image will be automatically added to:

Category:Images that should be in SVG format (vector data available) (currently contains 13 files)

For example, {{Should be SVG|2=flag|3=url=http://elbonian-embassy.org/flag.svg}} would add a link to the appropriate URL in the template box as well as adding the image to the maintenance category.

Category pages

On category pages, the first parameter acts as a sorting label. For instance, {{Should be SVG|flag}} would add the category page as a subcategory of Category:Images that should be in SVG format and sort it alphabetically using the word "flag". There is an optional |subof= parameter which can be used to list the category page as a subcategory of a different page. {{Should be SVG|flag|subof=flag}} would add the page as a subpage of Category:Flag images that should be in SVG format, and sort it alphabetically by the word "flag".

See also