Difference between revisions of "Template:Invalid SVG"

From blackwiki
Jump to navigation Jump to search
imported>Jonteemil
imported>Jonteemil
m
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:{{{2|}}}| due to {{{2}}} errors}}.</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 {{{1}}} errors}}.</span>
 
</p><includeonly>{{{category|[[Category:Wikipedia images in SVG format]]}}}</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:Wikipedia images in SVG format]]}}}</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===
* {2} = <number of errors>
+
* {1} = <number of errors>
  
 
==See also==
 
==See also==

Revision as of 02:00, 6 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>

See also