Difference between revisions of "Template:Invalid SVG"

From blackwiki
Jump to navigation Jump to search
imported>MusikBot II
m (Protected "Template:Invalid SVG": High-risk template or module (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
imported>Berrely
(Remove redirect)
 
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=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 [[Scalable Vector Graphics|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|{{padleft:{{{1|}}}|4}}]]}}}</includeonly><noinclude>{{documentation|content=
 
</p><includeonly>{{{category|[[Category:Invalid SVGs|{{padleft:{{{1|}}}|4}}]]}}}</includeonly><noinclude>{{documentation|content=
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:57, 30 September 2020

Template documentation[view] [edit] [history] [purge]

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