Open main menu

seealso {{Created with/sandbox}} for development


Workflow:

  1. Created with ... templates‎ (there are templates for 94 + 68 different tools)
  2. Created with .../lc templates (one for each language, for all tools)
Created with ... /lc templates (one for each tool and each language) — deprecated
  1. Created with/lc templates (now only one for each language)
  2. Created with template

The first template is user visible, it gets all the parameters, but works also with none. See a short description.
The second template creates parts of the nationalized text for the box,
the third template completes it. This step can also be dropped, see {{Commonist}} for that exception
The fourth template at last displays the box (formatted with the parmeters width and style),
and now the categorization occurs (controlled by the parameters category, key, sub, err, w3c - because the categorisation is not done earlier all these parameters are to be passed through from the first to the last template).

It is the same workflow with the 77 Taken with ... templates. For the parameter passing see also #Chain and #Final dot.


Contents

HelpEdit

Hi I'm using this template via Template:Taken with Canon Digital Ixus 500. Is there a way to edit the teplate Template:Taken with Canon Digital Ixus 500 somehow, so that files placed into the more suitable category Category: Taken with Canon Digital IXUS 500?--TUBS  07:43, 8 June 2009 (UTC)

seems to work now.   Done --TUBS  08:03, 8 June 2009 (UTC)

WidthEdit

Hi, is it possible to extend the width of the box to span the entire screen, like almost all other templates like Quality Image, Location, ... The current size doesn't fit optically with all the rest of the layout of an image page. -- H005 (talk) 07:00, 17 September 2009 (UTC)

Note, that these templates are usually within the gray summary box on the description page - unlike quality image etc.
See the images in Category:Uploaded with Commonist or this SVG.
Lipedia (talk) 19:20, 21 February 2010 (UTC)
It's even worse for {{Inkscape-hand}}. /129.215.149.99 13:34, 23 August 2010 (UTC)
This vector image was created with Inkscape, and then manually edited.
I think making the width 100% would look bad on widescreen/hi-res monitors since the text only takes up a little part of it. Rocket000 (talk) 22:07, 23 August 2010 (UTC)

DesignEdit

I think the yellow is too eye-catching for an rather subsidiary information. I'd rather like to see it like this:

 

This file was uploaded with Commonist.

 

This vector image was created with Inkscape.

Any thoughts? Greetings, Lipedia (talk) 18:57, 21 February 2010 (UTC)

Done. Lipedia (talk) 18:52, 26 February 2010 (UTC)
I kinda liked the old colors. It was distinct and easily recognizable... but I guess this is fine too. Let's just not make this bigger than it needs to be. I changed the dimensions back. Rocket000 (talk) 09:38, 27 February 2010 (UTC)

Well, you may do the same with Template:Taken with, so they'll look alike. Lipedia (talk) 22:32, 27 February 2010 (UTC)

Thanks, I forgot about that. Rocket000 (talk) 02:50, 28 February 2010 (UTC)

Design (part2)Edit

I was wondering where those 'created with' based templates should be placed in the image? Inside the information description? outside of it? In the second case, would such rendering (with an optional syntax) possible?

Software used  

This vector image was created with Inkscape.

Esby (talk) 00:41, 18 June 2011 (UTC)

Possible with {{Information|Other fields={{Information field|name=Software used|value={{Created with Inkscape|2=v}}}}}},
or shorter (for copying)   |Other fields={{InFi|Software used|{{Inkscape|v}}}}
or everywhere inside or outside the information description just   {{InFi|Software used|{{Inkscape|v}}}}

  sarang사랑

Remove width:100%Edit

The width:100% is causing layout glitch when there is an object floating to left preceding this template as shown below:}

Left-floating object
{{Created with}} width=100 (was default)

This results in this template exceeding the browser's width and causing the horizontal scroll bar to appear which is visually disturbing. A common issue with {{SimplSVG}} when parameter {{{1}}} is properly applied. -- Sameboat - 同舟 (talk) 03:51, 2 April 2014 (UTC)

Width default is now 90%Edit

The width, now defaulted with 90%, is individually adjustable with any value.

Some examples for now possible widths:
Left-floating object
{{Created with}} width=90% (now default) ... seems to fit enough in most cases
Left-floating object
{{Created with|width=88%}} width=88%
Left-floating object
{{Created with|width=80%}} width=80%
Left-floating object
{{Created with|width=60%}} width=60%
Left-floating object
{{Created with|width=4%0}} width=40%
Left-floating object
{{Created with|width=22.75px}} width=22.75px   (will need 3 lines)
Left-floating object
{{Created with|width=200%}} width=200% to show a very very long box
Width example (a)
{{Created with|width=auto}} width=auto
Width example (b)
{{Created with|width=}} width=

