Forum:Alternative to "gallery../gallery" tags suitable for transclusion

Please take a look at this test case. (link removed - see solution below)

You will see that I use a template to transclude various information into a rather simple table. Immediately following the table I want to allow one or more images to be displayed in a compact format. This seemed like the perfect application for the  tags.

So using the last of the named arguments in the template call, I pass the list of images using a few formats that might be appropriate to the gallery tags.

The trouble seems to be that the parsing of gallery tags must be happening before the template argument is transcluded. Is there some alternative to gallery tags for a variable number of images to be displayed as thumbnails in a compact box format. (A stack of thumbnails down the right hand side of the page might be my fall back position but it is not the most desirable format.) najevi 08:23, 17 June 2009 (UTC)


 * Using the #tag: parser function solves your problem. You also need to realize that when the gallery tag requires a line break in the wikitext, a br tag won't do. -- ◄mendel► 23:13, 17 June 2009 (UTC)

Many thanks. I'd have never guessed there is a #tag parser function. I did however, figure out the unsuitability of   within a pair of gallery tags.

enjoy! najevi 11:53, 18 June 2009 (UTC)