Template:Valid SVG
Afterwards, changes can initially be done at and tested with Template:Valid SVG/sandbox.
- Editing a template causes all pages that use the template to be re-rendered. If the template is used often, this can put a lot of load on the servers since it fills up the job queue.
- Keep in mind that templates that are used on file description pages also show up on other wikis.
- This page is template-protected from editing to prevent vandalism. Only template editors and administrators can edit it. Get their attention by placing {{Edit protected}} at the talk page.
Instead of tagging with this template, the script-supported SVG check should be performed.
This template is used for marking SVGs to be valid. This can be checked with the validator of the W3C.
The template automatically sets the following categories:
- Category:Valid SVG (hidden)
- (when used by SVG created with ... templates the simple categorization is switched off, in favour of the Valid SVG created with ...)
Usage
{{Valid SVG}}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
cat | different possibilities for categorizing, e.g.
| empty | optional | |
opt | 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) | empty | optional | |
1=o | shorthand notation: generates the option "opt=&ss=1#source"The link is highlighted with green background color | empty | optional | |
url | the complete URL address of another file, eg. another than the current version[clarification needed ]
(categorization is switched off in this case, but can be set with the parameter cat) | empty | optional | |
width | width unification[clarification needed ], e.g. width=40em or width=50% | empty | optional | |
style | to set or overwrite other CSS style properties for the box; "fl"="float:left" or "none" for the less salient smaller layout which floats | empty | optional | |
sub | text for sub-categorizing, e.g. sub= by user XYZ | empty | optional | |
more | any additional text | 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
- {{HandSVG}}
- {{SimplSVG}}
- {{Inkscape-hand}} 0 and others via 0{{Igen}}
Localization
العربية ∙ беларуская (тарашкевіца) ∙ български ∙ বাংলা ∙ català ∙ čeština ∙ Deutsch ∙ Zazaki ∙ Ελληνικά ∙ English ∙ español ∙ euskara ∙ فارسی ∙ suomi ∙ français ∙ galego ∙ עברית ∙ हिन्दी ∙ hrvatski ∙ magyar ∙ հայերեն ∙ italiano ∙ 日本語 ∙ ქართული ∙ 한국어 ∙ lietuvių ∙ македонски ∙ മലയാളം ∙ မြန်မာဘာသာ ∙ norsk bokmål ∙ Plattdüütsch ∙ Nederlands ∙ norsk nynorsk ∙ polski ∙ português ∙ português do Brasil ∙ română ∙ русский ∙ sicilianu ∙ slovenščina ∙ svenska ∙ ไทย ∙ Türkçe ∙ українська ∙ 中文 ∙ 中文(中国大陆) ∙ 中文(简体) ∙ 中文(繁體)
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}}}|>| ... }}