There are a large number of global predefined variables that you can use to insert items that you may want to change, for example the title of the project, the copyright note, the date and time in various formats and the date and time at which the current topic was last edited.
Some of the predefined variables have automatic values, others take their values from the Configuration section of your project. See Global predefined variables for a list of the available variables, what they do and where they get their values.
See Inserting variables in topics and Inserting variables in other locations for details on how to use variables in your projects.
Help+Manual's global predefined variables can be used almost everywhere in your projects: In topics and headers, the Table of Contents, keywords, image captions, link captions, macros, scripts, HTML code objects, HTML templates and PDF templates.
You cannot use HTML code in global variables:
Note that all global variables are plain-text variables so you cannot use them to insert HTML code. Even if you create an HTML variable and use it as the value of a global variable only the plain-text portion of the variable will be inserted.
See Inserting variables in topics and Inserting variables in other locations for details on how to use variables of all kinds in all these locations.
|
Exactly the same variable name syntax is used for variables in all parts of your projects:
<%VARIABLENAME%>
Since you can also type variables manually in topic text and topic headers it is important to observe this syntax! The variable name VARIABLENAME must be in all upper case and it must be enclosed between opening and closing <% and %> tags.
|
See also:
Variables and Conditional Output (Reference)
Global predefined variables (Reference with list of variables)
Date and time variables