
Template:SVG created with/doc
This unified template documentation can be controlled by some parameters, e.g.
◾ desc= | any description of the template, if different from default |
◾ 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 |
◾ opt= | (=yes) if alias "opt" to vopt and vo |
◾ 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) |
◾ inval= | e.g. "no" when no categories for W3C-invalid code are needed |
◾ I= | (Upper case "i"): some description for parameter IMPORTANT |
◾ ◾ ◾ ◾ End of the documentations documentation ◾ ◾ ◾ ◾
Usage
{{SVG created with ...}}
Unified description for the SVG created with ... templates
⧼templatedata-doc-params⧽
Parameter | Description | Default | Status | |
---|---|---|---|---|
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 | |
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" 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 _ 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 sortkey if any is given) | 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 | |
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 | |
vwidth vw | to set another width for the box of ValidSVG/InvalidSVG | width | optional | |
vtext vtxt vt | optional additional text for ValidSVG/InvalidSVG | . | optional | |
vopt vo | 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) | empty | optional | |
more | optional additional text | . | optional | |
width | to set another width for the grey box | auto | 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 |
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
⧼Seealso⧽
Help:Inkscape#Tagging Inkscape files for overview
Localization
English |
This template is localized through {{Autotranslate}}.
To add your language to the list of languages supported by this template, please copy the code of Template:SVG created with .../en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.
<inputbox> type=create preload=Template:SVG created with .../en default=Template:SVG created with .../⧼Lang⧽ </inputbox>