Template:SVG created with/doc/sandbox
Jump to navigation
Jump to search
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= |
any redirects to the template |
◾ shorttext= |
any additional text to shorthand
|
◾ igen= |
abbreviation used by the template {{Image generation}} |
◾ catnam= |
if category names differ from template name |
◾ cattext= |
any additional text following categories |
◾ n= |
(=yes) if category "PNG created with ..." should exist |
◾ sub= |
text or (=n) if no subcategorization should be possible |
◾ vopttext= |
(=yes) or any additional text to vopt
|
◾ 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
|
◾ 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 |
◾ I18dot= |
e.g. "yes": uses internationalization subtemplates from "Created with ..." |
◾ ◾ ◾ ◾ End of the documentations documentation ◾ ◾ ◾ ◾
}}}|...}}</includeonly>
English: Used to mark files sVG created with/doc
Usage
{{SVG created with/doc ... |err= |topic= }}
Unified description for the SVG created with ... templates
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | name of user or author (for display); may as well be a link coded e.g. with {{U}}, {{Uc}}, {{Ud}}, {{Ut}}, {{Ult}} or otherwise. | empty | optional | |
2 | lowercase letter "v": generates the {{ValidSVG}} tag This "v" may as well be given with parameter#1 if no user name is specified | empty | optional | |
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 | empty | optional | |
more | optional additional text | . | optional | |
width | to set another width for the grey box | auto | optional | |
style | to set or overwrite other style attributes for the box | empty | optional | |
cat category | name of category/categories, complete with the brackets replaces the category "Category:SVG created with/doc" set by default | empty | optional | |
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 and not <nowiki/> | empty | optional | |
key sort sortkey | Sortkey option within the category default value is the file name, will be preceded by the | empty | optional | |
topic | to specify the short code (e.g. "f" for "flag, "i" for "icon", "m" for map) of a topic | empty | optional | |
vwidth vw | to set another width for the box of ValidSVG/InvalidSVG | width | optional | |
vstyle vs | to set or overwrite other style attributes for the box of ValidSVG/InvalidSVG e.g. vstyle=float:left or short vs=fl | style | optional | |
vtext vtxt vt | optional additional text for ValidSVG/InvalidSVG | . | optional | |
vopt vo opt | to set or overwrite the display source option for ValidSVG/InvalidSVG (set vo=<nowiki/> to suppress, e.g. when files are too large for validation)Suppress the display of the validation box with vopt=none (abbr: vo=n ) | empty | optional |
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