2009/5/10 tosfos <
tos...@gmail.com>:
>
> Thanks Dan!
>
> The template trick didn't work but after some playing around, I got
> #arraymaptemplate to work. Here's the basic code for anyone who needs
> it:
>
> In the template definition:
> {{#tag:gallery|
> {{#arraymaptemplate:{{{Photos|}}}|GalleryNewline|,|}}
> }}
>
> In Template:GalleryNewline
> (a blank line goes here)
> File:{{{1}}}
>
> I tried some more routine and obvious tricks in the template but this
> is the only I could get to work.
>
> Be careful. Every time you edit Template:GalleryNewline, it will
> remove that blank line. I think there's a way to prevent that, but
> this works for now.
>
> Again thanks to everyone.
That's awesome!
You might like to add this to the collection of tips here:
http://smw.referata.com/wiki/Special:BrowseData/Tips
Just click 'Add a tip' in the box on the left.
All the best,
Dan.
--
... people generally show up expecting and looking for social norms.
That's just how humans are built. In any group unified by a common
endeavor, people who join instinctively search for behaviors that will
mark them as part of the group. The goal of setting precedents early
is to make those "in-group" behaviors be ones that are useful to the
project; for once established, they will be largely self-perpetuating.
~
http://producingoss.com/en/setting-tone.html