Forum:If parameter in a template

Hi!

In this template I wanted all the section of "Gag cartello" (in the collapsed menu named "gag della sigla") present only if the parameter is present!

Could you edit it? With this kind of parameter I'm very bad!

Thanks! --Cento93 19:53, February 23, 2012 (UTC)


 * Done. Rappy 20:34, February 23, 2012 (UTC)


 * Mhh...no! It doesn't work! In this page the parameter is not definited, but it appears!--Cento93 20:47, February 23, 2012 (UTC)


 * Pages with templates that have been changed are run through a  and are not updated immediately. You can edit, then save the page to see the change in the template (or click here to purge the page and update the template). Rappy 21:13, February 23, 2012 (UTC)


 * The problem is still existing!!--Cento93 21:17, February 23, 2012 (UTC)


 * It seems that it may be tabber that was causing the issue. On the template itself, it wasn't showing the section, but the page wasn't reflecting the change. I have changed the code and it now updates correctly on the page after a purge. Rappy 21:27, February 23, 2012 (UTC)

Ok, there's only another problem: I've tried to insert the if parameter, and appears in the upper section, and not at the end of the collapsed paragraph "gag della sigla"! http://it.simpsons.wikia.com/wiki/Un_Natale_da_cani ...and appears even if the paraghrap it's not expanded! --Cento93 21:29, February 23, 2012 (UTC)


 * Fixed? Rappy 21:38, February 23, 2012 (UTC)
 * Oh yessss! Thank you very much!! --Cento93 21:39, February 23, 2012 (UTC)