URL: http://api.jquery.com/jquery.tmpl/.
Tmpl provides several tags:
${}: equivalent to {{=}}, which is an output variable and is encoded in HTML.
{{html}}: Output variable html, but without html encoding, suitable for outputting html code.
{{if }} {{else}}: Provides branching logic.
{{each}}: Provides loop logic, $value access iteration variables.
The following is a simple template tmpl example: (the code can best explain everything)
Effect: