template element

From QuestWiki
Jump to: navigation, search
<template name=" name "> text </template>

Creates a template of the specified name. You can print the template's text using the Template function.

Within a language library, a template may define a templatetype of "command", for example:

<template templatetype="command" name="undo">^undo$</template>

This simply is a flag to the Editor to prevent it from showing the template in the list of templates (as the way to edit it would be to edit the associated command pattern).

Personal tools
Namespaces
Variants
Actions
Navigation
Quest Documentation
Toolbox