Hi, I'm currently working on adding a gallery-based template, showing several 3D structures of a single molecule to my drugboxes/chemboxes. I currently have the code:
<gallery caption = "Tyrosine zwitterion structure" type="{{{type|slideshow}}}" widths="{{{width|300}}}" position="center"> Tyrosine zwitterion.png Tyrosine zwitterion2.png Tyrosine zwitterion3.png Tyrosine zwitterion4.png Tyrosine zwitterion5.png </gallery><noinclude>{{documentation}}</noinclude>
The problem is that regardless of the value of the inputs type and width it produces just the one output:
Now I was hoping that the output would, by default, be 300px across (modifiable via the 'width' input), in slideshow format (modifiable via the 'type' input), in the, centred and have the caption "Tyrosine zwitterion structure". Currently this template is located here [1], if for whatever reason you want to know where it is.