This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:template:start [2017/06/19 14:39] Nicolas Ronvel [Custom Fonts] |
en:template:start [2017/06/22 11:02] (current) Nicolas Ronvel [Globals] |
||
---|---|---|---|
Line 11: | Line 11: | ||
"description": { }, | "description": { }, | ||
"fonts" : [ ], | "fonts" : [ ], | ||
+ | "webfonts": { }, | ||
"sharedOptions": [ ], | "sharedOptions": [ ], | ||
- | "styles" : [ ] | + | "styles" : [ ], |
+ | "globals": [ ] | ||
}; | }; | ||
</code> | </code> | ||
Line 60: | Line 62: | ||
See the [[styles|Styles]] section for a more complete description of a Style. | See the [[styles|Styles]] section for a more complete description of a Style. | ||
+ | ===== Globals ===== | ||
+ | The ''globals'' part of a template stores data that is repeated through the template, and that can be put in a single global constant, in order to help maintainability. | ||
+ | |||
+ | See the [[global]] for an explanation on how to add globals to your template. |