Difference between revisions of "Template:Invalid SVG"

From blackwiki
Jump to navigation Jump to search
imported>JJMC89
(Update validator link; move doc to subpage)
imported>JJMC89
(pad category sorting)
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=https://validator.w3.org/nu/]]✗</span>
 
<span style="background-color:#CF1919; color:#FFDD77; display:inline-block; font-size:1.5em;">[[File:W3C Icon.svg|32px|alt=W3C|link=https://validator.w3.org/nu/]]✗</span>
 
<span style="padding:0 0.25em;">The source code of this [[SVG]] is [https://validator.w3.org/nu/{{#ifexist:File:{{PAGENAME}}|?doc=https:{{urlencode:{{filepath:{{#titleparts:{{PAGENAME}}}}}}}}}} invalid]{{#if:{{{1|}}}|&#32;due to {{#ifeq:{{{1|}}}|1|an error|{{{1}}} errors}}}}.</span>
 
<span style="padding:0 0.25em;">The source code of this [[SVG]] is [https://validator.w3.org/nu/{{#ifexist:File:{{PAGENAME}}|?doc=https:{{urlencode:{{filepath:{{#titleparts:{{PAGENAME}}}}}}}}}} invalid]{{#if:{{{1|}}}|&#32;due to {{#ifeq:{{{1|}}}|1|an error|{{{1}}} errors}}}}.</span>
</p><includeonly>{{{category|[[Category:Invalid SVGs|{{{1}}}]]}}}</includeonly><noinclude>{{documentation|content=
+
</p><includeonly>{{{category|[[Category:Invalid SVGs|{{padleft:{{{1|}}}|4}}]]}}}</includeonly><noinclude>{{documentation|content=
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Revision as of 23:49, 26 September 2020

Usage

{{Invalid SVG|number of errors}} This template may be used to add a validation link to an SVG file image after verifying that its code is W3C-invalid.

Categorization

The files are categorized in Category:Invalid SVGs.

See also