Difference between revisions of "Template:Invalid SVG"

From blackwiki
Jump to navigation Jump to search
imported>Jonteemil
imported>Jonteemil
(Categorize by number of errors)
Line 2: Line 2:
 
<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|}}}|&#32;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:{{PAGENAME}}}}}}|http://validator.w3.org}} invalid]{{#if:{{{1|}}}|&#32;due to {{#ifeq:{{{1}}}|1|an|{{{1}}}}} error{{#ifeq:{{{1}}}|1||s}}}}.</span>
</p><includeonly>{{{category|[[Category:Invalid SVGs]]}}}</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.
  
 
===Parameters===
 
===Parameters===

Revision as of 03:31, 7 May 2020

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