Changes
{{Twinkle standard installation}}
{{Documentation subpage}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{Twinkle standard installation}}
This template is for dealing with images that need to be converted to {{abbrlink|SVG|scalable vector graphics}} format. It is used both on image pages, and on the category pages that list the images to be converted.
== Usage ==
=== Image pages ===
By default, images bearing this template are automatically added to [[:Category:Other images that should be in SVG format]], a subcategory of [[:Category:Images that should be in SVG format]], in [[:Category:Files for cleanup]]. A parameter may be used to place the image in a more specific category. For example, {{Tlx|Should be SVG|flag}} will put the tagged image into [[:Category:Flag images that should be in SVG format]]. The following parameter values are acceptable:
{| class="wikitable"
!Parameter value
!Used for...
!Category
!#
|-
|''alphabet''||character images, font examples, etc. || [[:Category:Alphabet images that should be in SVG format|category]] || {{PAGESINCATEGORY:Alphabet images that should be in SVG format}}
|-
|''chemical''||chemical diagrams, etc. || [[:Category:Chemical images that should be in SVG format|category]] || {{PAGESINCATEGORY:Chemical images that should be in SVG format}}
|-
|''circuit''||electronic circuit diagrams, etc. || [[:Category:Circuit images that should be in SVG format|category]] || {{PAGESINCATEGORY:Circuit images that should be in SVG format}}
|-
|''coat of arms''||coats of arms || [[:Category:Coat of arms images that should be in SVG format|category]] || {{PAGESINCATEGORY:Coat of arms images that should be in SVG format}}
|-
|''diagram''||diagrams that do not fit any other subcategory || [[:Category:Diagram images that should be in SVG format|category]] || {{PAGESINCATEGORY:Diagram images that should be in SVG format}}
|-
|''emblem''||emblems, free/libre logos, insignias, etc. || [[:Category:Emblem images that should be in SVG format|category]] || {{PAGESINCATEGORY:Emblem images that should be in SVG format}}
|-
|''fair use''||fair-use images, fair-use logos || [[:Category:Fair use images that should be in SVG format|category]] || {{PAGESINCATEGORY:Fair use images that should be in SVG format}}
|-
|''flag''||flags || [[:Category:Flag images that should be in SVG format|category]] || {{PAGESINCATEGORY:Flag images that should be in SVG format}}
|-
|''graph''||visual plots of data || [[:Category:Graph images that should be in SVG format|category]] || {{PAGESINCATEGORY:Graph images that should be in SVG format}}
|-
|''logo''||logos || [[:Category:Logo images that should be in SVG format|category]] || {{PAGESINCATEGORY:Logo images that should be in SVG format}}
|-
|''map''||maps || [[:Category:Map images that should be in SVG format|category]] || {{PAGESINCATEGORY:Map images that should be in SVG format}}
|-
|''music''||musical scales, notes, etc. || [[:Category:Music images that should be in SVG format|category]] || {{PAGESINCATEGORY:Music images that should be in SVG format}}
|-
|''physical''||"realistic" images of physical objects, people, etc. || [[:Category:Physical images that should be in SVG format|category]] || {{PAGESINCATEGORY:Physical images that should be in SVG format}}
|-
|''symbol''||miscellaneous symbols, icons, etc. || [[:Category:Symbol images that should be in SVG format|category]] || {{PAGESINCATEGORY:Symbol images that should be in SVG format}}
|-
|''other''||any other value for the parameter defaults to "other" || [[:Category:Other images that should be in SVG format|category]] || {{PAGESINCATEGORY:Other images that should be in SVG format}}
|}
Please propose new parameters on the [[Template talk:Should be SVG|talk page]] before using them.
In addition, the separate {{para|url}} parameter can be used to add an {{abbrlink|URL|uniform resource locator}} to existing vector data that may help in obtaining an SVG file. This can be an image in a different vector format (e.g. [[Portable Document Format|PDF]], [[Postscript|PS]], [[Encapsulated PostScript|EPS]], [[Adobe Illustrator|AI]], or [[Corel Draw|CDR]]) but also a similar SVG that already contains parts of the image that needs to be converted. If this parameter is specified, the image will be automatically added to:
:[[:Category:Images that should be in SVG format (vector data available)]] <small>(currently contains {{PAGESINCATEGORY:Images that should be in SVG format (vector data available)}} files)</small>
For example, <tt><nowiki>{{Should be SVG|2=flag|3=url=http://elbonian-embassy.org/flag.svg}}</nowiki></tt> would add a link to the appropriate URL in the template box as well as adding the image to the maintenance category.
=== Category pages ===
On category pages, the first parameter acts as a sorting label. For instance, {{Tlx|Should be SVG|flag}} would add the category page as a subcategory of [[:Category:Images that should be in SVG format]] and sort it alphabetically using the word "flag". There is an optional {{Para|subof}} parameter which can be used to list the category page as a subcategory of a different page. {{Tlx|Should be SVG|flag|3=subof=flag}} would add the page as a subpage of [[:Category:Flag images that should be in SVG format]], and sort it alphabetically by the word "flag".
== See also ==
* [[Wikipedia:WikiProject_Chemistry/Structure_drawing|Guidelines for drawing chemical structures]]
* [[Commons:Template:Convert to SVG]]
* [[Commons:Template:BadJPEG]]
* [[Template:Vector version available]]
* [[Template:Should be PNG]]
* [[Template:ShouldBeText]]
* [[Template:Bad JPEG]]
* [[Template:Bad GIF]]
* [[Template:Convert to SVG and copy to Wikimedia Commons]]
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!-- ADD CATEGORIES BELOW THIS LINE, PLEASE: -->
[[Category:Image quality templates]]
[[ar:قالب:SVG]]
[[da:Skabelon:KonverterTilSVG]]
[[de:Vorlage:In SVG konvertieren]]
[[eo:Ŝablono:Transformenda al SVG]]
[[fr:Modèle:Convertir en SVG]]
[[he:תבנית:SVG]]
[[hsb:Předłoha:Do SVG konwertować]]
[[ja:Template:SVG化推奨]]
[[mk:Шаблон:Да се претвори во SVG]]
[[ru:Шаблон:Для формата SVG]]
[[fi:Malline:Pitäisi olla SVG]]
[[zh:Template:SVG]]
}}<!--(end #ifeq)--></includeonly>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{Twinkle standard installation}}
This template is for dealing with images that need to be converted to {{abbrlink|SVG|scalable vector graphics}} format. It is used both on image pages, and on the category pages that list the images to be converted.
== Usage ==
=== Image pages ===
By default, images bearing this template are automatically added to [[:Category:Other images that should be in SVG format]], a subcategory of [[:Category:Images that should be in SVG format]], in [[:Category:Files for cleanup]]. A parameter may be used to place the image in a more specific category. For example, {{Tlx|Should be SVG|flag}} will put the tagged image into [[:Category:Flag images that should be in SVG format]]. The following parameter values are acceptable:
{| class="wikitable"
!Parameter value
!Used for...
!Category
!#
|-
|''alphabet''||character images, font examples, etc. || [[:Category:Alphabet images that should be in SVG format|category]] || {{PAGESINCATEGORY:Alphabet images that should be in SVG format}}
|-
|''chemical''||chemical diagrams, etc. || [[:Category:Chemical images that should be in SVG format|category]] || {{PAGESINCATEGORY:Chemical images that should be in SVG format}}
|-
|''circuit''||electronic circuit diagrams, etc. || [[:Category:Circuit images that should be in SVG format|category]] || {{PAGESINCATEGORY:Circuit images that should be in SVG format}}
|-
|''coat of arms''||coats of arms || [[:Category:Coat of arms images that should be in SVG format|category]] || {{PAGESINCATEGORY:Coat of arms images that should be in SVG format}}
|-
|''diagram''||diagrams that do not fit any other subcategory || [[:Category:Diagram images that should be in SVG format|category]] || {{PAGESINCATEGORY:Diagram images that should be in SVG format}}
|-
|''emblem''||emblems, free/libre logos, insignias, etc. || [[:Category:Emblem images that should be in SVG format|category]] || {{PAGESINCATEGORY:Emblem images that should be in SVG format}}
|-
|''fair use''||fair-use images, fair-use logos || [[:Category:Fair use images that should be in SVG format|category]] || {{PAGESINCATEGORY:Fair use images that should be in SVG format}}
|-
|''flag''||flags || [[:Category:Flag images that should be in SVG format|category]] || {{PAGESINCATEGORY:Flag images that should be in SVG format}}
|-
|''graph''||visual plots of data || [[:Category:Graph images that should be in SVG format|category]] || {{PAGESINCATEGORY:Graph images that should be in SVG format}}
|-
|''logo''||logos || [[:Category:Logo images that should be in SVG format|category]] || {{PAGESINCATEGORY:Logo images that should be in SVG format}}
|-
|''map''||maps || [[:Category:Map images that should be in SVG format|category]] || {{PAGESINCATEGORY:Map images that should be in SVG format}}
|-
|''music''||musical scales, notes, etc. || [[:Category:Music images that should be in SVG format|category]] || {{PAGESINCATEGORY:Music images that should be in SVG format}}
|-
|''physical''||"realistic" images of physical objects, people, etc. || [[:Category:Physical images that should be in SVG format|category]] || {{PAGESINCATEGORY:Physical images that should be in SVG format}}
|-
|''symbol''||miscellaneous symbols, icons, etc. || [[:Category:Symbol images that should be in SVG format|category]] || {{PAGESINCATEGORY:Symbol images that should be in SVG format}}
|-
|''other''||any other value for the parameter defaults to "other" || [[:Category:Other images that should be in SVG format|category]] || {{PAGESINCATEGORY:Other images that should be in SVG format}}
|}
Please propose new parameters on the [[Template talk:Should be SVG|talk page]] before using them.
In addition, the separate {{para|url}} parameter can be used to add an {{abbrlink|URL|uniform resource locator}} to existing vector data that may help in obtaining an SVG file. This can be an image in a different vector format (e.g. [[Portable Document Format|PDF]], [[Postscript|PS]], [[Encapsulated PostScript|EPS]], [[Adobe Illustrator|AI]], or [[Corel Draw|CDR]]) but also a similar SVG that already contains parts of the image that needs to be converted. If this parameter is specified, the image will be automatically added to:
:[[:Category:Images that should be in SVG format (vector data available)]] <small>(currently contains {{PAGESINCATEGORY:Images that should be in SVG format (vector data available)}} files)</small>
For example, <tt><nowiki>{{Should be SVG|2=flag|3=url=http://elbonian-embassy.org/flag.svg}}</nowiki></tt> would add a link to the appropriate URL in the template box as well as adding the image to the maintenance category.
=== Category pages ===
On category pages, the first parameter acts as a sorting label. For instance, {{Tlx|Should be SVG|flag}} would add the category page as a subcategory of [[:Category:Images that should be in SVG format]] and sort it alphabetically using the word "flag". There is an optional {{Para|subof}} parameter which can be used to list the category page as a subcategory of a different page. {{Tlx|Should be SVG|flag|3=subof=flag}} would add the page as a subpage of [[:Category:Flag images that should be in SVG format]], and sort it alphabetically by the word "flag".
== See also ==
* [[Wikipedia:WikiProject_Chemistry/Structure_drawing|Guidelines for drawing chemical structures]]
* [[Commons:Template:Convert to SVG]]
* [[Commons:Template:BadJPEG]]
* [[Template:Vector version available]]
* [[Template:Should be PNG]]
* [[Template:ShouldBeText]]
* [[Template:Bad JPEG]]
* [[Template:Bad GIF]]
* [[Template:Convert to SVG and copy to Wikimedia Commons]]
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!-- ADD CATEGORIES BELOW THIS LINE, PLEASE: -->
[[Category:Image quality templates]]
[[ar:قالب:SVG]]
[[da:Skabelon:KonverterTilSVG]]
[[de:Vorlage:In SVG konvertieren]]
[[eo:Ŝablono:Transformenda al SVG]]
[[fr:Modèle:Convertir en SVG]]
[[he:תבנית:SVG]]
[[hsb:Předłoha:Do SVG konwertować]]
[[ja:Template:SVG化推奨]]
[[mk:Шаблон:Да се претвори во SVG]]
[[ru:Шаблон:Для формата SVG]]
[[fi:Malline:Pitäisi olla SVG]]
[[zh:Template:SVG]]
}}<!--(end #ifeq)--></includeonly>