This is an old revision of this page, as edited by Jack Merridew (talk | contribs) at 07:50, 7 June 2010 (→Coding help!: +reply). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Revision as of 07:50, 7 June 2010 by Jack Merridew (talk | contribs) (→Coding help!: +reply)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)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)