Template:Vector version available

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:Vector version available/doc.

Notifies about the existence of one or more equivalent vector versions of a bitmap image.

The template automatically sets the following categories: Vector version available

Usage

{{Vector version available |1= }}

The first parameter, if not filled in, defaults to the name of the file the template is placed on, with the extension changed to ".svg". See ➔ File name

Template parameters

Parameter Description Default Status
1 Name of the SVG file Current file name optional
2 Name of a second SVG file empty optional
3 Name of a third SVG file empty optional
quality "superior" / "inferior" empty optional
reason any text 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

See also

Flecha tesela.svg{{Superseded}}
Flecha tesela.svg{{Convert to SVG}}
Green arrow right.svg{{Bitmap version available}}

File name

If the names of the bitmap and vector files are identical except for the file extension, the first parameter may be left empty.

Each parameter may, but does not need to, include the "File:" or "Image:" namespace prefix or the ".svg" file extension. Any other recognized extension will be replaced by ".svg".

The template will give an error message and add the maintenance category Vector version available/error if any of the specified files does not exist.

Localization

Alemannisch | العربية | Беларуская (тарашкевіца)‎ | বাংলা | Català | Čeština | Dansk | Deutsch | Ελληνικά | English | Español | Eesti | Euskara | فارسی | Suomi | Français | Frysk | Galego | עברית | Hrvatski | Magyar | Հայերեն | Italiano | 日本語 | ქართული | 한국어 | Lietuvių | Македонски | മലയാളം | Bahasa Melayu | Plattdüütsch | Nederlands | Norsk nynorsk | Norsk bokmål | Occitan | Polski | Português | Português do Brasil | Română | Русский | Scots‎ | Slovenčina | Slovenščina | Српски / srpski | Svenska | ไทย | Türkçe | Українська | Vèneto | Tiếng Việt | 中文 | 中文(中国大陆)‎ | 中文(简体)‎ | 中文(繁體)‎ | 中文(马来西亚)‎ | 中文(台灣)‎ | +/−

This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Vector version available/layout.

To add your language to the list of languages supported by this template, please copy the code of Template:Vector version available/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.


For quick insert (and replace) you can use an user-script (the first highlighted line could be redundant):

var ns = mw.config.get('wgNamespaceNumber'), ti = mw.config.get('wgTitle');
// SORT CONVERT-TO-SVG TAGS:
if( ns === 14 || (ns === 6 && mw.toolbar && !/SVG/i.test(ti.slice(-3))) ) importScript('User:Perhelion/fixconverttosvg.js');

Notifies about the existence of one or more equivalent vector versions of a bitmap image.

Template parameters

Parameter Description Type Status
First SVG 1

The first SVG image, in the form "Image.svg".

Default
Current file name, minus extension, plus ".svg".
Example
empty
Auto value
empty
String suggested
Second SVG 2

The second SVG image, in the form "Picture.svg".

Default
empty
Example
empty
Auto value
empty
String optional
Third SVG 3

The third SVG image, in the form "Graphic.svg".

Default
empty
Example
empty
Auto value
empty
String optional
Quality quality

superior/inferior

Default
empty
Example
empty
Auto value
empty
String optional
Reason reason

no description

Default
empty
Example
empty
Auto value
empty
String optional