Template:NoInkscape

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
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.
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:NoInkscape/doc.

Should prevent the upload of tool generated chunk code

Usage

{{NoInkscape}}

Or use the shorthand

Template parameters

<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

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 or ‎useTemplateData=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 TemplateDataCommons-specific information

Should prevent the upload of tool generated chunk code

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
option1

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.

Lineoptional
option2

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

Lineoptional
codetopic

code of one, two or three characters (see Template:Igen/top)

Unknownoptional

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

Example

{{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.

Localization

العربية  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.


Other layouts

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.