Admin Forum:Template Variables inside a Gallery

Is it possible to use templates to put images into a gallery? I've tried using something to the effect of

in a template page with


 * image1=image1name.png
 * image2=image2name.png

in the article as well as several variations of this, but the gallery doesn't show up. I know the template itself is fine because everything else is working properly. The template is here and the page I'm testing it on is here if that helps.

Thanks!

Nconspicuous TALK 04:19, January 19, 2013 (UTC)


 * I'm confused, are you trying to use templates in the gallery or template variables? Templates are invoked like this:  whereas template variables are used like this:.
 * Notice the different counts of curly braces (templates 2, variables 3). Your code looks like you have things reversed. -- Fandyllic (talk &middot; contr) 19 Jan 2013 11:25 AM Pacific