Difference between revisions of "Template:Should be SVG"
en>Mark Arsten m (Changed protection level of Template:Should be SVG: Allowing Protected Template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 16:29, 1 January 2019
This image was uploaded in a raster graphics format such as PNG, GIF, or JPEG. However, it contains information that could be stored more efficiently and/or accurately in the SVG format, as a vector graphic. If possible, please upload an SVG version of this image. After confirming it is of comparable quality, please replace all instances of the previous version throughout Wikipedia (noted under the "File links" header), tag the old version with , and remove this tag. For more information, see Wikipedia:Preparing images for upload. For assistance with converting to SVG, please see the Graphics Lab. |
If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as this template is used in the standard installation of Twinkle. Thank you! |
This template is for dealing with images that need to be converted to SVG 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: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 | # |
---|---|---|---|
alphabet | character images, font examples, etc. | category | 0 |
chemical | chemical diagrams, etc. | category | 0 |
circuit | electronic circuit diagrams, etc. | category | 0 |
coat of arms | coats of arms | category | 0 |
diagram | diagrams that do not fit any other subcategory | category | 0 |
emblem | emblems, free/libre logos, insignias, etc. | category | 0 |
fair use | fair-use images, fair-use logos | category | 0 |
flag | flags | category | 0 |
graph | visual plots of data | category | 0 |
logo | logos | category | 0 |
map | maps | category | 0 |
music | musical scales, notes, etc. | category | 0 |
physical | "realistic" images of physical objects, people, etc. | category | 0 |
symbol | miscellaneous symbols, icons, etc. | category | 0 |
other | any other value for the parameter defaults to "other" | category | 0 |
Please propose new parameters on the talk page before using them.
In addition, the separate |url=
parameter can be used to add an URL 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 0 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
- Guidelines for drawing chemical structures
- Commons:Template:Convert to SVG
- Commons:Template:BadJPEG
- Template:Vector version available
- Template:Should be PNG
- Template:ShouldBeText
- Template:Bad JPEG
- Template:Bad GIF
- Template:Convert to SVG and copy to Wikimedia Commons
ar:قالب:SVG da:Skabelon:KonverterTilSVG de:Vorlage:In SVG konvertieren eo:Ŝablono:Transformenda al SVG fr:Modèle:Convertir en SVG he:תבנית:SVG hsb:Předłoha:Do SVG konwertować ja:Template:SVG化推奨 mk:Шаблон:Да се претвори во SVG ru:Шаблон:Для формата SVG fi:Malline:Pitäisi olla SVG zh:Template:SVG
The above documentation is transcluded from Template:Should be SVG/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |