When you write gui code you want to have certain conststency in the switches of your layout items. Now the template enables you to load up flags and their values to different control commands. Then whenever you call those cmmands they gte injected in as you wrote them without needing to rewrite them.
Thisway you can save writing and remain constient, also make all the needed items and later just change the global apperance.