Changes

Jump to navigation Jump to search
m
+parm
{{TemplateBox
|1 = 1
|1d-en = The name of the {{C|Anti vector graphics program logos|graphics tool}}: Inkscape, Sodipodi, Adobe, OpenOffice, CorelDRAW, …
|1label = created with
|1type = string
|1def = <!-- default value for the parameter -->
|1stat = optional-

|2 = 2
|2d-en = The size the file had when saved by the graphics tool.<br>
To see file sizes in bytes on description pages, you can use a [[COM:User scripts|user-script]] for help:<small>{{#tag:syntaxhighlight|if(mw.config.get('wgNamespaceNumber')===6&&/SVG/i.test(mw.config.get('wgTitle').slice(-3)))
importScript('User:Perhelion/simpleSVGcheck.js');|lang="javascript"}}</small>
|2label = size before
|2aliases = sb
|2type = number
|2stat = optional-

|3 = 3
|3d-en = The size of the manually edited version<br>not specified if = <tt>000</tt>; see Category:{{C|SVG files to be drawn by hand}}
|3d-td-en=The size of the manually edited version; not specified if="000"; see Category:SVG files to be drawn by hand
|3label = size actual
|3aliases = sa
|3type = number
|3stat = optional-

|4 = 4
|4d-en = Either uppercase <tt>S</tt>, <tt>M</tt>, <tt>N</tt>, <tt>X</tt>, or <tt>Y</tt>
*<tt>S</tt>: categorization forced to {{C|SVG Simplified}}
*<tt>M</tt>: categorization forced to category of editor as parameter #1
*<tt>N</tt>: without explanatory text
*<tt>X</tt>: any categorization is suppressed
*<tt>Y</tt>: combines <tt>N</tt> and <tt>X</tt>
or a Control letter (see {{tl|HandSVG}}): diffusion into subcategories of {{C|SVG Simplified}} <!--<br>''other value'': categorization to {{C|Manually coded SVG}}, or to one of its editor-assigned subcategories -->
|4d-td-en=Either uppercase S, M, N, X or Y; "X" and "Y": any categorization is suppressed; "M": categorization forced to category of editor as parameter #1; "S": categorization forced to Category:SVG Simplified; "N" or "Y": without explanatory text; or a Control letter (see Template:HandSVG): diffusion into subcategories of Category:SVG Simplified
|4d-de = Ein Buchstabe zur Steuerung der Kategorisierung, siehe die Liste in {{tl|HandSVG}}
|4d-td-de=Ein Buchstabe zur Steuerung der Kategorisierung, siehe die Liste in Template:HandSVG
|4label = control
|4type = string
|4stat = optional-

|5 = 5
|5label = structured?
|5d-en = character "H":<ref name="en5">":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: <code>…|5=T|6=b|7=c…</code> is equivalent to <code>…|7=B|8=t|9=c…</code>.</ref> it is a ''high quality structured graphic''
|5d-td-en=character <tt>H</tt>: it is a "high quality structured graphic"
|5d-de = Buchstabe <tt>h</tt>:<ref name="de5">Jeder dieser Parameterwerte kann beliebig als Argument eines der Parameter #5 bis #9 übergeben werden, in Klein- oder Großbuchstaben: <code>…|5=H|6=b|7=f…</code> ist gleichwertig mit <code>…|5=F|7=h|9=B…</code>.</ref> es ist eine ''high quality structured graphic''
|5d-td-de=Buchstabe "h": es ist eine "high quality structured graphic"
|5type = string
|5stat = optional-

|6 = 6
|6label = talk page?
|6d-en = character <tt>T</tt>:<ref name="en5"/> an additional explanation points to the file talk page
|6d-td-en=character "T": an additional explanation points to the file talk page
|6d-de = Buchstabe <tt>t</tt>:<ref name="de5"/> ein Hinweis verweist auf die Diskussionsseite der Datei
|6d-td-de=Buchstabe "t": ein Hinweis verweist auf die Diskussionsseite der Datei
|6type = string
|6stat = optional-

|7 = 7
|7label = categories (coded)
|7d-en = a one-character code<ref name="en5"/> for more categories: {{SimplSVG/doc/cat}}
|7d-td-en=a one-character code for more categories: {{SimplSVG/doc/cat|td=yes}}
|7d-de = ein Buchstabe<ref name="de5"/> für Zusatzkategorisierung: {{SimplSVG/doc/cat}}
|7d-td-de=ein Buchstabe für Zusatzkategorisierung: {{SimplSVG/doc/cat|td=yes}}
|7type = string
|7stat = optional-

|8 = user
|8d-en = name of editor (person) who simplified the image, either the user name or in wiki code<!--; may as well be a link--><br>coded e. g. with {{tl|U}}, {{tl|Uc}}, {{tl|Ut}}, {{tl|Ult}}, {{tl|Ud}} or otherwise
|8d-td-en=name of editor (person) who simplified the image, either user name or in wiki code
|8label = edited by
|8type = string/wiki-user-name
|8stat = optional-

|9 = sub
|9d-en = category diffusion: a suffix to the category name depending on parameter #2, e. g. <tt>sub=-examples</tt>
|9d-td-en=category diffusion: a suffix to the category name depending on parameter #2, e. g. sub=-examples
|9aliases = subcat / subcategory
|9label = diffusion in "SVG Simplified"
|9type = string
|9stat = optional-

|10 = sss
|10d-en = more category diffusion: <u>S</u>tructured <u>S</u>VG <u>S</u>ubcategory, e. g. <tt>sss=-examples</tt>
|10d-td-en=more category diffusion: Structured SVG Subcategory, e. g. sss=-examples
|10label = diffusion in "structured SVG"
|10type = string
|10stat = optional-
|11 = vsub
|11d-en=diffusion for {{C|Valid SVG created with Text Editor}} / {{C|Invalid SVG created with Text Editor}}<br>
To suppress this subcategorizing set it to minus: <code>vsub=-</code>
|11d-td-en=diffusion for "Valid SVG created with Text Editor" / "Invalid SVG created with Text Editor";
To suppress this subcategorizing set it to minus: "vsub=-"
|11label = diffusion in "valid/invalid"
|11type = string
|11stat = optional-

|12 = key
|12d = sort key within the category
|12label = sort key
|12type = string
|12stat = optional-
<!-- link
tag -->
|14 = width
|14d = sets width for the box
|14def = <code>auto</code>
|14type = number
|14stat = optional-
|15 = style
|15d = sets or overrides other style attributes for the box. Set "<nowiki><nowiki/></nowiki>" to avoid linefeed
|15type = string
|15stat = optional-
|16=topic
|16d=to specify the short code (e.g. "f" for "flag, "i" for "icon") of a {{T0|Igen/top|topic}}
|16stat=optional-

|17=vwidth
|17d=sets width for the box of ValidSVG/InvalidSVG
|17def=<code>width</code>
|17stat=optional-

|18=vstyle
|18aliases = vs
|18d=to set or overwrite other style attributes for the box of ValidSVG/InvalidSVG<br>
e. g. <code>vstyle=float:left</code>, or short <code>vs=fl</code> for also smaller icon<br>
----
for ''smallest display'' use <tt>vs=n</tt> or<tt>vs=-</tt> (see [[Template talk:SimplSVG#Examples how the template can display|examples]])
|18def=<code>style</code>
|18stat=optional-

|19=vtext
|19d=optional additional text for ValidSVG/InvalidSVG
|19def=<code>.</code>
|19stat=optional-

|20=pu
|20d=previous user name
|20stat=optional-

|name = {{T0|SimplSVG-st|SimplSVG}}
|desc-en = This template is used for marking simple SVGs. A simple SVG must have its source code suitable for manual editing. Simple SVGs are created either by radical simplification of SVGs saved by graphics software<ref name="en0">Wikimedia Commons contains hundreds of SVG images that were drawn in vector editors and then edited manually, e. g. for [[:Category:SVG compatibility issues|compatibility reasons]]. Most of them still contain complicated (vector editor)-produced code. Manual editing itself does not qualify an SVG image as &#123;{SimplSVG}}.</ref> or directly (see {{tl|Created with Text Editor}}).
|desc-td-en = This template is used for marking simple SVGs. A simple SVG must have its source code suitable for manual editing. Simple SVG are created either by radical simplification of editor-created SVG graphics or directly ("Created with Text Editor" template).
|desc-de = Kennzeichnet manuell erstellte SVG-Dateien, insb. Vereinfachungen und Nachbearbeitungen von Editor-erstellten, verwendet {{tl|HandSVG}}
|desc-td-de = Kennzeichnet manuell erstellte SVG-Dateien, insb. Vereinfachungen und Nachbearbeitungen von Editor-erstellten, verwendet "HandSVG" Vorlage
|namespace = file
|usergroup = all
|placement =
|usage-notes = or {{Tle|T=Image generation|p1=sb|size_before|p2=sa|size_actual|other parameters as described below}} {{0}}('''both''' parameters: sb '''''and''''' sa)<br>
or {{Tle|T=Image generation|p1<!-- =9|+|p2 -->=10|S|other parameters as described below}} (see the [[Template:Image generation/doc#Template SimplSVG|documentation]]) to use the advantages of the template {{T|Image generation}}, <br>
: e. g. creation of the <code>Other fields</code> / <code>Information field</code>, for a better and more uniform appearance in the {{T|Information}} box <br>
or [[Template:File generation description/doc#Simplified SVG|File generation description]] with parameter "Simplified SVG"
{{Mld
|de=Mit dem 4. Parameter kann die Kategorisierung gesteuert werden, siehe {{tl|HandSVG}}.
|en=Categorization can be controlled by parameter #4, see {{tl|HandSVG}}.<br>Because <u>just examples are useful</u> 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 {{tl|HandSVG}}).
-----
The file is categorized as {{C|SVG Simplified}} when:
* forced by categorization parameters,<br/>''or''
* categorization is not suppressed and both file sizes are specified and the size afterwards is less than a twentieth of the size before.
----
In all other cases it is categorized as {{C|Valid SVG created with Text Editor}}. To prevent this category from becoming too crowded the (vector software)-assigned subcategory is selected instead, when the software name is specified by parameter #1.
}}
|type = marker
|example =
|example-value =
|i18n-method =
|i18n-desc =
|i18n-mediawiki-msg =
|i18n-subpage =
|seealso = Other {{C|SVG created with ... templates}}, e. g.: {{tl|HandSVG}}, {{tl|Inkscape}}, {{tl|Sodipodi}}, {{tl|Adobe}}, {{tl|LibreOffice}}, {{tl|Gnuplot}}
|setscats=*{{C|SVG Simplified}} ''or'' (depending on parameter #1 and #4 to #7) one of its subcategories ''or''
*{{C|Valid SVG created with Text Editor}} ''or'' (depending on parameter #1) one of its subcategories ''or''
*{{C|Structured SVG}} controlled by parameter #5 to #7 = "H" ''or''
* ''none'' if suppressed (parameter #4 = "X" or "Y")
* {{C|SVG files to be drawn by hand}} if only tagging files or categories (see: parameter #3)
{{Anchor|ValidSVG}}

By template {{tl|ValidSVG|'''ValidSVG'''}} the file is categorized also into {{C|Valid SVG created with Text Editor}}, <small>a&nbsp;hidden&nbsp;subcategory&nbsp;of&nbsp;hidden</small>&nbsp;{{C|Valid&nbsp;SVG}}<br>
<div style="border:2px solid#080;background-color:#DFC;margin:0;width:97%;">
<span class="plainlinks" style="background-color:#FFF;border:1px solid #5A5;display:inline-block;margin:.1em;"><span style="background-color:#5A5; color:#FD7; display:inline-block; font-size:1.5em;"><!--File:Valid SVG 1.1 (green).svg|88px-->[[File:W3C Icon.svg|32px|alt=W3C|link=]]✓</span><span style="padding:0 0.25em">{{Autotranslate |base=Valid SVG|validateurl=http://validator.w3.org/check?uri={{urlencode:{{filepath:Clipping example.svg}}}}&ss=1&#35;source|highlite=#CE9}}</span></span> [[File:U+21E6.svg|12px]]This ''link to the validator'' passes the option&nbsp;to&nbsp;'''show&nbsp;the&nbsp;SVG&nbsp;coding'''</div>
|print = one
|shorthand =
|relieson =
|mustbesubst =
|useTemplateData = 1
}}

<references/>
<includeonly>{{#ifeq:{{PAGENAME}}|SimplSVG|
[[Category:SVG marker templates|SimplSVG]]
[[Category:SVG created with ... templates| ZSimpl]]
|[[Category:Miscellaneous subtemplates|SimplSVG]]}}
</includeonly>
Anonymous user

Navigation menu