Template talk:Furniture list item
From YPPedia
Does anyone know why I can't use this template within a gallery? --Barrister 00:23, 14 November 2006 (PST)
Looking at your sandbox, it works in a gallery doesn't it?Wrong! --Sagacious (talk) 15:18, 14 November 2006 (PST)- Some poking around revealed that the <gallery> doesn't like accepting templates - likely because it can't read the compiled content correctly in order to grab and display the images. The way around it is to subst: a whole list of the templates at once, without the gallery tags, save and then add the tags after. I wasn't sure as to your plans for this template (to save time when converting, or saving code space on the page) so my work around may be pretty pointless. --Sagacious (talk) 15:48, 14 November 2006 (PST)
- Yeah, I noticed earlier that even substing the templates with the gallery already there didn't work. Ahwell. Galleries are a new feature, and according to everything I've read, not very robust. --AtteSmythe 16:17, 14 November 2006 (PST)
- Some poking around revealed that the <gallery> doesn't like accepting templates - likely because it can't read the compiled content correctly in order to grab and display the images. The way around it is to subst: a whole list of the templates at once, without the gallery tags, save and then add the tags after. I wasn't sure as to your plans for this template (to save time when converting, or saving code space on the page) so my work around may be pretty pointless. --Sagacious (talk) 15:48, 14 November 2006 (PST)