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

For layout examples see the talk page.

Documentation icon Documentationviewedithistorypurge

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



or {{ Image generation9 = +10 = Sother parameters as described below }} to use the advantages of the {{Image generation}},

as creation of the Other fields / Information field, for a better and more unique appearance in the {{Information}} box
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
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.
For full apparition of the byte size you can use a user-script for help:

empty optional
3 size afterwards The size the manually edited file has now
if = "000": only marker tag; Category:SVG files to be drawn by hand
empty optional
4 control Either uppercase S, M, N, X or Y
  • "S": categorization forced to SVG Simplified
  • "M": categorization forced to category of editor as parameter #1
  • "N": without explanatory text
  • "X": any categorization is suppressed
  • "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
subcat for more category diffusion: an extension to the category name depending on parameter #2, e.g. sub=-examples empty optional
sss subcat for more category diffusion: Structured SVG Subcategory, e.g. sss=-examples empty optional
key sortkey Sortkey option within the category
empty optional
width to set another width for the box auto optional
style to set or overwrite other style attributes for the box. Set "<nowiki/>" to avoid linefeed empty optional
vtext optional additional text for ValidSVG/InvalidSVG . optional
vstyle to set or overwrite other style attributes for the box of ValidSVG/InvalidSVG
e.g. vstyle=float:left, or short vs=fl for also smaller icon
style optional
vwidth to set another width for the box of ValidSVG/InvalidSVG width 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

Other SVG created with … templates, e.g.: {{HandSVG}}, {{Inkscape}}, {{Sodipodi}}, {{Adobe}}, {{LibreOffice}}, {{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….