Template:Created with ...
![](https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/Sodipodi_Logo.svg/22px-Sodipodi_Logo.svg.png)
The dummy template Created with ...
This is rather an example template than something for real use.
It can be used, for testing purposes, even with {{Image generation}} where it is invoked with either "..." or the abbreviation letter "J".
Its default tool is Sodipodi, it can treat as well SVG as non-SVG, and it can display source codes (when codes are shown, additional subcategorizing is currently disabled).
It shows all the translation subtemplates, and it shows examples with different topics and settings:
when used in the language to be tested it displays examples for non-SVG, W3C-valid/invalid/uncheckable/unspecified and large SVG.
Therefore it is possible for somebody knowing a special language, to see on the first glance whether the translation works correctly in that language.
Note: This template has some of the most "impressively" obfuscated template syntax LX has ever seen !
Main template (rather dummy) for the "Created with .../lc
" internationalization templates ("lc
" stands for the different ISO 639 language codes)
Usage
{{Created with .../lc
|2= |3= }}
At an early stage of development, template/module Autotranslate needed positional parameters; it is not anymore necessary to change names to numbers, but that method is still present with these templates.
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | 1 | name of user or author (for display); may as well be a link coded e.g. {{U}}, {{Uc}}, {{Ut}}, {{Uw}} or otherwise. | empty | optional |
2 | logo | file name of logo to be shown for that tool, e.g. Inkscape-small.svg | required | |
3 | toolcat | the tool name for categorizing, e.g. "Inkscape" | required | |
4 | more | additional text, always ending with full stop | . | optional |
5 | width | width | empty | optional |
6 | style | style | empty | optional |
7 | category | category (either complete with brackets, or without) | toolcat | optional |
8 | what | default value for "what" (text string) - not internationalised | empty | optional |
9 | key | category sortkey | empty | optional |
10 | sub | the subcategory | empty | optional |
11 | err | W3C error count | 0 | optional |
12 | w3c | W3C code (V , I , n , …) | empty | optional |
13 | big | large SVG file switch ("> ") | empty | optional |
14 | top | topic code, or topic text | empty | optional |
15 | dif | differentiation | empty | optional |
16 | tool | tool name (link), e.g. Inkscape | parm 3 | optional |
17 | iconsize | display size for logo | empty | optional |
18 | c_text | category text - replaces "created with" | created with | optional |
19 | test p19 | empty | optional | |
20 | used for textswitch | empty | optional | |
69 | see here the {{PAGELANGUAGE}}: | en | optional |
Additional information
The template is intended to be used in the following namespaces: the Template namespace
The template is intended to be used by the following user groups: Patrollers
See also
Created with ... templates
I18n explanation
Localization
Lua error in Module:Lang_links at line 59: attempt to index a nil value.
This template is localized through {{Autotranslate}}.
To add your language to the list of languages supported by this template, please copy the code of [[Template:Created with .../lc
/en]] (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang
from en
(or whatever language you are translating) to the language code of your language.
This documentation is transcluded from the unified template {{SVG created with/doc}}
The template automatically sets the following categories:
- Created with Sodipodi (1 C) (MetaCat)
- SVG created with Sodipodi (3 C) (MetaCat)
- Valid SVG created with Sodipodi (2 C, 37 F)
- Invalid SVG created with Sodipodi (1 C, 34 F)
- Unspec SVG created with Sodipodi (empty)
- PNG created with Sodipodi (empty)
- and with
code=
- and with
- Created with Sodipodi code (empty) (MetaCat)
- SVG created with Sodipodi code (empty) (MetaCat)
- category names can be suffixed with
subcategory
if diffusion is required
Usage
{{Created with ... |err= |topic= }}
From Template:Image generation the abbreviation “...” is used.
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 | Depending on file type, either:
| n | 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 Sodipodi" 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
See also
Help:Inkscape#Tagging Inkscape files for overview.
Internationalisation
![](https://upload.wikimedia.org/wikipedia/commons/thumb/1/17/System-search.svg/25px-System-search.svg.png)
Examples
{{ Created with ... }} | ![]() This image was created with Sodipodi. |
{{ Created with ... | n }} | |
{{ Created with ... | topic = l }} | ![]() This logo was created with Sodipodi. |
{{ Image generation | ... }} |
Some topics variations (validation not shown) | |
{{ Igen | ... | s = c }} | / This coat of arms was created with Sodipodi. |
{{ Igen | ... | s = d }} | / This diagram was created with Sodipodi. |
{{ Igen | ... | s = eq }} | / This chemical equation was created with Sodipodi. |
{{ Igen | ... | n | s = f }} | N This flag was created with Sodipodi. |
{{ Igen | ... | n | s = i | U = Example }} | |
{{ Igen | ... | > | & | s = m }} | |
{{ Igen | ... | 1 | s = v }} | / This W3C-invalid sign was created with Sodipodi. |
{{ Igen | ... | 2 | > | s = y }} | / This oversized W3C-invalid symbol was created with Sodipodi. |
{{ Igen | ... | -1 | > | s = sig }} |
...and when unspecified:
![](https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/Sodipodi_Logo.svg/22px-Sodipodi_Logo.svg.png)
..and SVG validations: (commented out due to LUA errors)
{{Valid SVG|style=fl}}{{-}}
{{Invalid SVG|err=|style=fl}}{{-}}
{{Invalid SVG|err=-1|style=fl}}{{-}}
{{Invalid SVG|err=1|style=fl}}{{-}}
{{Invalid SVG|err=23|style=fl}}{{-}}
... large SVGs: (commented out due to LUA errors)
{{Valid SVG|style=none|opt=>}}{{-}}
{{Invalid SVG|err=|style=fl|opt=>}}{{-}}
{{Invalid SVG|err=-1|style=fl|opt=>}}{{-}}
{{Invalid SVG|err=1|style=fl|opt=>}}{{-}}
{{Invalid SVG|err=23|style=fl|opt=>}}{{-}}
{{Invalid SVG|err=723|style=fl|opt=>}}{{-}}
{{Invalid SVG|err=4723|style=fl|opt=>|more= (multiple errors).}}{{-}}