Misplaced Pages

User talk:Jack Merridew: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 08:46, 7 June 2010 editThumperward (talk | contribs)Administrators122,782 edits Coding help!: r← Previous edit Revision as of 08:48, 7 June 2010 edit undoThumperward (talk | contribs)Administrators122,782 edits Coding help!: rNext edit →
Line 28: Line 28:
: The clipping issue is in the original, too; it's a limitation of the design and may be intentional. The fellow who wrote it is years-gone, so we have to muddle along. See what Chris says; I'm thinking it should go back into the current template. I've also not looked at any of the usages ;) Cheers, ] 08:26, 7 June 2010 (UTC) : The clipping issue is in the original, too; it's a limitation of the design and may be intentional. The fellow who wrote it is years-gone, so we have to muddle along. See what Chris says; I'm thinking it should go back into the current template. I've also not looked at any of the usages ;) Cheers, ] 08:26, 7 June 2010 (UTC)


:: Actually, the clipping is just caused by the template simply using width1 if it's specified. I've updated the sandbox to do a proper comparison, which seems to work fine. If you now want to increase the number of possible images then it should work. ] - ] 08:46, 7 June 2010 (UTC) :: Actually, the clipping is just caused by the template simply using width1 if it's specified. I've updated the sandbox to do a proper comparison, which seems to work fine. If you now want to increase the number of possible images then it should work.
:: You might want to also note that if you're going to add new images then you need to update the width code as well as adding new conditionals. The vertical one is relatively easy (I wrote it in five minutes) but the horizontal one is ghastly. ] - ] 08:48, 7 June 2010 (UTC)


== Apologies == == Apologies ==

Revision as of 08:48, 7 June 2010

User talk:Jack Merridew/Notice

Coding help!

Hey Jack. I was wondering if you could help me with something. How simple would it be to make {{Multiple image}} allow up to seven images, instead of the five it currently permits? ÷seresin 06:21, 7 June 2010 (UTC)

Looks quite straightforward; want me to just do it? Anyone gonna get bent? Cheers, Jack Merridew 06:24, 7 June 2010 (UTC)
That would be great; thanks. If anyone gets bent I can just move it to a special template. And, with respect, has "anyone getting bent" ever really been a big consideration? ;-) ÷seresin 06:26, 7 June 2010 (UTC)
 Done Give it a whirl. Cheers, Jack Merridew 06:28, 7 June 2010 (UTC)
Thanks, but if you see here, there are some extraneous texts in the rendering. A similar thing happened when I tried to do it. Also, it seems that broke all the transclusions. If you're still feeling helpful and want to work on it, would you mind using a subpage, so we don't break the whole wiki? tx. ÷seresin 06:32, 7 June 2010 (UTC)
I must have missed some detail; will look further and run a test somewhere. Cheers, Jack Merridew 06:38, 7 June 2010 (UTC)
Ya, initial expression needs attention, too ;) Jack Merridew 06:40, 7 June 2010 (UTC)
See: Template:Multiple image/test and new examples in you sandbox. I believe it's now properly extended to seven. There's an issue with both old and new; see the latter examples where it's vertical and the widths are individually specified; the container's with is set to width1 + 12 even if the others are wider. A huge, nasty expression could find the max-width, but I'm not going to try that. I'll ping Chris for input, though, so... we'll see. Cheers, Jack Merridew 07:40, 7 June 2010 (UTC)
It works for what I needed it to, so I'm happy. You win a hundred internets Mr Merridew. Thanks very much. ÷seresin 07:47, 7 June 2010 (UTC)
You're welcome. Paste it over if you're happy with it (mebbe you did, will look); revert my last on the /doc, too, to get the 7 and example back. I'll be sure and bank those, right away. Cheers, Jack Merridew 07:50, 7 June 2010 (UTC)
and I see where you're using it, too ;) Jack Merridew 07:54, 7 June 2010 (UTC)

I think, actually, what I'll do is just make it a separate template that I'll use instead of merging it back to the main template. As you said there's something hairy about clipping in it, and if that can't be fixed I don't want to break all the templates out there. It works for the specific use I had in mind, so it's all good. So you don't really need to do much else to it, because I don't anticipate anyone using it. Thanks again. ÷seresin 08:23, 7 June 2010 (UTC)

The clipping issue is in the original, too; it's a limitation of the design and may be intentional. The fellow who wrote it is years-gone, so we have to muddle along. See what Chris says; I'm thinking it should go back into the current template. I've also not looked at any of the usages ;) Cheers, Jack Merridew 08:26, 7 June 2010 (UTC)
Actually, the clipping is just caused by the template simply using width1 if it's specified. I've updated the sandbox to do a proper comparison, which seems to work fine. If you now want to increase the number of possible images then it should work.
You might want to also note that if you're going to add new images then you need to update the width code as well as adding new conditionals. The vertical one is relatively easy (I wrote it in five minutes) but the horizontal one is ghastly. Chris Cunningham (not at work) - talk 08:48, 7 June 2010 (UTC)

Apologies

Regarding that last sock report you wished help with. I did originally look at the case, but I didn't know enough about the situation/case to make an educated guess, and I didn't wish to shoot in the dark. I'm sorry that I haven't gotten back to you sooner about the matter; life has been rather busy on my end. I've been spending less and less time on wikipedia. Again, sorry for not contacting you sooner about this.— dαlus 07:52, 7 June 2010 (UTC)

That was Gabi/Sami, right? I archived that and have not looked much at them. They quack loudly and she'll get dinged one of these times; simply does not get the wiki. Jack Merridew 07:56, 7 June 2010 (UTC)
It was a bunch of IP socks if I recall... can't remember though, been distracted with 3d and mirc scripts. I can't remember the name of any suspected master. And again, I am sorry for not getting back sooner.— dαlus 08:00, 7 June 2010 (UTC)
I'd have to look; the one I was thinking is User talk:Jack Merridew/Archive 5#Sami50421/Gabi Hernandez. Jack Merridew 08:08, 7 June 2010 (UTC)