Tmplz Tags |
Extra Tags: BetweenThe Between tag can be used within a Section to add content between instances of the Section when it is shown multiple times. Consider the following template, named template.sql:
select [$Section param][$Between],[$Between]?[$Section]
from TableX
- which is included by this template:
[$Include template.sql]
[$Show param/]
[$Show param/]
[$Show param/]
[$Include]
- to produce this result:
select ?,?,?
from TableX
In this example, the comma appears only between the question marks; if the question mark were shown only once, the comma would not appear at all. Usually it is best to use Between at the beginning of a Section, not the end. Note that Between currently does not allow sub-tags within itself. Next page: TagWith |