User Tools

Site Tools


en:template:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
en:template:start [2017/06/22 10:58]
Nicolas Ronvel [Globals]
en:template:start [2017/06/22 11:00]
Nicolas Ronvel [Globals]
Line 91: Line 91:
 A global is evaluated before any other variables, so it can contain any kind of variables (from text input, choices, color picker, ...) but a global **can not** contain another global. Also, a global is its own variable. It cannot be used inside or with another variable ([[en:​template:​code_variables|code variable]], [[en:​template:​advanced_string_variables|advanced string]], ...). A global is evaluated before any other variables, so it can contain any kind of variables (from text input, choices, color picker, ...) but a global **can not** contain another global. Also, a global is its own variable. It cannot be used inside or with another variable ([[en:​template:​code_variables|code variable]], [[en:​template:​advanced_string_variables|advanced string]], ...).
  
-A global will replace any mention of its name surrounded by two square brackets : [[global-name]].+A global will replace any mention of its name surrounded by two square brackets : ''​%%[[global-name]]%%''​.
  
 <code javascript>​ <code javascript>​
en/template/start.txt · Last modified: 2017/06/22 11:02 by Nicolas Ronvel