Template:Valid SVG/doc

From "PTTLink Wiki"
< Template:Valid SVG
Revision as of 17:29, 3 November 2021 by Mediawiki>Sarang (+explanation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This message box is using an invalid "type=query" parameter and needs fixing.

The template automatically sets the following categories:

(when used by SVG created with ... templates the simple categorization is switched off, in favour of the Valid SVG created with …)

Usage

{{Valid SVG}}

Or use the shorthand {{ValidSVG}}

Template parameters

ParameterDescriptionDefaultStatus
cat
category
different possibilities for categorizing, e.g.
  • standard: not using this parameter, default is Valid SVG
  • suspression of categorizing: cat= or category=
  • for any category or categories, Valid SVG or another one or others, with or without subcategorizing and/or sorting options:
    • cat=[[Category:any text]]
    (complete category definition(s) with the brackets)
Any additional text (before or after the category-brackets) will follow the Valid SVG-tag.
emptyoptional
opt
option
Any text string of options can be passed to the W3C Validator
e.g. "opt=&ss=1" for "show source input"
(complete option(s) with the ampersand(s))
If any option is specified, the link is highlighted with lightgreen background color
To avoid the standard/default option setting, specify either "opt=n" (=no) or "opt=>" (for large SVG files)
emptyoptional
1=oshorthand notation: generates the option "opt=&ss=1&#35;source"
The link is highlighted with green background color
emptyoptional
urlthe complete URL address of another file, eg. another than the current version (categorization is switched off in this case, but can be set with the parameter cat)emptyoptional
widthwidth unification, e.g. width=40em or width=50%emptyoptional
styleto set or overwrite other style attributes for the box; "fl"="float:left" or "none" for the less salient smaller layout: W3C grn.svg The SVG code is valid. instead of emptyoptional
subtext for sub-categorizing, e.g. sub= by user XYZemptyoptional
moreany additional textemptyoptional

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⧽

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:Valid SVG/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.


for large SVG files, check with {{#ifeq:{{{opt}}}|>| ... }}