Template:SimplSVG

From Wikimedia Commons, the free media repository
Jump to: navigation, search

Inkscape example:

Anti-Inkscape.svg
Notepad icon small.svg
This vector image was created with a text editor.

Previous version had been created with Inkscape (001 bytes)  X  now 100% of previous size.

Documentation icon Documentation[view] [edit] [history] [purge]

This documentation is transcluded from Template:SimplSVG/doc.

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.
Marks SVG files manually edited, esp. simplifications of editor-created SVG graphics using {{Created with Text Editor}}

The template automatically sets the following categories:

By template {{ValidSVG}} the file is categorized also into Valid SVG created with Text Editor, a hidden subcategory of hidden Valid SVG

W3CThe source code of this SVG is valid. U+21E6.svgThis link to the validator passes the option to show the SVG coding

Usage

{{SimplSVG}}

Deutsch: Mit dem 4. Parameter kann die Kategorisierung gesteuert werden, siehe {{HandSVG}}.
English: Categorization can be controlled by parameter #4, see {{HandSVG}}.
Because just examples are useful and not crowding the categories with each file from a set of similar ones, any such categorization can be suppressed explicitly.

Another possibility is diffusion to a subcategory by providing parameter #4 with a control character (see explanation at docu of {{HandSVG}}).


When categorization is forced to it, or when categorization is neither forced nor suppressed and both sizes are given and the new file size is less than a twentieth of the previous size, the file is categorized as SVG Simplified.


In all other cases it is categorized as Valid SVG created with Text Editor. To prevent this category from becoming too crowded the editor-assigned subcategory is selected instead, when an editor name is specified by parameter #1.

Template parameters

Parameter Description Default Status
1
editor The name of the graphic tool: Inkscape, Sodipodi, Adobe, OpenOffice, CorelDRAW, … empty optional
2
size before The size the file had when created by the graphic tool empty optional
3
size after The size the manually edited file has now
if = "000": only marker tag; Category:SVG files to be drawn by hand
empty optional
4
Either uppercase S, M, N, X or Y
  • "S": categorization forced to SVG Simplified
  • "M": categorization forced to category of editor as parameter #1
  • "X": any categorization is suppressed
  • "N": without explanatory text
  • "Y": combines "N" and "X"
or Control letter (see {{HandSVG}}): diffusion into subcategories of SVG Simplified
empty optional
5
character "H":[1] it is a high quality structured graphic empty optional
6
character "T":[1] an additional explanation points to the file talk page empty optional
7
a one-character-code[1] for additional categorizing:
SVG simplification by
empty optional
user
author name of user or author (for display); may as well be a link
coded e.g. with {{U}}, {{Uc}}, {{Ut}}, {{Ult}}, {{Ud}} or otherwise
empty optional
sub
subcat
subcategory
for more category diffusion: an extension to the category name depending on parameter #2, e.g. sub=-examples empty optional
sss
for more category diffusion: Structured SVG Subcategory, e.g. sss=-examples empty 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: all users

See also

Created with ... templates: {{Created with Text Editor}}, {{Created with Inkscape}}, {{Created with Sodipodi}}, {{Created with Adobe Illustrator}}, {{Created with OpenOffice.org}}, {{Created with Gnuplot}}

  1. a b c ":Any of these parameter values can be passed in any sequence, each as an argument for one of the parameters #5 to #9, in lower or upper case: …|5=T|6=b|7=c… is equivalent to …|7=B|8=t|9=c….
  2. a b c Jeder dieser Parameterwerte kann beliebig als Argument eines der Parameter #5 bis #9 übergeben werden, in Klein- oder Großbuchstaben: …|5=H|6=b|7=f… ist gleichwertig mit …|5=F|7=h|9=B….