Changes

Jump to navigation Jump to search
m
Reverted edits by 114.79.1.178 (talk) to last revision by Leonel Sohns
{{tsh
| vva
| VVA
| NowSVG
| SupersededSVG
| svg available
| SVG available
| SVG version available
}}
{{Heavily used template|edit=✔}} <!-- edit sandbox -->
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{TemplateBox
|1=1
|1label-en=First SVG
|1label-fr=premier SVG
|1d-en=Name of the SVG file (see [[#File name]] for explanation)
|1d-it=nome del file SVG
|1d-de=Name der SVG-Datei (siehe Hinweis bei [[#Dateiname]])
|1d-td-en=The first SVG image, in the form "Image.svg".
|1d-td-fr=media commons de remplacement au format SVG. Format sans l’espace de nom et avec l’extension
|1def-en=Current&nbsp;file&nbsp;name, minus&nbsp;extension, plus&nbsp;<code>.svg</code>.
|1def-de=aktueller&nbsp;Name
|1def-td-en=Current file name, minus extension, plus ".svg".
|1stat=suggested
|1type=wiki-file-name

|2=2
|2label-en=Second SVG
|2d-en=Name of a second SVG file
|2d-it=nome del file SVG
|2d-de=Name einer zweiten SVG-Datei
|2d-td-en=The second SVG image, in the form "Picture.svg".
|2stat=optional-
|2type=wiki-file-name

|3=3
|3label-en=Third SVG
|3d-en=Name of a third SVG file
|3d-it=nome del file SVG
|3d-de=Name einer dritten SVG-Datei
|3d-td-en=The third SVG image, in the form "Graphic.svg".
|3stat=optional-
|3type=wiki-file-name

|4=quality
|4aliases=q/allquality/aq
|4label-en=Quality
|4label-fr=qualité
|4d-en="superior" / "inferior" (or abbreviation "s" / "i")<br>shortcut "q"<br>when more than one file the parameter "allquality" must be used,<br>(or the shortcut "aq") otherwise the "quality" option is ignored
|4d-td-en=<nowiki/>
"superior" / "inferior" (or abbreviation "s" / "i")

when more than one file the parameter "allquality" must be used, otherwise the "quality" option is ignored
<nowiki/>
|4d-td-fr=indique la qualité du fichier, valeurs possibles « superior » ou « inferior » pour une qualité respectivement supérieure ou inférieure de l’alternative à ce fichier
| 4sv = s/superior/i/inferior
| 4stat = optional-
| 4type = string

|5=reason
|5aliases=r
|5label=Reason
|5d-en=any text for explanation
|5d-de=beliebiger erklärender Text
|5stat=optional-
|5type=line

|6=lang
|6aliases=lang1
|6label-en=Language
|6d-en=language code to be used for a '''multilingual''' SVG file (also: lang2, lang3 for the other files)
|6stat=optional-
|6type=string

|7=by
|7aliases=by1
|7label-en=Creator
|7d-en=when it seems useful to display the creator of the SVG file (also: by2, by3 for the other files)
|7stat=optional-
|7type=line

|9=topic
|9aliases=t
|9label-en=Topic Code
|9d-en=when the topic should be displayed, instead of just the namespace
|9stat=optional-
|9type=string

|name={{BASEPAGENAME}}
|desc-en=Notifies about the existence of one or more vector versions (superior/equivalent/inferior) of a bitmap image
|desc-de=Zeigt an, dass eine Vektorversion vorhanden ist.
|desc-fr=Informe de l’existence d’une ou plusieurs versions (de qualité supérieure/équivalente/inférieure) d’une image matricielle.
|namespace=file
|usergroup=all
|placement=
|usage-notes={{LangSwitch
|en=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|File name]]
|de=Wenn der Dateiname derselbe ist, muss er nicht angegeben werden. Siehe ➔ [[#Dateiname|Dateiname]]
}}
|type=
|example=
|i18n-method=autotranslate
|i18n-desc=For quick insert (and replace) you can use a [[COM:User scripts|user-script]] (the first highlighted line could be redundant):
<syntaxhighlight lang="javascript">
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:
</syntaxhighlight>
|i18n-mediawiki-msg=
|seealso=
: {{F|Flecha tesela.svg|Z|14}}{{tl|Convert to SVG}}
: {{F|Flecha tesela.svg|Z|14}}{{tl|Superseded}}
<!-- {{Use sandbox|testcase=}} -->
----
{{LangSwitch
|en=
=== 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 {{C|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 {{C|Vector version available/error}} if any of the specified files does not exist.
== see also ==
* {{tl|Vector version source}}
* {{tl|PDF version available}}
|de=
=== Dateiname ===
Sofern die beiden Datenamen (bis auf die Dateierweiterung) übereinstimmen, kann der Name der SVG-Datei weggelassen werden.
<!-- So kann es gar nicht erst zu Eingabefehlern kommen. --><br />
<u>Falls angegeben</u>:
: Es muss keine Dateierweiterung angegeben werden, es wird automatisch mit ".svg" ergänzt.
: Die Angabe einer beliebigen Dateierweiterung, wie zum Beispiel ".tiff", stört nicht, sie wird automatisch durch ".svg" ersetzt.
: Die eventuelle Angabe eine Namensraumes ("File:" oder "Image:") stört nicht.
Eventuelle weitere Dateien können auf die gleiche Weise mit ihrem Dateinamen angegeben werden.

Aufrufe mit ''nicht existierenden SVG-Dateien'' werden in die Wartungskategorie {{C|Vector version available/error}} gestellt.
}}

|setscats={{C|Vector version available}}
|lines=
|shorthand=
|relieson=

| useTemplateData = 1
}}
<includeonly>{{Sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Templates for marking as superseded]]
[[Category:SVG marker templates]]
{{#ifeq:{{PAGENAME}}|Vector version available|[[Category:Autoreferencing templates| ]]<!-- Another file templates| --> }}
}}</includeonly>
Anonymous user

Navigation menu