Changes

Jump to navigation Jump to search
m
typo
<includeonly>{{#ifeq:{{{3|}}}|000|<div style="border:2px solid #AAA;background-color:#EEE;margin:.5em;text-align:center;{{{style|}}}">[[File:Oxygen480-actions-document-edit.svg|{{#if:{{{4|}}}|56|40}}px|left|link=Category:Qs icons SVG]]{{#ifeq:{{NAMESPACE}}|Category|This category contains SVG files showing very simple images|This {{#switch:{{{9|}}}|0|=|-1=uncheckable|invalid}} SVG {{#if:{{{8|}}}|{{{8}}}|{{Igen/top|{{{6|}}}|2=file|lang=en}}}} <span class="plainlinks" style="background-color:{{#if:{{{err|}}}|#FCA|{{#switch:{{{9|}}}|0|=#CFA|#FCA}}}}">[http://validator.w3.org/check?uri={{urlencode:{{filepath:{{PAGENAME}}}}}}&ss=1 shows]</span> a very simple image}}. To draw uncomplicated graphics {{C|Created with Text Editor|with a text editor}} seems more adequate<br>than to use {{#if:{{{1|}}}|{{{1}}}|a vector graphics program}}, and will often result in a ''dramatic reduction'' of file size.{{#if:{{{4|}}}|<br>For an example, see the file {{F|{{#invoke:File|woExtension|file={{{4}}}}}.svg|b|{{{5|}}}}}.}}</div>{{#ifeq:{{{7}}}|-||<!--
-->{{{cat|{{iffile|[[Category:SVG files to be drawn by hand{{#if:{{{4|}}}|/with example}}{{#ifeq:{{NAMESPACE}}|Category|{{!}}*|{{{7|}}}}}]]}}}}}}}<!--
-->|<!--
-->{{#if:{{{tag|}}}|[[Category:MaintSimplTag]]|{{ValidSVG|category=[[Category:Valid SVG created with Text Editor<!--
-->{{#if:{{{vsub|}}}|{{#ifeq:{{{vsub|}}}|-||{{Igen/sub|{{{vsub}}}}}}}|{{#switch:{{{4|}}}|M|N|S|t|X|Z=|{{Igen/sub|{{{4|}}}}}}}}}<!--
-->]]|opt=&ss=1&#35;source|width={{{vwidth|{{{width|}}}}}}|style={{#switch:{{{vs}}}|-|none=none|{{{vs|{{{vstyle|{{{style|none}}}}}}}}}}}<!--
-->|more={{{vtxt|.}}}}}}}<!--

== This template invokes the sub-template with normalized, precalculated parameter values ==
-->{{SimplSVG-st<!--
1-->|{{{user|}}}<!-- user id
2-->|{{{sb|{{{2|}}}}}}<!-- size before
3-->|{{{sa|{{{3|}}}}}}<!-- size after = now
4-->|{{lc:{{{4|}}}}}<!-- topic
5-->|{{lc:{{{5|}}}}}<!-- method 1
6-->|{{lc:{{{6|}}}}}<!-- method 2
7-->|{{lc:{{{7|}}}}}<!-- method 3
8-->|{{lc:{{{8|}}}}}<!-- method 4
9-->|{{lc:{{{9|}}}}}<!-- method 5
D-->|D={{ifNum|{{{2|}}}|{{ifNum|{{{3|}}}|{{padleft:{{#expr:10000*{{#expr:{{{3}}}/{{{2}}} round 4}}}}|4|0}}|0}}|0}}<!-- percentage
E-->|E={{#ifeq:{{{4}}}|jc|0|{{ifNum|{{{2|}}}|{{ifNum|{{{3|}}}|{{#ifexpr:{{{2|0}}}>(20*{{{3|0}}})|3|2}}|1}}|0}}}}<!-- main cat?
F-->|F={{ifNum|{{{2|}}}|{{#ifexpr:{{{2}}}>999|{{#expr:floor{{#expr:{{{2}}}/1000}}}}&#x2008;}}{{padleft:{{#expr:{{{2}}}mod1000}}|3|0}} bytes}}<!--
H-->|H={{#switch:h|{{lc:{{{5}}}}}|{{lc:{{{6}}}}}|{{lc:{{{7}}}}}|{{lc:{{{8}}}}}|{{lc:{{{9}}}}}=Q|{{#switch:{{{4}}}|M=M|N|Y=N<!--
-->|{{#switch:S|{{{5}}}|{{{6}}}|{{{7}}}|{{{8}}}|{{{9}}}=S|Z}}}}}}<!-- (QMSZ)
L-->|L={{{link|}}}<!--
M-->|M={{#switch:{{{4}}}|N|Y=X|{{{4|}}}}}<!-- (MSX.4)
N-->|N={{#if:{{{1|}}}|{{#switch:{{{1}}}
|A|Adobe=Adobe
|B=BKchem
|C=ChemDraw
|D=CorelDRAW
|E=ElCompLib
|F=Fig2SVG
|G=Gnuplot
|I=Inkscape
|matplotlib=Matplotlib
|O|U=Other tools
|OOo|OpenOffice.org=OpenOffice
|S|Sodipodi=Sodipodi
|T=Texteditor
|#default={{{1}}}}}}}<!--
P-->|P={{#if:{{{1|}}}|{{#switch:{{{1}}}
|A|Adobe=Adobe Illustrator
|B=BKchem
|C=ChemDraw
|D=CorelDRAW
|E=ElCompLib
|F=Fig2SVG
|G=Gnuplot
|I=Inkscape
|matplotlib=Matplotlib
|O|U=Other tools
|OOo|OpenOffice.org=OpenOffice
|S|Sodipodi=Sodipodi-Inkscape
|T=a Text Editor
|#default={{{1}}}}}}}<!--
Q-->|Q={{{sss|}}}<!-- Subcategory Structured Svg\
R-->|R={{#if:{{{ni|}}}|ni}}<!--
S-->|S={{{sub|{{{subcat|{{{subcategory|}}}}}}}}}<!--
T-->|T={{#if:{{{topic|}}}|{{{topic}}}|{{#switch:{{{4}}}|M|N|S|X|Y=-|{{lc:{{{4|}}}}}}}}}<!--
U-->|U={{#if:{{{pu|}}}|{{{pu|}}}}}<!--
V-->|V={{{vstyle|{{#switch:{{{vs}}}|-|n|none|=none|{{{vs|}}}}}}}}<!-- "none" for suppress 3rd line (will not work with "vstyle"!)
X-->|X={{#switch:%s|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}=s|#default=<!--
-->{{#switch:%f|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}=v|#default=<!--
-->{{#switch:%n|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}=v|#default=<!--
-->{{#switch:%r|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}=v|#default=<!--
-->{{#switch:%v|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}=v|#default=<!--
-->{{#switch:%|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}=x}}}}}}}}}}}}<!--
+-->|key={{{key|}}}|width={{{width|}}}|style={{{style|}}}|vsub={{{vsub|}}}|vopt={{{vopt|}}}<!--
-->}}{{#if:{{{style|}}}||{{#switch:{{{vs}}}|-|n|none|=|<br clear=left>}}}}}}</includeonly><noinclude>
For layout examples see the [[Template talk:SimplSVG|talk page]].
{{documentation}}
</noinclude>
Anonymous user

Navigation menu