It will work properly as soon as all the templates using {{Created with}} pass the width value through to the final sub-template. It will need an admins help because most of the templates are blocked. sarang사랑 07:49, 4 April 2014 (UTC)

Please edit all sub-templates like {{Created with/en}} as well. -- Sameboat - 同舟 (talk) 08:05, 4 April 2014 (UTC)
OK now. -- Sameboat - 同舟 (talk) 23:11, 5 April 2014 (UTC)

Current situationEdit

() Because the change in the protected template was from width=100%; to width={{{width|90}}}%; and not to the suggested width={{{width|90%}}}; it is only possible to overwrite the 90 from outside; the other possibilities for width: auto (which is the default, if not inherited), a length specification (with e.g. px, em, mm), initial or inherit cannot be used. As a fact, any invalid value for the percentage, e.g. non-numeric values, change to the default which is auto. This is demonstrated in the above "Width example (a)" where the final setting is not width=auto but the wrong width=auto%. The second try "Width example (b)" should set to width= (the default) but sets to width=% which is invalid and sets therefore also to the auto default.

In {{Created with/en}} the setting is currently |width= instead of |width=, that means that the parameter settings cannot be passed through: no matter what is done outside, the final width is always auto. This is not the intended option.

I think we can live with the situation in {{Created with}}; but the change in the {{Created with/en}}/{{Created with/it}} needs correction to accept the settings. Best would be:

  • width={{{width|90%}}}; or
  • width={{{width|}}}; (gives "auto" if not overwritten)
  • the possibility to overwrite the default value in the templates using "Created with"
The chain is e.g.
  1. {{Created with Inkscape}}, width can be set   {{Autotranslate}} gets it with |5={{{width|}}}
  2. {{Created with Inkscape/en}}, width is passed   from {{Autotranslate}} via |width={{{5|}}}
  3. {{Created with/en}}, width is passed   with |width={{{width|}}}
  4. {{Created with}}: if any width is passed it is used   with |width={{{width|}}}, automatically the default is taken

Currently {{Created with/en}} does not pass any value but sets to auto, which gives finally the invalid width=% in {{Created with}}.

Required situationEdit

Once again:

Because the mentioned 6 templates are protected only an admin can edit them. Other templates using "Created with" are maintainable by unprivileged editors. sarang사랑 08:46, 5 April 2014 (UTC)

Hmm... you mean such a thing? -- SERGIO (aka the Blackcat) 22:53, 5 April 2014 (UTC)
Yes, this looks fine. I tried to explain better what should be altered in each of the protected templates. If you like it more, I can provide at another place the complete sources for the different templates, then you can just copy&past the whole content, and do not need to check all the details. How about that? sarang사랑 07:09, 6 April 2014 (UTC)

  Done

Expansion neededEdit

