Template:Created with Inkscape: Difference between revisions
m minor corrections (final dot) |
requested by User:Sarang on my talkpage |
||
Line 1: | Line 1: | ||
{{ |
{{SVGvalid|{{{1|}}}|{{{2|}}}|{{{err|{{{errors|{{{errnum|}}}}}}}}}|{{{vs|{{{vstyle|{{{style|}}}}}}}}}|<!-- |
||
--> |
-->{{{vw|{{{vwidth|{{{width|}}}}}}}}}|{{{vt|{{{vtxt|{{{vtext|.}}}}}}}}}}}<!-- |
||
-->style={{{vstyle|{{{style|}}}}}}|more={{{vtxt|.}}}}}<!-- |
|||
-->|{{#if:{{{2|}}}|{{#ifeq:{{{2}}}|v|{{ValidSVG|opt=&ss=1#source<!-- |
|||
-->|cat=|width={{{vwidth|{{{width|}}}}}}|style={{{vstyle|{{{style|}}}}}}|more={{{vtxt|.}}}}}}}<!-- |
|||
-->|{{#ifeq:{{{1|}}}|v|{{ValidSVG|opt=&ss=1#source<!-- |
|||
-->|cat=|width={{{vwidth|{{{width|}}}}}}|style={{{vstyle|{{{style|}}}}}}|more={{{vtxt|.}}}}}}}}}}}<!-- |
|||
-->{{Autotranslate |
-->{{Autotranslate |
||
|1={{#if:{{{2|}}}|{{{1|}}}|{{#ifeq:{{{1}}}|v||{{{1|}}}}}}} |
|1={{#if:{{{2|}}}|{{{1|}}}|{{#ifeq:{{{1}}}|v||{{{1|}}}}}}} |
||
Line 18: | Line 14: | ||
|10={{{sub|{{{subcat|{{{subcategory|}}}}}}}}} |
|10={{{sub|{{{subcat|{{{subcategory|}}}}}}}}} |
||
|11={{{err|{{{errors|{{{errnum|}}}}}}}}} |
|11={{{err|{{{errors|{{{errnum|}}}}}}}}} |
||
|12={{#if:{{{err|{{{errors|{{{errnum|}}}}}}}}}| |
|12={{#if:{{{err|{{{errors|{{{errnum|}}}}}}}}}|{{#ifeq:{{{err|{{{errors|{{{errnum|}}}}}}}}}|0|V|I}}<!-- |
||
-->{{#if:{{{2|}}}|{{#ifeq:{{{2}}}|v|V}}|{{#ifeq:{{{1|}}}|v|V}}}}}} |
-->|{{#if:{{{2|}}}|{{#ifeq:{{{2}}}|v|V}}|{{#ifeq:{{{1|}}}|v|V}}}}}} |
||
|base=Created with Inkscape}}<noinclude> |
|base=Created with Inkscape}}<noinclude> |
||
{{SVG created with/doc|shorthand=Inkscape |
|||
{{documentation}} |
|||
</noinclude> |
|I=IMPORTANT}}</noinclude> |
Revision as of 10:03, 21 October 2014
Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Created with Inkscape, lang=en).
This documentation is transcluded from the unified template {{SVG created with/doc}}
The template automatically sets the following categories:
- Created with Inkscape (6 C, 10 F) (MetaCat)
- SVG created with Inkscape (10 C, 22 F) (MetaCat)
- Valid SVG created with Inkscape (5 C, 14,559 F)
- Invalid SVG created with Inkscape (8 C, 1,690 F)
- category names can be suffixed with
subcategory
if diffusion is required
Usage
{{Created with Inkscape |err= |topic= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | name of user or author (for display); may as well be a link coded e.g. with {{U}}, {{Uc}}, {{Ud}}, {{Ut}}, {{Ult}} or otherwise. | empty | optional | |
2 |
| empty | optional | |
err errors errnum | number of errors from W3C validator, generates {{InvalidSVG}} Mutually exclusive with "v"; should be a numeric value err=0 is equivalent to 2=v | empty | optional | |
more | optional additional text | . | optional | |
width | to set another width for the grey box | auto | optional | |
style | to set or overwrite other style attributes for the box | empty | optional | |
cat category | name of category/categories: complete with the brackets, or without them; replaces the category "Category:Created with Inkscape" set by default suppress categorizing with cat=- | empty | optional | |
sub subcat subcategory | for category diffusion: specify a suffix to the category name Select the best fitting subcategory, or create an appropriate new one To insert an inbetween space, use understroke _ or and not <nowiki/> | empty | optional | |
key sort sortkey | Sortkey option within the category default value is the file name, will be preceded by the | empty | optional | |
topic | to specify the short code (e.g. "f" for "flag, "i" for "icon", "m" for map) of a topic | empty | optional | |
vwidth vw | to set another width for the box of ValidSVG/InvalidSVG | width | optional | |
vstyle vs | to set or overwrite other style attributes for the box of ValidSVG/InvalidSVG e.g. vstyle=float:left or short vs=fl | style | optional | |
vtext vtxt vt | optional additional text for ValidSVG/InvalidSVG | . | optional | |
vopt vo opt | to set or overwrite the display source option for ValidSVG/InvalidSVG Suppress the display of the validation box with vopt=none (abbr: vo=n )or set vo=> when files are too large to display the SVG source code | empty | optional | |
c_t c_text | category text, e.g. "drawn with", "plotted using", "taken with" | created with | optional |
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
Relies on:
The parameter IMPORTANT
may be used
(set to any value, e.g. |1=
or |yes=
or <nowiki/>
) if the image was saved in "Inkscape SVG" format (and not in "Plain SVG")
See also
Help:Inkscape#Tagging Inkscape files for overview.
Internationalisation
Examples
{{ Created with Inkscape }} | Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Created with Inkscape, lang=en). |
{{ Created with Inkscape | n }} | Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Created with Inkscape, lang=en). |
{{ Created with Inkscape | topic = l }} | Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Created with Inkscape, lang=en). |
{{ Image generation | Inkscape }} | Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Created with Inkscape, lang=en). |
Some topics variations (validation not shown) | |
{{ Igen | Inkscape | s = c }} | Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Created with Inkscape, lang=en). |
{{ Igen | Inkscape | s = d }} | Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Created with Inkscape, lang=en). |
{{ Igen | Inkscape | s = eq }} | Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Created with Inkscape, lang=en). |
{{ Igen | Inkscape | s = f }} | Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Created with Inkscape, lang=en). |
{{ Igen | Inkscape | s = i }} | Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Created with Inkscape, lang=en). |
{{ Igen | Inkscape | > | & | s = m }} | Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Created with Inkscape, lang=en). and with QGIS. |
{{ Igen | Inkscape | 1 | s = v }} | Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Created with Inkscape, lang=en). |
{{ Igen | Inkscape | 2 | > | s = y }} | Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Created with Inkscape, lang=en). |
{{ Igen | Inkscape | -1 | > | s = sig }} |