This page is protected against editing.

Template:Vector version available

From Wikimedia Commons, the free media repository
Revision as of 12:11, 19 May 2023 by Multichill (talk | contribs) ({{Negative boosted template}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]

Notifies about the existence of one or more vector versions (superior/equivalent/inferior) of a bitmap image

The template automatically sets the following categories: Vector version available

Usage

When first parameter is absent it defaults to the name of the file the template is placed on, with the extension changed to ".svg". See ➔ File name

The template takes no parameters.

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

{{Convert to SVG}}
{{Superseded}}

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 (see Autoreferencing templates).

Each parameter may, but does not need to, include the "File:" or "Image:" namespace prefix and/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.

see also

Localization

Alemannisch  Bahasa Indonesia  Bahasa Melayu  British English  català  čeština  dansk  Deutsch  eesti  English  español  Esperanto  euskara  français  Frysk  galego  hrvatski  Ido  italiano  lietuvių  magyar  Nederlands  norsk bokmål  norsk nynorsk  occitan  Plattdüütsch  polski  português  português do Brasil  română  Scots  sicilianu  slovenčina  slovenščina  suomi  svenska  Tiếng Việt  Türkçe  vèneto  Ελληνικά  беларуская (тарашкевіца)  български  македонски  нохчийн  русский  српски / srpski  татарча/tatarça  українська  ქართული  հայերեն  বাংলা  தமிழ்  മലയാളം  ไทย  한국어  日本語  简体中文  繁體中文  עברית  العربية  فارسی  +/−

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 a user-script (the first highlighted line could be redundant):

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