Forum:Template image help!

I'm making a template page here. If I type this:  on the 'image' line, it comes out fine but there are two brackets before and after the image, as you can see if you go on the link. If I edit those out the picture becomes full-sized, which I definitely don't want. Please help! I know there's a way, but I don't know how. I've tried other ways mentioned everywhere, but it either comes out weird or not how I want it. Please help it! I need a reply quick. Thanks!

ZL123 14:51, December 29, 2011 (UTC)


 * Remove the brackets around  in the template. This way, if you type in , it will display the image at 400 pixels and there will not be any brackets surrounding it. --


 * I'm sorry, but it doesn't work. There are no brackets around in the template. Also, I already typed in [[Image:Tavern.png|400px]] . So I can't change anything. Sorry! Please take a look at the page again. ZL123 14:13, January 1, 2012 (UTC)


 * I think you must be looking in the wrong place as removing the brackets in the templates actual code worked for me (Note : NOT the brackets in the template input code that is used in the article as inputs to the actual template, i.e. the bit you copy and paste from the document part of the template as that also contains the size - sample line from input code for Template:Building Cost is ) That passes the image to the template and sets the size individually on each page it is used on. Some similar templates set the size internally to a default value & have a separate variable for when it differs.

PS when previewing changes to templates the documentation example will NOT reflect the change as the code it calls is the 'live' stored version. you have to save to see the change work in the doc page example. (and then use undo if its wrong or correct it & save again).


 * - 16:11, January 1, 2012 (UTC)