Template:SVG created with/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Documentation icon Documentation [view] [edit] [history] [purge]

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

English: Used to mark files sVG created with.

Usage

{{SVG created with ... |err= |topic= }}

Unified description for the SVG created with ... templates

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
2
  • lowercase letter “v”: generates the {{ValidSVG}} tag
    This “v” may as well be given with parameter #1 when no user name 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 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:SVG created with" 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

Use SVG created with/doc/sandbox.

This unified template documentation can be controlled by some parameters, e.g.

|desc= any description of the template, if different from default
|addinf= additional information
|shortkey= sort key, e.g. template name without "Created with"
Default is the value of |shorthand=
|shorthand= 0 any redirects to the template
|shorttext= 0 any additional text to |shorthand=
|redirects= 0 one or more names of redirects
|igen= 0 abbreviation used by the template {{Image generation}}
|catnam= if category names differ from template name
|cattext= 0 any additional text following categories
|n= (=yes) if category "PNG created with ..." should exist
|descname= replace the BASEPAGENAME at description
|c_t= an "X" when 'extracted'
|sub= text or (=n) if no subcategorization should be possible
|top= default for topic
|sandbox= e.g. "yes" if a sandbox exists
|vopttext= 0 (=yes) or any additional text to |vopt=
|opt= not longer used
|vdef= value for parameter #2 to preset default (e.g. "n" or "v")
|vstyle= value for parameter |vstyle= to preset default (e.g. "fl")
|code= (1, 2 or 3) if the file description should display source code(s)
|codetext= any additional text when |code=
|vtext= any any other text for |vtext=
|inval= e.g. "no" when no categories for W3C-invalid code are needed
|I= (Upper case "i"): some description for parameter |IMPORTANT=
|w1= width for left table column of example; default=37
|w2= width for right table column of example; default=63
|unspec= e.g. "yes": when a category for unspecified W3C should exist
|topic= e.g. "no" to suppress the suggestion
|I18dot= e.g. "yes": uses internationalization subtemplates from "Created with ..."
"yes" is now assumed default - use "no" to display the old subtemplates
See also