[pmwiki] [Pmwiki-users] Templates and variables: a thought

Bronwyn Boltwood arndis
Thu Feb 26 18:33:41 CST 2004


On Thu, 26 Feb 2004 17:36:21 -0700, Patrick R. Michaud wrote:
> On Fri, 27 Feb 2004 10:52:46 +1100, Nathan Jones wrote:
>> Last I heard, a variable starts at and includes everything up to the
>> next variable or the end of file. I'm not sure if this has already come
>> up, but... is there a way to indicate the end of a variable in a
>> template? (And if not, can one be created?) 

> At present, no, there isn't one, and yes, there needs to be one for the
> reasons you present (as well as potentially some others). What should we
> use as an ending markup? Or, another way to think of the "ending" markup
> is that it is something that marks the beginning of an "anonymous"
> section--a section not associated with a particular variable, name, or
> feature.

Here's a start/end syntax for you:
start		<!--PageHeaderFmt-->
end		<!--/PageHeaderFmt-->

or

start		<!--PageHeaderFmt start-->
end		<!--PageHeaderFmt end-->

Bronwyn





More information about the pmwiki-users mailing list