LavishGUI:Templates
Jump to navigation
Jump to search
Contents
Introduction
What is a template?
A template is a set of characteristics that can be applied to any ISUI item (yes, including other templates). Templates are considered the "default" characteristics for the item. This means that if a characteristic is not given
Why use templates?
There are many good reasons for using templates, including:
- The same characteristics can be applied to any number of items (elements, textures, fonts, other templates, etc) without re-describing them each time
- New characteristics for each element type can automatically apply to existing interfaces
What can templates NOT do?
Templates can NOT be individually applied to specific characteristics of items. For example, elements have a characteristic "X" and "Y". The element cannot specify separate templates for these characteristics, only a template for the element itself. However, they can specify separate templates for referenced items, such as fonts or textures. In other words, the element can use a template for fonts or textures that it uses.