Multiple START and STOP INCLUDES feature needed
--
TerryVBush - 15 Jan 2005
Purpose
- I find that there are some topics that are so useful that I need to include more than one part of them in other topics.
- With extensive use of
%STARTINCLUDE% and %STOPINCLUDE% including multiple depth includes sometimes I want to include different parts of the same topic in other topics. This works great with automatically generated pages!
Syntax
- My company is using an older version of TWiki that doesn't have
%INCLUDE{"topic" pattern="..."}% . This syntax could be expanded to handle the following featurette. This is different from the "pattern=" syntax above because it would NOT require any of the content of the included topic to remain constant. Just the STARTINCLUDE.
%INCLUDE{"topic2" target="INCLBLOCK1"}%
%STARTINCLUDE{"INCLBLOCK1"}%
... content ...
%STOPINCLUDE%
- Topic2 could then also have:
%STARTINCLUDE{"BLOCKINCL2"}%
... content ...
%STOPINCLUDE%
%INCLUDE{"topic2" target="BLOCKINCL2"}%
- Note: I don't often check on this web site. To direct comments or questions about this to me, please send e-mail directly to me. Thanks.
--
VictorPalau - 12 Jan 2005
This topic is duplicating old discussion from
NamedIncludeSections
CrawfordCurrie - do you still consider this "low-hanging fruit" (comment made in
NamedIncludeSections)?
--
LynnwoodBrown - 18 Jul 2005
I am more interested in something like
%INCLUDE{"SomeTopic" from="#ThisAnchor" to="#OtherAnchor"}%
seems a lot simpler to use.
--
TravisBarker - 23 Aug 2005