Templates: TMPL Reference


On this page is a reference for the types of tags used in .tmpl files, along with explanations of syntax and proper usage.



Echo Variable Tag

Copy the value of a variable into a new file being created by the system via a TMPL.

Syntax:
<!-- %echo -->

Example:
<meta name="keywords" content="<!--%echo var="metakey" -->">

Parameters ( toggle all )

  1. encoding

  2. var (Required)

Set Variable Tag

Defines a new variable within a TMPL.

Syntax:
<!-- %set -->

Example:
<meta name="keywords" content="<!--%set var="metakey" -->">

Parameters

  1. var (Required)