Jump to content
Wikimedia Commons

Template:Created with Python

From Wikimedia Commons, the free media repository
 
This image was created with Python.
Documentation icon Documentation [view] [edit] [history] [purge]

This documentation is generated by the {{SVG created with/doc}} meta-template.


English: Used to mark files created with Python.
Deutsch: Wird benutzt um mit Python erstellte Dateien zu markieren.
Svenska: Används för att markera filer som har skapats med Python.

As its name indicates, this template was originally designed to identify the software (application, in most cases) used to create the file, but its role has since largely expanded. It now displays a horizontal (usually grey) box describing the file, potentially specifying its author, and controls its categorization.

This template may or may not display another box about SVG validity in some cases. When that validity box displays, it is first.

The template automatically sets the following categories:

and with code=
category names can be suffixed with subcategory if diffusion is required

Usage

{{Created with Python |err= |topic= }}

Template parameters

ParameterDescriptionDefaultStatus
1name of user or author (for display); may as well be a link
coded e.g. with {{U}}, {{Uc}}, {{Ud}}, {{Ut}}, {{Ult}} or otherwise.
emptyoptional
2Depending on file types and the desired behavior, one of the following letters, always lowercase: The value of this parameter may be specified in parameter #1 instead, when no author is specified.emptyoptional
err
errors
errnum
number of errors from W3C validator, generates {{InvalidSVG}}
Mutually exclusive with "v"; should be a numeric value
err=0 is equivalent to 2=v
emptyoptional
moreoptional additional text.optional
widthto set another width for the (normally grey) boxautooptional
styleto set or overwrite other style attributes for the boxemptyoptional
cat
category
name of category/categories: complete with the brackets, or without them;
replaces the category "Category:Created with Python" set by default
suppress categorizing with cat=-
emptyoptional
sub
subcat
subcategory
for category diffusion: specify a suffix to the category name
Select the best fitting subcategory, or create an appropriate new one
To insert an inbetween space, use understroke _ or &nbsp; and not <nowiki/>
emptyoptional
key
sort
sortkey
Sortkey option within the category

default value is the file name, will be preceded by the |sortkey= if any is given)

If an error number is specified, it is always the first sort key, in descending order.
emptyoptional
topicthe topic, specified using its short code (e.g. "f" for "flag, "i" for "icon", "m" for map)emptyoptional
vwidth
vw
SVG validity: to set another width for the box of ValidSVG/InvalidSVG[clarification needed ]widthoptional
vstyle
vs
SVG validity: to set or overwrite other style attributes for the box of ValidSVG/InvalidSVG
e.g. vstyle=float:left or short vs=fl
styleoptional
vtext
vtxt
vt
SVG validity: optional additional text for ValidSVG/InvalidSVG.optional
vopt
vo
opt
SVG validity: to set or overwrite the display source option for ValidSVG/InvalidSVG
Suppress the display of the validation box with vopt=none (abbr: vo=n)
or set vo=> when files are too large to display the SVG source code
emptyoptional
c_t
c_text
category text, e.g. "drawn with", "plotted using", "taken with"created withoptional

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

Internationalisation

 See also category: Created with ... I18nTemplates .
العربية  Boarisch  беларуская  беларуская (тарашкевіца)  বাংলা  català  нохчийн  čeština  dansk  Deutsch  Österreichisches Deutsch  Schweizer Hochdeutsch  Deutsch (Sie-Form)  Ελληνικά  English  Canadian English  British English  Esperanto  español  eesti  euskara  فارسی  suomi  français  galego  עברית  हिन्दी  hrvatski  hornjoserbsce  magyar  հայերեն  Bahasa Indonesia  italiano  日本語  қазақша  ភាសាខ្មែរ  한국어  lietuvių  македонски  മലയാളം  norsk bokmål  Plattdüütsch  Nederlands  norsk nynorsk  norsk  occitan  polski  português  português do Brasil  română  русский  slovenčina  slovenščina  svenska  ไทย  Türkçe  українська  Tiếng Việt  中文  中文(中国大陆)  中文(简体)  中文(繁體)  中文(臺灣)  +/−

Examples

The default behavior of several Created with tool templates, including {{Created with Inkscape}} and {{Created with GIMP}}, "magically" varies according to the context. Therefore, even if the table below shows a certain result, for SVG files, the actual result may be quite different. Using Inkscape as example, in most namespaces a completely default call may result in:
 
This image was created with Inkscape .
But in the main namespace (File), when the file type is detected (using the extension) as SVG, the same call may actually yield:
 
This W3C-unspecified vector image was created with Inkscape .
{{ Created with Python }}
 
This image was created with Python.
{{ Created with PythonAlice }}
 
This image was created with Python by Alice.
{{ Created with Pythontopic = l }}
 
This logo was created with Python.
{{ Created with PythonBobv0 }}
This template may not support this form. Only tools which support SVG (such as Inkscape and GIMP) accept it.
W3C iThe source code of this SVG is valid .
 
This image was created with Python by Bob.
000 Some topics variations 0000 (validation not shown)
{{ Igen Pythons = c }}
 
This coat of arms was created with Python.
{{ IgenPythons = d }}
 
This diagram was created with Python.
{{ IgenPythons = eq }}
 
This chemical equation was created with Python.
{{ IgenPythonns = f }}
 
This flag was created with Python.
{{ IgenPythonns = iU = Example }}
 
This icon was created with Python by Example.
{{ IgenPython>&s = m }}
 
This oversized map was created with Python.
 
and with QGIS .
{{ IgenPython1s = v }}
 
This W3C-invalid sign was created with Python.
{{ IgenPython2>s = y }}
 
This oversized W3C-invalid symbol was created with Python.
{{ IgenPython-1>s = sig }}
 
This oversized W3C-uncheckable signature was created with another tool.


AltStyle によって変換されたページ (->オリジナル) /