Template talk:Image extracted
Few images in one template
[edit]Is it possible to add possibility to more then one extracted image. in {{Extracted from}} it ok to have only one option but Image extracted it is possible thet the file extraxted to few files like her, it ib better that all the files will be in the same template. Geagea (talk) 02:50, 29 November 2010 (UTC)
- Yes, it's possible. I'll see what I can do soon. (if anybody else wants to it, that's fine by me, I have no special plans for this). –Krinkletalk 11:11, 18 January 2011 (UTC)
- Thanks. Geagea (talk) 01:31, 20 January 2011 (UTC)
Done The template now supports 10 extractions. See below example:
- Thanks. Geagea (talk) 01:31, 20 January 2011 (UTC)
Transclusion example with 60 images
[edit]Village pump
[edit]It is suggested to use <gallery>
format. Please see Village pump. -- Geagea (talk) 21:45, 30 August 2016 (UTC)
HR translation
[edit]{{Edit protected}} Please add translation in Croatian:
- in section with |en=This file has multiple extracted images, add
|hr=Ova slika ima više '''izvadaka''':
- in section with |en=This file has an extracted image, add
|hr=Ova slika ima '''izvadak'''
Thanks.--Ma▀▄Ga 08:28, 17 April 2017 (UTC)
Done. --Achim (talk) 20:42, 23 April 2017 (UTC)
CA translation
[edit]{{Edit protected}} Please add translation in Catalan:
- in section with |en=This file has multiple extracted images, add
|ca=Aquest fitxer té múltiples '''imatges extretes''':
- in section with |en=This file has an extracted image, add
|ca=Aquest fitxer té una '''imatge extreta'''
Thanks.--Paracel63 (talk) 12:28, 5 August 2017 (UTC)
Done Awesome! Thanks!! --Hedwig in Washington (mail?) 02:59, 10 August 2017 (UTC)
Replace image
[edit]{{Edit request}} Please, replace the images on left side for adaptation to template {{Extracted from}}, i.e. change the second line from
| style="text-align:center; width:15%; min-width:85px;" |[[File:LA2-NSRW-1-0007.jpg|25px|link=]] → [[File:Chandler B. Beach.jpg|25px|link=]]
to
| style="text-align: center; width: 60px; padding: 5px;" | [[File:Extracted image icon.png|50px|link=|alt=image extraction process]]
On the other hand: Does this template really need full protection? Couldn’t this a bit lowered? {{Extracted from}} has the lowest protection state and it seems to work. — Speravir – 01:39, 20 September 2017 (UTC)
Done Thank you! -- User: Perhelion 15:38, 26 September 2017 (UTC)
- D@mn, Perhelion, I didn’t think of the licence situation. The new image is CC licenced, so we need a link to it, i.e. please remove
|link=
. — Speravir – 21:04, 28 September 2017 (UTC)Done Thank you! -- User: Perhelion 21:11, 28 September 2017 (UTC)
- D@mn, Perhelion, I didn’t think of the licence situation. The new image is CC licenced, so we need a link to it, i.e. please remove
Spanish
[edit]{{Edit protected}} There is no translation into Spanish for the case of a single extracted image. The following text can be used: |es=Este archivo tiene una '''imagen extraída''': --Metrónomo's truth of the day: "That was also done by the president" not an excuse. 18:19, 27 November 2017 (UTC)
- I retract, unlike English, in Spanish the passive voice is unnatural. The text as it is written now seems to be too literal a translation of English and it does not look good in Spanish. A much better text would be:
- Singular:
- A este archivo se le ha extraído la siguiente imagen:
- Plural:
- A este archivo se le han extraído las siguientes imágenes:
- --Metrónomo's truth of the day: "That was also done by the president" not an excuse. 18:27, 27 November 2017 (UTC)
Done Thank you! -- User: Perhelion 21:59, 8 December 2017 (UTC)
Autotranslate
[edit]Please change the template to:
{{Autotranslate |base = Image extracted/i18n | 1 = {{{1|Example en.svg}}} | 2 = {{{2|}}} | 3 = {{{3|}}} | 4 = {{{4|}}} | 5 = {{{5|}}} | 6 = {{{6|}}} | 7 = {{{7|}}} | 8 = {{{8|}}} | 9 = {{{9|}}} |10 = {{{10|}}} |11 = {{{11|}}} |12 = {{{12|}}} |13 = {{{13|}}} |14 = {{{14|}}} |15 = {{{15|}}} |16 = {{{16|}}} |17 = {{{17|}}} |18 = {{{18|}}} |19 = {{{19|}}} |20 = {{{20|}}}{{#if:{{{by|}}}|{{by|{{{by}}}}}}} }}<includeonly>{{{category|[[Category:Images with extracted images]]}}}</includeonly><noinclude> {{documentation}} </noinclude>
It allows the template to be translated on subpages (which means no admin help is required in the future), and also makes possible to disable categorization (by passing an empty |category=
parameter). Thanks in advance, —Tacsipacsi (talk) 15:45, 17 January 2018 (UTC)
Done Tacsipacsi Awesome! Thank you! -- User: Perhelion 21:02, 24 January 2018 (UTC)
Alignment
[edit]Is there a specific reason why the template is centered? In the file summary all fields are left-aligned and so is the complementary Template:Extracted from. Having all fields aligned to the left would make the summary look more tidy. Gun Powder Ma (talk) 09:56, 2 May 2020 (UTC)
Enhancements
[edit]{{Editprotected}} I've made a couple of changes to this template:
- Display images in gallery format, if more than one image;
- Increase limit to 50 from current 20 parameters;
An example of the resulting layout can be seen at File:Manchester. A brief record of its past and a picture of its present (IA manchesterbriefr00cla).pdf, which currently has 28 images extracted from it.
The changes can be found at Template:Image extracted/sandbox, Template:Image extracted/sandbox/row and Template:Image extracted/sandbox/i18n/en. Can someone please implement them? (taking care to remove /sandbox from each code) I can update the translations after that. —capmo (talk) 16:39, 16 July 2020 (UTC)
- Very nice improvement. I tested it inside a {{Information}} template (
|other_versions=
) and it looks good as well. Laddo (talk) 23:08, 16 July 2020 (UTC)- @Capmo: Since no one else commented, I released your changes; however:
- At the moment, the template still handles only the first 20 parameters. I believe it awaits for page Template:Image extracted/i18n to be "translated" to Template:Image extracted/i18n/en, the latter still handling only 20 parameters;
- Once the issue with the number of parameters is settled, remember to update Template:Image extracted/doc as well.
- Laddo (talk) 19:45, 2 August 2020 (UTC)
- Thank you, Laddo! I'll keep an eye on the translation pages to update the documentation as soon as they get changed. —capmo (talk) 03:22, 3 August 2020 (UTC)
- I marked the page for translation. This updated all the translations (not just the /en page), so there’s no need to manually do that (in fact, it’s not even possible). By the way, if no translation administrator notices a page that needs to be marked for translation, you can urge us at Commons:Translators' noticeboard. —Tacsipacsi (talk) 13:20, 3 August 2020 (UTC)
- Thank you, Laddo! I'll keep an eye on the translation pages to update the documentation as soon as they get changed. —capmo (talk) 03:22, 3 August 2020 (UTC)
- @Capmo: Since no one else commented, I released your changes; however:
Solution with Module:Iteration
[edit]The template has a long history, with successive expansions to more file parameters, e.g. 10, 20, 50.
These problems are now solved with module support, the number of files is unlimited.
Picture change
[edit]Please change Extracted image icon.png
to Extracted image icon.svg
, {{Extracted from}} already has that. Sławobóg (talk) 14:31, 11 June 2021 (UTC)
Bug in template
[edit]See in File:Los Shelknam.pdf, when image have long width, and much lower height, the template not work fine. Fix with a limit in width template result Shooke
(Talk me in spanish, english or italian) 16:11, 27 June 2021 (UTC)
- @AntiCompositeNumber, Laddo, and Sarang: Check the bug, is in several files Shooke
(Talk me in spanish, english or italian) 17:15, 20 July 2021 (UTC)
- Current size in Template:Image extracted/row is
x160px
. We probably want a max width large enough that most files with a typical aspect ratio won't hit it. Just doubling the height to320x160px
sounds good to me, but I'd like to hear what others think. AntiCompositeNumber (talk) 18:04, 20 July 2021 (UTC)- With
x160px
and unlimited width, pictures much wider then high are displayed too large. It sounds good to limit the width, I'll try it. -- sarang♥사랑 05:30, 21 July 2021 (UTC)
- With
- Current size in Template:Image extracted/row is
Problem in the Arabic version
[edit]There is a problem with the Arabic version, it is not displayed. Instead, the English version is always shown.
Please ping me in the reponse.--Michel Bakni (talk) 06:22, 24 August 2021 (UTC)
Polish translation
[edit]{{Edit protected}} Please add translation in Polish:
- in section with |en=This file has multiple extracted images, add
|pl=Następujące obrazy są '''fragmentami''' tego pliku:
- in section with |en=This file has an extracted image, add
|pl=Poniższy obraz jest '''fragmentem''' tego pliku
Thanks. 185.172.241.184 12:35, 27 November 2021 (UTC)
Done. Proszę sprawdzić Template:Image extracted/i18n/pl. --Achim55 (talk) 17:11, 27 November 2021 (UTC)
Changing "image" to "file"
[edit]{{Edit protected}} Hello, what about changing "image" to "file"? Then it can be also used for videos for example. In Extracted from it is already the case. -New York-air (talk) 10:32, 12 March 2025 (UTC)
- Agree (see here). Prototyperspective (talk) 00:19, 14 March 2025 (UTC)
- An example is here where it says "This file has an extracted image" but should say "This file has an extracted clip" (or video). Prototyperspective (talk) 13:03, 4 April 2025 (UTC)
- New York-air
Done --Jarekt (talk) 02:22, 19 April 2025 (UTC)
- New York-air
- An example is here where it says "This file has an extracted image" but should say "This file has an extracted clip" (or video). Prototyperspective (talk) 13:03, 4 April 2025 (UTC)
Please replace File:Example.jpg
[edit]{{Edit request}}
This page is protected while posting this message. Please replace File:Example.jpg
with File:Example en.svg
because Replacing image with .svg of superior quality. If there is an issue with this edit, please revert it and leave a message on my talk page.
Thank you. Message added by global replace -- Ternera (talk) 15:06, 20 March 2025 (UTC)
- @Ternera, just checking – is this the same situation as Template talk:Superseded#Please replace File:Example.jpg or do you still want the file to be replaced here? Lucas Werkmeister (talk) 12:13, 21 March 2025 (UTC)
- Hi @Lucas Werkmeister, this is the same bug. A replacement would be fine to do here if you want to replace the png with the svg. Thanks. Ternera (talk) 13:17, 21 March 2025 (UTC)
- @Ternera: I’m not sure where Example.jpg is used… AFAICT it’s not used directly in Template:Image extracted nor Template:Image extracted/i18n. Do you mean Template:Image extracted/doc? You should be able to edit that yourself :) Lucas Werkmeister (talk) 15:43, 21 March 2025 (UTC)
- Aha, you're right! I've gone ahead and switched out the images. Thanks! Ternera (talk) 15:47, 21 March 2025 (UTC)
- Alright, great :) --Lucas Werkmeister (talk) 16:19, 21 March 2025 (UTC)
- Aha, you're right! I've gone ahead and switched out the images. Thanks! Ternera (talk) 15:47, 21 March 2025 (UTC)
- @Ternera: I’m not sure where Example.jpg is used… AFAICT it’s not used directly in Template:Image extracted nor Template:Image extracted/i18n. Do you mean Template:Image extracted/doc? You should be able to edit that yourself :) Lucas Werkmeister (talk) 15:43, 21 March 2025 (UTC)
- Hi @Lucas Werkmeister, this is the same bug. A replacement would be fine to do here if you want to replace the png with the svg. Thanks. Ternera (talk) 13:17, 21 March 2025 (UTC)