This file is saved in human-editable plain text format. Any editing of the image or creation of any derivative work should be performed using a text editor. Please do not upload edits saved or exported with Inkscape or similar vector graphics editors, as well as with automated tools such as SVG Translate. |
Should prevent the upload of tool generated chunk code
{{NoInkscape}}
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
oruseTemplateData=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
Should prevent the upload of tool generated chunk code
Parameter | Description | Type | Status | |
---|---|---|---|---|
option | 1 | If set to “tt” (“Inkscape *t*o *t*ext editor”), it marks that the SVG was originally produced in Inkscape but later cleaned up in text editor. | Line | optional |
option | 2 | can specify (with the second parameter 2= or also with the first one 1=) whether ➜ "Inkscape should not be used": when standard (neither parameter "-" nor "+" is set) ➜ "SVGtranslate.Toolforge should not be used": when parameter "-" is set ➜ "neither Inkscape nor SVGtranslate.Toolforge should should be used": when parameter "+" is set
| Line | optional |
code | topic | code of one, two or three characters (see Template:Igen/top) | Unknown | optional |
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
{{NoInkscape|tt}}
renders as:
This SVG file was originally produced in Inkscape or a similar vector graphics editor but later modified in a text editor to clean up XML source code, add sophisticated features which cannot be used in Inkscape, or reduce the file size. Editors are strongly discouraged from overwriting this SVG file with one saved in Inkscape, even the "Plain SVG" format. Workarounds should be employed to maintain code neatness so other editors can access this file in a text editor with ease. |
العربية ∙ Deutsch ∙ English ∙ español ∙ français ∙ hrvatski ∙ magyar ∙ italiano ∙ 日本語 ∙ latviešu ∙ македонски ∙ Nederlands ∙ português do Brasil ∙ русский ∙ slovenščina ∙ 中文
This template makes use of {{Autotranslate}} and the translate extension.
Please do not upload a version translated with the buggy SVG Translate without first cleaning it from all the garbage the tool adds! |
This symbol is saved in human-editable plain text format. Any editing of the image or creation of any derivative work should be performed using a text editor. Please do not upload edits saved or exported with Inkscape or similar vector graphics editors, as well as with automated tools such as SVG Translate. Please do not upload a version translated with the buggy SVG Translate without first cleaning it from all the garbage the tool adds! |
This SVG file was originally produced in Inkscape or a similar vector graphics editor but later modified in a text editor to clean up XML source code, add sophisticated features which cannot be used in Inkscape, or reduce the file size. Editors are strongly discouraged from overwriting this SVG file with one saved in Inkscape, even the "Plain SVG" format. Workarounds should be employed to maintain code neatness so other editors can access this file in a text editor with ease. Please do not upload a version translated with the buggy SVG Translate without first cleaning it from all the garbage the tool adds! |
Explanation of the options and their usage on the talk page.