Warning
This is an unofficial archive of PsychonautWiki as of 2025-08-11T15:14:44Z. Content on this page may be outdated, incomplete, or inaccurate. Please refer to the original page for the most up-to-date information.

Template:SVG created with/doc: Difference between revisions

From PsychonautWiki Archive
Jump to navigation Jump to search
iw>Be..anyone
m apparently aliases need a slash as separator, comma fails completely
 
>PJosepherum
m 1 revision imported
 
(No difference)

Latest revision as of 11:57, 7 May 2015

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= 0 any redirects to the template
shorttext= 0 any additional text to shorthand
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
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 ◾ ◾ ◾ ◾


English: Used to mark files sVG created with

Usage

{{SVG created with ...}}

Unified description for the SVG created with ... templates

⧼templatedata-doc-params⧽

ParameterDescriptionDefaultStatus
2lowercase letter "v": generates the {{ValidSVG}} tag
This "v" may as well be given with parameter#1 if no user name is specified
emptyoptional
styleto set or overwrite other style attributes for the boxemptyoptional
cat
category
name of category/categories, complete with the brackets
replaces the category "Category:SVG created with" set by default
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
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
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
vwidth
vw
to set another width for the box of ValidSVG/InvalidSVGwidthoptional
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)
emptyoptional
moreoptional additional text.optional
widthto set another width for the grey boxautooptional
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

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>