Template:Please use SVG
SVG (Scalable Vector Graphics)
In other languages (translate this)
|
---|
|
Thank you for uploading some images!
Did you know that Wikimedia Commons recommends the SVG (Scalable Vector Graphics) format for certain types of images? Scalable Vector Graphics are designed to look appropriate at any scale, and SVG images are easier to modify and translate, helping Wikimedia to distribute knowledge to all of the world. A lot of modern programs support SVG export. If you encountered problems or have questions, don't hesitate to ask me, a member of the Graphic Lab, or the Graphics village pump. Uploading images in SVG format isn't mandatory, but it would help. (To avoid any misunderstandings, please don't just put raster images into an SVG container as embedded raster.) Thanks, and happy editing!
|
No description yet available.
Usage
{{subst:Please use SVG |1= }}
{{subst:SVG/notify |1= }}
Guideline
- Don't clutter user pages. Only one of these message per page!
- Do not use if the concerning image is a copyright violation.
- Post this message on the talk page of the actual author only. It does not make sense, if it is a logo copyed from a website.
- Usage only for files .
- The file(s) should be tagged with {{Convert to SVG}} before.
Template parameters
- TemplateData
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.
Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1
or useTemplateData=only
on the /doc
subpage and transcluding it with {{Documentation}} into the template. <nowiki>
-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>
-tags into the Wikitext of the template, as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information
Parameter | Description | Type | Status | |
---|---|---|---|---|
Filename | 1 | complete Filename; not the path | File | suggested |
PNG | 2 | If specified, the user is asked for a PNG version, too.
| String | optional |
Additional information
The template is intended to be used in the following namespaces: the User talk namespace
The template is intended to be used by the following user groups: all users
Example
{{Please use SVG|Example.jpg|PNG}}
renders as:
In other languages (translate this)
|
---|
|
Thank you for uploading Example.jpg!
Did you know that Wikimedia Commons recommends the SVG (Scalable Vector Graphics) format for certain types of images? Scalable Vector Graphics are designed to look appropriate at any scale, and SVG images are easier to modify and translate, helping Wikimedia to distribute knowledge to all of the world. A lot of modern programs support SVG export. If you encountered problems or have questions, don't hesitate to ask me, a member of the Graphic Lab, or the Graphics village pump. However, it will be also an improvement if you can export (save) this image in PNG format without artefacts and upload. Uploading images in SVG format isn't mandatory, but it would help. (To avoid any misunderstandings, please don't just put raster images into an SVG container as embedded raster.) Thanks, and happy editing!
|
Localization
In other languages (translate this)
|
---|
|
This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Please use SVG/layout.
To add your language to the list of languages supported by this template, please copy the code of Template:Please use SVG/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.
To create a new language version of this template, create a new subpage and use this code (or from other already existing language subpage):
{{Please use SVG/layout |text=Thank you for uploading {{#if: {{{1|}}} | [[:File:{{{1}}}|{{{1}}}]] | [[Special:ListFiles/{{BASEPAGENAME}}|some images]] }}! Did you know that Wikimedia Commons recommends the [[Help:SVG|'''SVG''' (Scalable Vector Graphics)]] format for certain types of images? Scalable Vector Graphics are designed to look appropriate at any scale, and SVG images are easier to modify and translate, helping Wikimedia to distribute knowledge to all of the world. [[:Category:Vector graphic editing programs|A lot of modern programs]] support SVG export. If you encountered problems or have questions, don't hesitate to ask me, a member of the [[COM:GL|Graphic Lab]], or the [[COM:GVP|Graphics village pump]]. {{ #if: {{{2|}}} | However, it will be also an improvement if you can export (save) this image in ''PNG'' format without artefacts and upload. }} Uploading images in SVG format isn't mandatory, but it would help. (To avoid any misunderstandings, please don't just put [[w:Raster graphics|raster]] images into an SVG container as ''embedded raster''.) Thanks, and happy editing! |lang=en }}<noinclude> {{translated tag|user}} </noinclude>
And then replace the language code:
- |lang=en
+ |lang={{subst:SUBPAGENAME}}
To show the language, made also an corresponding entry on /lang.