Token replacement is the heart of HTML Slider. Basically, HTML Slider takes a body of text called a "template", scans it, and when it encounters a token name, the token name is replaced by the value of the token. For example, consider the following lines that might be found in a definition file:
MyTemplate="My name is [Name]."
If text in token "MyTemplate" is used as the template that is the input to token replacement, then the output of token replacement would be "My name is Dal Brandon." Note, to cause the HTML Slider to recognize the token, you must enclose the name of the token in square braces.
Here is an example with more substance:
<body>This is a web page for [FirstName] [LastName]</body></html>
#MakePage Page01.html WebTemplate
#MakePage Page02.html WebTemplate
#MakePage Page03.html WebTemplate
#MakePage Page04.html WebTemplate
This examples creates four HTML pages. Note that the detailed HTML syntax only needed to be specified once, in a template named "WebTemplate". Also demonstrated above is the use of local and global tokens. The local token "FirstName" gets deleted after each directive, but the Global token "LastName" retains its value through each directive.
Continue to read more about token replacement.