Template:Superseded/doc

From Wikimedia Commons, the free media repository
Jump to: navigation, search
English: This template shows a better raster image that should be used instead of the current image.
Deutsch: Diese Vorlage zeigt eine bessere Rastergrafik, welches anstelle des betreffenden Bildes verwendet werden soll.
Français : Ce modèle présente une meilleure image, qui devrait être utilisée à la place de l'image initiale.
Italiano: Questo template reindirizza ad un'immagine migliore, più precisa e/o più accurata che dovrebbe essere utilizzata al posto della prima.

The template automatically sets the following categories:

• when transcluded from a SVG file: raster Bitmap version available
SVG Superseded
• when transcluded from raster files: raster Superseded
SVG Superseded SVG Template {{Vector version available}} should be used

See also: Intentions

Usage

{{Superseded |1= }}

The main template is Superseded. It handles each combination of superseded and superseding files.
If a redirect with wrong extension names is used, as PNG available but the superseding file is SVG,
WWWit will work correctly but the displayed text may be misleading. See also "Intentions".

Template parameters

Parameter Description Default Status
1
English: File name of the better image; different possibilities:
  • full file name of other file, with extension
  • file name of other file, for the missing extension "png" is assumed
  • no name provided, the PAGENAME with the extension "png" is used
Deutsch: Der Name des besseren Bildes: verschiedene Optionen:
  • vollständiger Dateiname mit Erweiterung
  • Dateiname, für die fehlende Erweiterung wird "png" verwendet
  • keine Angabe: PAGENAME mit der Erweiterung wird "png" wird verwendet
Français : Le nom de la meilleure image
Italiano: Il nome dell'immagine migliore
see description
and examples
optional
2
reason
detailed information can be specified why the other file should be used

{{SupersededPNG}} uses "A PNG version of this file is now available." for default

{{SupersededJPG}} uses "A JPG version of this file is now available." for default
000EMPTY
000default
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: no user group specified

Relies on:
{{Superseded}} or {{Bitmap version available}}

See also

Intentions

Depending on the combination of the file where the template is used (the "origin"), and the file specified by the transclusion (the "target"), different requests are assumed.

origin file target file category meaning
vector raster Bitmap version available a bitmap version to that vector graphics is available;
it is possible to specify whether file has better quality
raster vector Superseded SVG

(Vector version available)
vector version available; when the better suited template
{{SupersededSVG}} is used it can be specified
which of the two files has better quality
vector vector Superseded target supersedes origin
raster raster Superseded target supersedes origin
other other Superseded target supersedes origin;
(even if video or audio files, the template always speakes about "images")

It does not matter which of the many redirects for "Superseded" or "Bitmap version" is used, after checking the two file extensions the template decides about categorization.
Even when SupersededJPG (or SupersededPNG) is used for another file extension (bitmap or vector graphic, or audio/video file) it will work well -
but it seems not very wise to specify e.g. Bitmap version available when the target file is a vector version (nevertheless it's seducing to use always the short {{bva}}).
With the parameter "reason" the relation of the two files can be specified, and other information may be given.

Localization

This template is localized through {{Autotranslate}}.

To add your language to the list of languages supported by this template, please copy the code of {{Bitmap version available/en}} resp. {{Superseded/en}} (or any other language version you prefer to translate) and replace the text strings in there. Please change the parameter lang from en (or whatever language you are translating) to the language code of your language:

Examples

from SVG

{{ SupersededFile:Example.svgbetter SVG version available }}

Refresh file.svg This file has been superseded by File:Example.svg. It is recommended to use the other file. Please note that deleting superseded images requires consent.
Reason to use the other file: "better SVG version available"
new file


{{ SupersededFile:Example.gif<br>Reason to use the other file: better appearance }}

Mime bmp.png A raster version of this image is available. It should be used in place of this vector image when superior.
Reason to use the other file: better appearance

File:Superseded/doc Gnome-go-next.svg File:Example.gif

In general, it is better to use a good SVG version.


Boarisch | Česky | Deutsch | English | Español | فارسی | Suomi | Français | עברית | Italiano | Македонски | Plattdüütsch | Nederlands | Polski | Português | Русский | Slovenščina | Svenska | Türkçe | Українська | +/−

Bitmap image


{{ SupersededExample.jpg }}

Mime bmp.png A raster version of this image is available. It should be used in place of this vector image when superior.

File:Superseded/doc Gnome-go-next.svg File:Example.jpg

In general, it is better to use a good SVG version.


Boarisch | Česky | Deutsch | English | Español | فارسی | Suomi | Français | עברית | Italiano | Македонски | Plattdüütsch | Nederlands | Polski | Português | Русский | Slovenščina | Svenska | Türkçe | Українська | +/−

Bitmap image


{{ SupersededExample }}

Mime bmp.png A raster version of this image is available. It should be used in place of this vector image when superior.

File:Superseded/doc Gnome-go-next.svg File:Example.png

In general, it is better to use a good SVG version.


Boarisch | Česky | Deutsch | English | Español | فارسی | Suomi | Français | עברית | Italiano | Македонски | Plattdüütsch | Nederlands | Polski | Português | Русский | Slovenščina | Svenska | Türkçe | Українська | +/−

Bitmap image


{{ Superseded }}

Mime bmp.png A raster version of this image is available. It should be used in place of this vector image when superior.

File:Superseded/doc Gnome-go-next.svg File:Superseded.png

In general, it is better to use a good SVG version.


Boarisch | Česky | Deutsch | English | Español | فارسی | Suomi | Français | עברית | Italiano | Македонски | Plattdüütsch | Nederlands | Polski | Português | Русский | Slovenščina | Svenska | Türkçe | Українська | +/−

Bitmap image


from not-SVG

{{ SupersededExample.svgVector version available }}   (Template {{SupersededSVG}} should be used)

Refresh file.svg This file has been superseded by File:Example.svg. It is recommended to use the other file. Please note that deleting superseded images requires consent.
Reason to use the other file: "Vector version available"
new file


{{ SupersededFile:Example.gifbetter appearance }}

Refresh file.svg This file has been superseded by File:Example.gif. It is recommended to use the other file. Please note that deleting superseded images requires consent.
Reason to use the other file: "better appearance"
new file


{{ SupersededExample.jpg }}

Refresh file.svg This file has been superseded by File:Example.jpg. It is recommended to use the other file. Please note that deleting superseded images requires consent. new file


{{ SupersededExample }}

Refresh file.svg This file has been superseded by File:Example.png. It is recommended to use the other file. Please note that deleting superseded images requires consent. new file


{{ Superseded }}

Refresh file.svg This file has been superseded by File:Superseded.png. It is recommended to use the other file. Please note that deleting superseded images requires consent. new file