Content deleted Content added
→'Y' axis maximum on stacked bar chart: thanks again! |
|||
Line 152:
::::::::::you are absolutely correct when you note that the template does not care if you give it a value of "true", "false", "17" or "bla bla bla" - giving these parameters any value at all means "yes". originally, it was "param exists/param does not exist" logic, and did not pay special attention to test for "blank" value, which meant that blank was also treated as "true".
::::::::::this was silly of me, because it makes controlling the bahavior through a parameter to the calling template much more complicated (i am not even sure it it's possible). so i tamed it a little bit to take a blank as "no". i also odified the test above, to demonstrate. any non-blank value still neams "yes", even if it's "false" or "no". peace - [[User:קיפודנחש|קיפודנחש (aka kipod)]] ([[User talk:קיפודנחש|talk]]) 13:44, 29 June 2013 (UTC)
:::::::::::That works great - thanks again! Passing a blank for "false" is no problem, and does the job perfectly well. Cheers. {{P}} <span style="font-family:Arial;font-weight:bold;color:#000;">[[User:Begoon|<span style="color:#0645AD;">Begoon</span>]] [[User talk:Begoon|<span style="color:gray;"><sup>talk</sup></span>]]</span> 15:33, 29 June 2013 (UTC)
|