For {{Gnuplot}} we need the code part

  • {{#switch:{{{w3c}}}|I=Invalid SVG c|V=Valid SVG c|C}}

expanded to

  • {{#switch:{{{w3c}}}|I=Invalid SVG c|N=PNG c|V=Valid SVG c|C}}

sarang사랑 09:11, 12 July 2014 (UTC)

{{Edit request|technical}}User: Perhelion06:11, 13 July 2014 (UTC)   Done Rillke

Final dotEdit

It is possible to add some more text to the generated localized output text. To do this, the additional text is passed with the parameter more= from the first to the last template.
To have the possibility to add this text string before the final dot (the full stop or period), the solution is a bit complicated.

1: Parameter more= can get any value, default is the simple dot ".", and is passed as parameter 4.
If the more= option is used, the output of the dot is suppressed, and it can be added with the more= text string:
Normally it starts with a separator to the preceeding text, and ends with the final dot;
A continuation to the generated text can be like " (case 1)." or "-case 2" or ". See xyz."
2: The second template can add some more text inbetween, as is done in {{Created with Inkscape/lc}}, and passes it.
3: {{Created with/lc}} generates the final text without dot, and closes it with the value of more (just the default "." or any more complicated layout - ending with the dot)
4: {{Created with}} performs the output of this text.

The more-text can be as well localized (nationalized). sarang사랑

Another style expansionEdit

{{Edit request}} The template can be used much more if there were additional style options. It uses three style declarations,

<div class="mw-content-{{dir|{{int:lang}}}}">
{| cellspacing="0" style="color:#000;background:#DDD;border:1px solid #BBB;margin:.1em;width:{{{width|}}};{{{style|}}}" class="createdwithtemplate layouttemplate"
| style="width:1.2em;height:1.2em;padding:.2em" | {{#ifexist: File:{{{logo}}}| [[File:{{{logo}}}|{{#if: {{{iconsize|}}} | {{{iconsize}}} | 20px }} |link=|center]]| {{{logo|}}} }}
| style="font-size:.85em;padding:.2em;vertical-align:middle" |<!--
-->{{{text|empty}}} .....

where the first one is modifyable with the parameter "style". It would be helpful if the two others have also the possibility to be modified.

2nd: style="width:1.2em;height:1.2em;padding:.2em" with style="width:1.2em;height:1.2em;padding:.2em;{{{style2|}}}" and
3rd: style="font-size:.85em;padding:.2em;vertical-align:middle" with style="font-size:.85em;padding:.2em;vertical-align:middle;{{{style3|}}}"

Can somebody do this? Thank you sarang사랑 05:11, 11 November 2014 (UTC)

  Done --Steinsplitter (talk) 11:15, 15 November 2014 (UTC)

icon linksEdit

{{Editprotected}}

Please replace

| style="width:1.2em;height:1.2em;padding:.2em;{{{style2|}}}" | {{#ifexist: File:{{{logo}}}| [[File:{{{logo}}}|{{#if: {{{iconsize|}}} | {{{iconsize}}} | 20px }} |link=|center]]| {{{logo|}}} }}

by

| style="width:1.2em;height:1.2em;padding:.2em;{{{style2|}}}" | {{#ifexist: File:{{{logo}}}| [[File:{{{logo}}}|{{#if: {{{iconsize|}}} | {{{iconsize}}} | 20px }} |link={{{link|File:{{{logo}}}}}}|center]]| {{{logo|}}} }}

. Otherwise, templates such as {{Created with Hugin}} are forced to infringe their logos' copyrights. Thanks in advance,    FDMS  4    23:13, 28 February 2015 (UTC)

  Done--Jarekt (talk) 03:20, 1 April 2015 (UTC)

Adding Microsoft VisioEdit

I tried to add en:Microsoft Visio to the Category:SVG created with ... templates and |Other fields={{Igen|mv|v|s=:Maps}} to the information template in File:ShanghaiMetro141228.svg but things don't work as intended. Sorry for causing this mess. -- Sameboat - 同舟 (talk · contri.) 03:39, 6 August 2015 (UTC)

Another categoryEdit

{{Editprotected}} Please replace
-->[[Category:{{#ifeq:{{{err}}}|0|Valid SVG c|{{#switch:{{{w3c}}}|I=Invalid SVG c|N=PNG c|V=Valid SVG c|C}}}}reated with {{{toolcat}}}<!--
with
-->[[Category:{{#ifeq:{{{err}}}|0|Valid SVG c|{{#switch:{{{w3c}}}|I=Invalid SVG c|N=PNG c|S=SVG c|V=Valid SVG c|C}}}}reated with {{{toolcat}}}<!--
to allow the additional category. sarang사랑 13:15, 6 May 2016 (UTC)

  Done Awesome! Thank you! ~riley (talk) 19:00, 8 May 2016 (UTC)

Better category handlingEdit

{{Editprotected}} Please replace the content of this template by the (well tested) content of Template:Created with/sandbox. 0 -- sarang사랑 13:30, 8 May 2019 (UTC)

  Done 4nn1l2 (talk) 15:13, 9 May 2019 (UTC)

Now I need another expansion, allowing more generalized use, with an additional parameter for categorizing.

Thanx, -- sarang사랑 10:06, 22 May 2019 (UTC)

  Done 4nn1l2 (talk) 02:37, 29 May 2019 (UTC)

Help! about categorizationEdit

I made {{Sheepit}} 2 months ago using this "Created with" template. At that time, automatic categorizaion into Category:Rendered with Sheepit worked well.

But now, after the update just above section, categorization doesn't work. (e.g. File:Human ventricular system - right side view.png). What should I do? @Sarang, 4nn1l2:--Was a bee (talk) 14:59, 14 June 2019 (UTC)

@Was a bee: I am sorry, it is my fault. The new version of {{Created with}} checks a bit too much whether all needed parameters are passed - and when later the parameter toolcat is not needed, nevertheless it didn't work without its presence. I'll repair it, for the meantime I inserted this parameter in your template. -- sarang사랑 16:51, 14 June 2019 (UTC)
The template description said that toolcat is required - which means with value! The workaround worked well, and the categorization was done. Now I changed your template that is uses c_text and toolcat, and it is the first example of the new possibilities of Created with I had prepared it for. -- sarang사랑 17:09, 14 June 2019 (UTC)
@Sarang: Thank you! it works now. Kamsa hamnida. Danke! --Was a bee (talk) 06:39, 15 June 2019 (UTC)

Correction pendingEdit

The above inconvenience is now repaired in template:Created with/sandbox. But it is not such disturbing that only because of that the version must be transferred; it can be done but IMHO it is not necessary, or urgent. -- sarang사랑 15:17, 15 June 2019 (UTC)

Return to "Created with" page.