they have a start / stop functionality. To make it consistent with STARTINCLUDE / STOPINCLUDE, rename:
- TEMPLATEONLY to STARTTEMPLATEONLY
- ENDTEMPLATEONLY to STOPTEMPLATEONLY
This has the added advantage that the variables are near by in the
TWikiVariables topic.
A small change we should do before release, hence "Urgent".
--
PTh
Implemented in SVN 8437. Also, restored
%NOP{...}%
which was silently removed.
--
PTh
I fixed the NOP fix in SVN 8439.
CC
I chose the tag names carefully. I chose compatibility with SECTION and ENDSECTION rather than STARTINCLUDE and STOPINCLUDE because SECTION..ENDSECTION can occur many times in a topic, but STARTINCLUDE...STOPINCLUDE by definition can only occur once. Since TEMPLATEONLY can occur many times, it made sense to be consistent with SECTION.
If consistency is the goal, you should really change the definition of STARTINCLUDE...STOPINCLUDE to allow it to be used more than once in a topic. Or change SECTION..ENDSECTION to STARTSECTION..STOPSECTION.
Leaving this open for feedback.
CC
Covered by
Item1484