Difference between revisions of "Template:Invalid SVG"

From blackwiki
Jump to navigation Jump to search
imported>Jonteemil
imported>Jonteemil
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|}}}|&#32;due to {{{1}}} 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|}}}|&#32;due to {{#ifeq:{{{1}}}|1|an|{{{1}}}}} error{{#ifeq:{{{1}}}|1||s}}}}.</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.
  

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