-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item12837: Implement ENDINCLUDE and STOPSECTION
git-svn-id: http://svn.foswiki.org/trunk@17466 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
- Loading branch information
GeorgeClark
authored and
GeorgeClark
committed
Apr 2, 2014
1 parent
693b30b
commit ea39af3
Showing
15 changed files
with
129 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1396410293" format="1.1" version="1"}% | ||
%META:TOPICPARENT{name="Macros"}% | ||
#VarENDINCLUDE | ||
---+++ ENDINCLUDE -- end position of topic text if included | ||
* If present in included topic, stop to include text at this location and ignore the remaining text. A normal view of the topic shows everyting exept the =%<nop>STOPINCLUDE%= macro itself. | ||
* Syntax: =%<nop>ENDINCLUDE%= | ||
* Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarINCLUDE][INCLUDE]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSTARTINCLUDE][STARTINCLUDE]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1394718138" format="1.1" version="1"}% | ||
%META:TOPICINFO{author="ProjectContributor" date="1396410293" format="1.1" version="1"}% | ||
%META:TOPICPARENT{name="Macros"}% | ||
#VarSTARTINCLUDE | ||
---+++ STARTINCLUDE -- start position of topic text if included | ||
* If present in included topic, start to include text from this location up to the end, or up to the location of the =%<nop>STOPINCLUDE%= macro. A normal view of the topic shows everything exept the =%<nop>STARTINCLUDE%= macro itself. | ||
* If present in included topic, start to include text from this location up to the end, or up to the location of the =%<nop>ENDINCLUDE%= macro. A normal view of the topic shows everything except the =%<nop>STARTINCLUDE%= macro itself. | ||
* Syntax: =%<nop>STARTINCLUDE%= | ||
<blockquote class="foswikiHelp">%T% If you want more than one part of the topic included, use =%<nop>STARTSECTION{type="include"}%= instead</blockquote> | ||
* Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarINCLUDE][INCLUDE]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSTARTSECTION][STARTSECTION]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSTOPINCLUDE][STOPINCLUDE]] | ||
* Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarINCLUDE][INCLUDE]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSTARTSECTION][STARTSECTION]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarENDINCLUDE][ENDINCLUDE]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1394718138" format="1.1" version="1"}% | ||
%META:TOPICINFO{author="ProjectContributor" date="1396410293" format="1.1" version="1"}% | ||
%META:TOPICPARENT{name="Macros"}% | ||
#VarSTOPINCLUDE | ||
---+++ STOPINCLUDE -- end position of topic text if included | ||
* If present in included topic, stop to include text at this location and ignore the remaining text. A normal view of the topic shows everyting exept the =%<nop>STOPINCLUDE%= macro itself. | ||
* Syntax: =%<nop>STOPINCLUDE%= | ||
---+++ STOPINCLUDE -- Alias for [[VarENDINCLUDE][ENDINCLUDE]] | ||
* Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarINCLUDE][INCLUDE]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSTARTINCLUDE][STARTINCLUDE]] | ||
|
Oops, something went wrong.