Template:Vector version available
File:Example.svg is a vector version of this file. It should be used in place of this file when not inferior. |
Editors can experiment in this template's sandbox (create) and test cases (create) pages.
Subpages of this template.
Description
Advertises SVG where available.
SVG has no JPEG discolorations, can be enlarged without appearing pixelated, and often requires less storage space for simple shapes. At sufficiently low resolutions (such as small icons) the benefit may be negligible. Larger images tend to look cleaner and more perfect as SVG.
Usage
{{Vector version available}}
{{Vector version available|filename}}
If only the extension differs, the first form can be used.
Examples
Example 1
Recommend File:Flag of Egypt.svg on the file description page for File:Flag of Egypt.png:
{{Vector version available}}
Example 2
Recommend File:Flag of Ireland.svg on the file description page for File:Ireland.jpg:
{{Vector version available|Flag of Ireland.svg}}
History
This is inspired by and imitates commons:Template:Vector version available. For simplicity, parameters other than |1=
are not implemented.