Variables in HTML templates

Navigation:  More Advanced Procedures > Using Variables >

Variables in HTML templates

Previous pageReturn to chapter overviewNext page

The HTML templates that generate the pages in Help & Manual's HTML-based output formats (HTML Help, WebHelp, Windows Exe and ePub eBooks and Visual Studio Help) make extensive use of variables. You can use all global predefined variables and all your user-defined variables in your HTML templates

There are also a number of special predefined variables for use in these templates only. For details on these variables and how to use them see Variables in HTML templates.

HTML variables in HTML templates

HTML variables are primarily designed for use in HTML templates and HTML code objects you can use them in other locations but then only the text portion of the variable value will be inserted.

The code stored in the HTML variable must make sense in the template, of course, you are entirely responsible for that!

Don't edit HTML templates if you don't understand HTML!

Any changes you make to the HTML templates are not checked for plausibility or syntax errors. You are entirely responsible for all the code you enter and all the changes you make. Making changes to the template code without knowing what you are doing can cause serious errors and malfunctions.

See also:

Using HTML Templates

Variables in HTML templates

Conditional output in HTML templates

The power of editable variables

Variables and Conditional Output (Reference, lists of available variables and conditions)