Board Thread:Wiki Running/@comment-26235098-20150610150343/@comment-4189499-20150612073948

Catinthedark wrote: Imamadmad wrote: While it would be possible to make a template which opens based on a switch, those are extremely inefficient Me too. It's just better all around only putting things where they're needed as it means that you don't waste memory and load time loading something which doesn't show, you can use the existence or lack thereof of an element to target pages for changes, and, as mentioned, switches are extremely inefficient and can actually stop working if used too often on a page (such as in the case of List of Levels a while back). It also takes less effort if you don't have to put things in as many places, which is always a bonus!
 * embarrassed* Yeah, developer's nightmare is what. I almost fell over backwards when I saw that done in other places, but inferred that there might be some limits to what template scripting can do. I haven't poked around much in the underpinnings here. (Yet.) Anyway, I personally like having the template only in levels that need it, and the parameter for timed is a decent compromise, in lieu of level-type detection by the template.

Imamadmad wrote: there shouldn't be too many people falsely adding the template to levels, especially as they get used to this new element, and when people do add it, it is easy to remove by simply undoing their edit or, worst case scenario, editing the page and deleting the template. If, however, this does become a problem into the future, parts can be added to the template so that it only shows on actual sugar drop levels. This might not have happened at all if I had been better at communicating the additions. I'm still getting used to how things are done. I will get better at that, too. :) It's generally a good idea when introducing a new element such as a template to start a thread in the forums as an announcement and get one of the admins to highlight it so everyone knows what's happening, because with a user base as large as this one, it can be quite difficult to make sure everyone's aware of new features (which has the added benefit of preventing people from trying to reinvent the wheel by not knowing that it's already been made).

You seem to be catching on to things very quickly already. I mean, you started in March and are already making templates! That's pretty impressive.