Template:Created with ...

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
 
This image was created with Sodipodi.

The dummy template Created with ...

This is rather an example template than something for real use. It can be used, for testing purposes, even with {{Image generation}} where it is invoked with either "..." or the abbreviation letter "J". Its default tool is Sodipodi, it can treat as well SVG as non-SVG, and it can display source codes (when codes are shown, additional subcategorizing is currently disabled).
It shows all the translation subtemplates, and it shows examples with different topics and settings: when used in the language to be tested it displays examples for non-SVG, W3C-valid/invalid/uncheckable/unspecified and large SVG. Therefore it is possible for somebody knowing a special language, to see on the first glance whether the translation works correctly in that language.
Note: This template has some of the most "impressively" obfuscated template syntax LX has ever seen !

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Created with .../doc.


Main template (rather dummy) for the "Created with .../lc" internationalization templates ("lc" stands for the different ISO 639 language codes)

Usage

{{Created with .../lc |2= |3= }}

At an early stage of development, template/module Autotranslate needed positional parameters; it is not anymore necessary to change names to numbers, but that method is still present with these templates.

Template parameters

ParameterDescriptionDefaultStatus
11name of user or author (for display); may as well be a link
coded e.g. {{U}}, {{Uc}}, {{Ut}}, {{Uw}} or otherwise.
emptyoptional
2logofile name of logo to be shown for that tool, e.g. Inkscape-small.svg0required
3toolcatthe tool name for categorizing, e.g. "Inkscape"0required
4moreadditional text, always ending with full stop.optional
5widthwidthemptyoptional
6stylestyleemptyoptional
7categorycategory (either complete with brackets, or without)toolcatoptional
8whatdefault value for "what" (text string) - not internationalisedemptyoptional
9keycategory sortkeyemptyoptional
10subthe subcategoryemptyoptional
11errW3C error count0optional
12w3cW3C code (V, I, n, …)emptyoptional
13biglarge SVG file switch (">")emptyoptional
14toptopic code, or topic textemptyoptional
15difdifferentiationemptyoptional
16tooltool name (link), e.g. Inkscapeparm 3optional
17iconsizedisplay size for logoemptyoptional
18c_textcategory text - replaces "created with"created withoptional
190test p19emptyoptional
200used for textswitchemptyoptional
690see here the {{PAGELANGUAGE}}:0enoptional

Additional information

The template is intended to be used in the following namespaces: the Template namespace

The template is intended to be used by the following user groups: Patrollers

See also

Documentation icon Documentation [view] [edit] [history] [purge]


This documentation is transcluded from the unified template {{SVG created with/doc}}

English: Used to mark files created with ...

The template automatically sets the following categories:

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

Usage

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

From Template:Image generation the abbreviation "..." is used.

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 type, either
  • lowercase letter "v": generates the {{ValidSVG}} tag, or
  • lowercase letter "n": if picture is a raster graphic, e.g. PNG, but even GIF etc.
  • lowercase letter "s": suppresses the {{ValidSVG}} tag.
"v" or "n" or "s" may as well be given with parameter #1 if no user name is specified
noptional
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 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 Sodipodi" 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
topicto specify the short code (e.g. "f" for "flag, "i" for "icon", "m" for map) of a topicemptyoptional
vwidth
vw
to set another width for the box of ValidSVG/InvalidSVGwidthoptional
vstyle
vs
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
optional additional text for ValidSVG/InvalidSVG.optional
vopt
vo
opt
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

Localization

This template is not intended to be localized.


Examples

{{ Created with ... }}
 
This image was created with Sodipodi.
{{ Created with ...n }}
 
This graphic was created with Sodipodi.
{{ Created with ...topic = l }}
 
This logo was created with Sodipodi.
{{ Image generation... }}
 
This graphic was created with Sodipodi.
000 Some topics variations 0000 (validation not shown)
{{ Igen...s = c }}
 
This coat of arms was created with Sodipodi.
{{ Igen...s = d }}
 
This diagram was created with Sodipodi.
{{ Igen...s = eq }}
 
This chemical equation was created with Sodipodi.
{{ Igen...ns = f }}
 
This flag was created with Sodipodi.
{{ Igen...ns = iU = Example }}
 
This icon was created with Sodipodi by Example.
{{ Igen...>&s = m }}
 
This oversized map was created with Sodipodi.
 
and with QGIS.
{{ Igen...1s = v }}
 
This W3C-invalid sign was created with Sodipodi.
{{ Igen...2>s = y }}
 
This oversized W3C-invalid symbol was created with Sodipodi.
{{ Igen...-1>s = sig }}
 
This oversized W3C-uncheckable signature was created with another tool.

...and when unspecified:

 
This W3C-unspecified vector image was created with Sodipodi.


..and SVG validations: (commented out due to LUA errors) {{Valid SVG|style=fl}}{{-}} {{Invalid SVG|err=|style=fl}}{{-}} {{Invalid SVG|err=-1|style=fl}}{{-}} {{Invalid SVG|err=1|style=fl}}{{-}} {{Invalid SVG|err=23|style=fl}}{{-}}

... large SVGs: (commented out due to LUA errors) {{Valid SVG|style=none|opt=>}}{{-}} {{Invalid SVG|err=|style=fl|opt=>}}{{-}} {{Invalid SVG|err=-1|style=fl|opt=>}}{{-}} {{Invalid SVG|err=1|style=fl|opt=>}}{{-}} {{Invalid SVG|err=23|style=fl|opt=>}}{{-}} {{Invalid SVG|err=723|style=fl|opt=>}}{{-}} {{Invalid SVG|err=4723|style=fl|opt=>|more= (multiple errors).}}{{-}}