Jump to content

Template talk:Double image: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
→‎Broken: in what way is it broken?
Line 74: Line 74:
These changes seem to have broken it [//en.wikipedia.org/w/index.php?title=Template%3ADouble_image&diff=582990781&oldid=582100012]. When I revert them a bit of the problem goes away such as on this page [[Wikipedia:WikiProject_Medicine/Popular_pages]] [[User:Jmh649|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Jmh649|talk]] · [[Special:Contributions/Jmh649|contribs]] · [[Special:EmailUser/Jmh649|email]]) (if I write on your page reply on mine) 22:55, 27 November 2013 (UTC)
These changes seem to have broken it [//en.wikipedia.org/w/index.php?title=Template%3ADouble_image&diff=582990781&oldid=582100012]. When I revert them a bit of the problem goes away such as on this page [[Wikipedia:WikiProject_Medicine/Popular_pages]] [[User:Jmh649|<span style="color:#0000f1">'''Doc James'''</span>]] ([[User talk:Jmh649|talk]] · [[Special:Contributions/Jmh649|contribs]] · [[Special:EmailUser/Jmh649|email]]) (if I write on your page reply on mine) 22:55, 27 November 2013 (UTC)
:In what way is it broken? --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 23:53, 27 November 2013 (UTC)
:In what way is it broken? --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 23:53, 27 November 2013 (UTC)
::Certainly not displaying the images side-by-side at the moment (looking horrible on Firefox, vertically stacked images down the right-hand side of a larger box. [[User:Simon Burchell|Simon Burchell]] ([[User talk:Simon Burchell|talk]]) 18:54, 5 December 2013 (UTC)

Revision as of 18:54, 5 December 2013

Template:Coin image box 2 singles

Is this template redundant with {{Coin image box 2 singles}}? The coin template also supports a header and footer above or below the images. --ChoChoPK (球球PK) (talk | contrib) 16:31, 4 January 2008 (UTC)[reply]

What if we merge this two templates into one?. --SkyWalker (talk) 07:51, 14 July 2008 (UTC)[reply]

cell padding

There should be more space between the two images. — goethean 21:38, 20 February 2008 (UTC)[reply]

thumb

Could this template be modified to work with "thumb" as a parameter instead of forcing image sizes? MOS:IMAGES and common convention seems to be that you shouldn't force an image size (even to 180px) to allow for default user preferences to control image size. Using thumb in the example posted here (from chordate) instead of "180" (edit and preview to see) just displays the full size image. I'm not extremely well-versed in template language - any help here? Thanks, Rkitko (talk) 01:10, 24 November 2008 (UTC)[reply]

The template works reasonably well only if the heights of the images are the same, which is exactly the opposite of what you get with the thumb keyword (not to mention it'll throw off all the complicated markup related to widths and heights that makes the borders the same as normal images). Try {{Double image stack}}

firefox problem

Autosize

Is there an autosize option? Snowman (talk) 12:16, 18 August 2009 (UTC)[reply]

Not currently. If the images are different heights and you want to align them then you have to manually work out the required widths. Chris Cunningham (not at work) - talk 13:32, 18 August 2009 (UTC)[reply]
I have only used the double image twice and both times I had images with edges the same proportions. A recommendation about the sizes could be written into the users guide when using an auto-size option. Snowman (talk) 13:58, 18 August 2009 (UTC)[reply]

Background

I've got two svg rendered images in one of these templates (at tensile testing) and most of the image is transparent so the background shows through. This has never been a problem when rendering them using the standard syntax ([[File:blah...), but with this template it supplies a gray background, which show through my transparent images and looks bad. Any way to make the background white like the rest of our images? Thanks! Wizard191 (talk) 12:22, 28 September 2010 (UTC)[reply]

Can anyone help me with this? Wizard191 (talk) 00:54, 17 January 2011 (UTC)[reply]

Rendering error

Using newest Firefox. When using textzoom the right image gets cropped on the right side. The surrounding div class="thumb tleft" is e.g. 136px but the next child is div style="width: 128px;" class="thumbinner" only 128px. Dont know where the 128px is coming from. This got nothing to do with the captions which won't fit anyway (this is normal and the case with all thumbs). 217.235.34.133 (talk) 01:40, 17 January 2011 (UTC)[reply]

Table alternative to allow thumbs

Until this template allows the thumbs to follow the user preferences, here is a workaround alternative using table markup.

{{clearleft}}
{|
| [[File:Example.jpg|thumb|left|First image]] || [[File:Check64x48bwrg16pal 001.png|thumb|left|Smaller second image]]
|}
{{-}}

The above wiki markup produces the following horizontal layout:

First image
Smaller second image

-84user (talk) 22:03, 16 March 2011 (UTC)[reply]

Up-down?

Is there an option to allow up-down positioning? One image directly above the other. --Anime Addict AA (talk) 17:55, 26 August 2011 (UTC)[reply]

Use the superior {{multiple image}} for that. – Adrignola talk 20:03, 11 September 2011 (UTC)[reply]

Commons delinker causes template to corrupt

See this edit. The template cannot handle it if only one image is present. It would be preferable if it was coded to degrade gracefully, since the Commons Delinker will simply remove deleted images, and not fix this (and possibly the other multiple image) templates. The Rambling Man (talk) 09:40, 10 January 2012 (UTC)[reply]

Vertical images?

Can someone come up with a similar template that presents two images on top of each other, rather than side-to-side?--Brianann MacAmhlaidh (talk) 07:42, 2 June 2012 (UTC)[reply]

Admin request

Please place {{Template for discussion/dated|page=Triple image|link=Wikipedia:Templates for discussion/Log/2013 November 7#Template:Triple image|help=off}} on Template:Double image. As the template is up for deletion, that needs to be noted, as the notice that the page is up for deletion (which appears wherever the template is used) is the primary way in which effected parties become notified about the deletion nomination. Sven Manguard Wha? 21:41, 11 November 2013 (UTC)[reply]

 Done; I changed the page parameter accordingly. Don't forget you can use {{edit protected}} instead of {{admin help}}, which puts your request in a more appropriate category. I'm also changing the protection level to template editor (not that it matters if it gets deleted). —Darkwind (talk) 02:03, 12 November 2013 (UTC)[reply]

Broken

These changes seem to have broken it [1]. When I revert them a bit of the problem goes away such as on this page Wikipedia:WikiProject_Medicine/Popular_pages Doc James (talk · contribs · email) (if I write on your page reply on mine) 22:55, 27 November 2013 (UTC)[reply]

In what way is it broken? --Redrose64 (talk) 23:53, 27 November 2013 (UTC)[reply]
Certainly not displaying the images side-by-side at the moment (looking horrible on Firefox, vertically stacked images down the right-hand side of a larger box. Simon Burchell (talk) 18:54, 5 December 2013 (UTC)[reply]