Template:Superseded by PNG
This file has been superseded by Superseded.png. It is recommended to use the other file. Please note that deleting superseded images requires consent. Reason to use the other file: "A PNG version of this file is now available."
|
en-1 | The description below was composed by a non-native English speaker. You are cordially invited to improve the literal quality of any textual expression. |
This template shows that a better image should be used instead of the current image.
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 | PNG version available | |
SVG | Superseded by SVG | Template {{Vector version available}} should be used ![clarification needed] |
See also: Intentions
Usage
{{Superseded by PNG |1= }}
- Superseded
- Superseded by JPG
{{SupersededJPG}}, {{SupersededJPEG}}, more
- Superseded by PNG
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, it will work correctly but the displayed text may be misleading.[clarification needed] See also "Intentions".
Within Image generation the short code \-
can be used.
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | File name of the better image; different possibilities:
| see description and examples | optional | |
2 reason | detailed information can be specified why the other file should be used {{Superseded by PNG}} uses "A PNG version of this file is now available." for default | png default | optional | |
ext | a valid extension code, e.g. png or jpg | {{{extpng}}} | optional | |
lang | language code (ISO 639), to display a translated version when the SVG file contains translations using SVG <switch> elements.[clarification needed] | {{int:lang}} | 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/layout}} or {{Bitmap version available}}
See also
- {{Vector version available}} – the counterpart, used for bitmaps that have been superseded by one or more SVG's
- {{Supersedes}} – the other counterpart, used for a file superseding another one
- {{Superseded2}} – Supports all file types, not just images
- {{PDF version available}} – when this is the fact
- {{Retouched picture}} – used to tag images that are retouched
- {{AutVec}} – ("authors of vectorized raster graphic") for mere conversions to SVG
- {{Derived from}} – to link an original source work, other than crops and retouchings
- {{Derivative versions}} – to link to derivations
- Commons:Software – for manipulating media
- Commons:Graphic Lab – help and advice on retouching images; see also the templates for Graphic Lab.
Intentions
This template is only intended to be used with image files. For other types of files, use {{Superseded2}} instead.
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.[clarification needed]
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 |
vector | vector | Superseded | target supersedes origin |
raster | raster | Superseded | target supersedes origin |
raster | vector | Superseded by 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 |
other | other | Superseded | target supersedes origin; (even if video or audio files, the template always speaks 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 Superseded by JPG (or Superseded by PNG) 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:
- when transcluded from SVG files:
Bitmap version available/ast Asturianu
Bitmap version available/bar Boarisch
Bitmap version available/be-tarask Беларуская (тарашкевіца)
Bitmap version available/bg Български
Bitmap version available/bn বাংলা
Bitmap version available/ca Català
Bitmap version available/cs Čeština
Bitmap version available/da Dansk
Bitmap version available/de Deutsch
Bitmap version available/diq Zazaki
Bitmap version available/el Ελληνικά
Bitmap version available/en English
Bitmap version available/eo Esperanto
Bitmap version available/es Español
Bitmap version available/et Eesti
Bitmap version available/eu Euskara
Bitmap version available/fa فارسی
Bitmap version available/fi Suomi
Bitmap version available/fr Français
Bitmap version available/gl Galego
Bitmap version available/hr Hrvatski
Bitmap version available/hu Magyar
Bitmap version available/id Bahasa Indonesia
Bitmap version available/it Italiano
Bitmap version available/ja 日本語
Bitmap version available/ka ქართული
Bitmap version available/ko 한국어
Bitmap version available/lb Lëtzebuergesch
Bitmap version available/mk Македонски
Bitmap version available/ml മലയാളം
Bitmap version available/nds Plattdüütsch
Bitmap version available/nl Nederlands
Bitmap version available/no Norsk bokmål
Bitmap version available/pl Polski
Bitmap version available/pt Português
Bitmap version available/ru Русский
Bitmap version available/sco Scots
Bitmap version available/sl Slovenščina
Bitmap version available/sr Српски / srpski
Bitmap version available/sv Svenska
Bitmap version available/th ไทย
Bitmap version available/tr Türkçe
Bitmap version available/uk Українська
Bitmap version available/vi Tiếng Việt
Bitmap version available/zh 中文
Bitmap version available/zh-hans 中文(简体)
Bitmap version available/zh-hant 中文(繁體) - when transcluded from raster files:
Superseded/ast Asturianu
Superseded/bar Boarisch
Superseded/be-tarask Беларуская (тарашкевіца)
Superseded/bg Български
Superseded/bn বাংলা
Superseded/ca Català
Superseded/cs Čeština
Superseded/da Dansk
Superseded/de Deutsch
Superseded/diq Zazaki
Superseded/el Ελληνικά
Superseded/en English
Superseded/eo Esperanto
Superseded/es Español
Superseded/et Eesti
Superseded/eu Euskara
Superseded/fa فارسی
Superseded/fi Suomi
Superseded/fr Français
Superseded/gl Galego
Superseded/hr Hrvatski
Superseded/hu Magyar
Superseded/id Bahasa Indonesia
Superseded/it Italiano
Superseded/ja 日本語
Superseded/ka ქართული
Superseded/ko 한국어
Superseded/lb Lëtzebuergesch
Superseded/mk Македонски
Superseded/ml മലയാളം
Superseded/nds Plattdüütsch
Superseded/nl Nederlands
Superseded/no Norsk bokmål
Superseded/pl Polski
Superseded/pt Português
Superseded/ru Русский
Superseded/sco Scots
Superseded/sl Slovenščina
Superseded/sr Српски / srpski
Superseded/sv Svenska
Superseded/th ไทย
Superseded/tr Türkçe
Superseded/uk Українська
Superseded/vi Tiếng Việt
Superseded/zh 中文
Superseded/zh-hans 中文(简体)
Superseded/zh-hant 中文(繁體)
Examples
from SVG
{{ SupersededPNG | File:Example.svg | better SVG version available }}
This file has been superseded by 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"
|
{{ SupersededPNG | File:Example.gif | <br />Reason to use the other file: better appearance }}
This file has been superseded by Example.png. It is recommended to use the other file. Please note that deleting superseded images requires consent. Reason to use the other file: "
Reason to use the other file: better appearance" |
{{ SupersededPNG | Example.jpg }}
This file has been superseded by Example.png. It is recommended to use the other file. Please note that deleting superseded images requires consent. Reason to use the other file: "A PNG version of this file is now available."
|
{{ SupersededPNG | Example }}
This file has been superseded by Example.png. It is recommended to use the other file. Please note that deleting superseded images requires consent. Reason to use the other file: "A PNG version of this file is now available."
|
{{ SupersededPNG }}
This file has been superseded by Superseded.png. It is recommended to use the other file. Please note that deleting superseded images requires consent. Reason to use the other file: "A PNG version of this file is now available."
|
from not-SVG
{{ SupersededPNG | Example.svg | Vector version available }} (Template {{SupersededSVG}} should be used)
This file has been superseded by 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"
|
{{ SupersededPNG | File:Example.gif | better appearance }}
This file has been superseded by Example.png. It is recommended to use the other file. Please note that deleting superseded images requires consent. Reason to use the other file: "better appearance"
|
{{ SupersededPNG | Example.jpg }}
This file has been superseded by Example.png. It is recommended to use the other file. Please note that deleting superseded images requires consent. Reason to use the other file: "A PNG version of this file is now available."
|
{{ SupersededPNG | Example }} (automatically completed with ".png")
This file has been superseded by Example.png. It is recommended to use the other file. Please note that deleting superseded images requires consent. Reason to use the other file: "A PNG version of this file is now available."
|
{{ SupersededPNG }} (uses the [file] name from where it is transcluded - here it is the template name "Superseded" - plus ".png")
This file has been superseded by Superseded.png. It is recommended to use the other file. Please note that deleting superseded images requires consent. Reason to use the other file: "A PNG version of this file is now available."
|
Superseded by SVG
{{ SupersededSVG | Example }} is just a redirect of {{Vector version available}}