{{#tag:gallery|
{{#arraymap:{{{Photos|}}}|,|x|Image:x|<nowiki>
</nowiki>}}
}}~Daniel Friesen (Dantman, Nadir-Seen-Fire) tosfos wrote: > There is an old thread about getting the <gallery> tag to work with > SF: > http://groups.google.com/group/semantic-forms/browse_thread/thread/6c4efae5255ada34/a84c94a6ee3c6b5c?lnk=gst&q=gallery#a84c94a6ee3c6b5c > > Reviving an old topic, there may be some possibilities here for anyone > who still needs it. I'm one of them. :) > > There is now a #tag: parser function which could help. It would > work something like this: > > {{#tag:gallery| > Image:Example.jpg > Image:Example2.jpg > Image:Example3.jpg > Image:Example4.jpg > Image:Example5.jpg > }} > > Translating into Semantic Forms, the template definition would look > like this: > {{#tag:gallery| > {{#arraymap:{{{Photos|}}}|,|x|Image:x}} > }} > > I haven't tested the above code but it should be the right idea. The > only reason why this does not work is because I can't get #arraymap to > delimit with a newline character in order to match the gallery tag's > syntax. Any ideas for this would be greatly appreciated. > > Thanks! > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Semantic Forms" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/semantic-forms?hl=en -~----------~----~----~----~------~----~------~--~---
