Difference between revisions of "Template:Invalid SVG"
Jump to navigation
Jump to search
imported>Jonteemil (Categorize by number of errors) |
imported>Jonteemil (Workaround bug) |
||
| Line 1: | Line 1: | ||
<p class="plainlinks" style="background-color:#FFF; border:1px solid #CF1919; display:inline-block; margin:.1em;"> | <p class="plainlinks" style="background-color:#FFF; border:1px solid #CF1919; display:inline-block; margin:.1em;"> | ||
<span style="background-color:#CF1919; color:#FFDD77; display:inline-block; font-size:1.5em;">[[File:W3C Icon.svg|32px|alt=W3C|link=http://validator.w3.org/]]✗</span> | <span style="background-color:#CF1919; color:#FFDD77; display:inline-block; font-size:1.5em;">[[File:W3C Icon.svg|32px|alt=W3C|link=http://validator.w3.org/]]✗</span> | ||
| − | <span style="padding:0 0.25em;">The source code of this [[SVG]] is [{{#ifexist: :File:{{PAGENAME}}|http://validator.w3.org/check?uri=http:{{urlencode:{{filepath:{{PAGENAME}}}}}}|http://validator.w3.org}} invalid]{{#if:{{{1|}}}| due to {{#ifeq:{{{1}}}|1|an|{{{1}}}}} error{{#ifeq:{{{1}}}|1||s}}}}.</span> | + | <span style="padding:0 0.25em;">The source code of this [[SVG]] is [{{#ifexist: :File:{{PAGENAME}}|http://validator.w3.org/check?uri=http:{{urlencode:{{filepath:{{#titleparts:{{PAGENAME}}}}}}}}|http://validator.w3.org}} invalid]{{#if:{{{1|}}}| due to {{#ifeq:{{{1}}}|1|an|{{{1}}}}} error{{#ifeq:{{{1}}}|1||s}}}}.</span> |
</p><includeonly>{{{category|[[Category:Invalid SVGs|{{{1}}}]]}}}</includeonly><noinclude>{{documentation|content=This template may be used to add a validation link to an SVG file image after verifying that its code is [[W3C]]-invalid. | </p><includeonly>{{{category|[[Category:Invalid SVGs|{{{1}}}]]}}}</includeonly><noinclude>{{documentation|content=This template may be used to add a validation link to an SVG file image after verifying that its code is [[W3C]]-invalid. | ||
Revision as of 06:53, 7 May 2020
File:W3C® Icon.svg✗ The source code of this SVG is invalid.
50px Template documentation
This template may be used to add a validation link to an SVG file image after verifying that its code is W3C-invalid.
Parameters
- {1} = <number of errors>
Categorization
The files are categorized in Category:Invalid SVGs.
See also
| The above documentation is transcluded from Template:Invalid SVG/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |