1
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.1" version="1"}%
2
%META:TOPICPARENT{name="Macros"}%
4
---+++ INCLUDINGWEB -- web that includes current topic
5
* The web name of the topic that includes the current topic - same as =%<nop>WEB%= if there is no INCLUDE.
6
* If a topic is used in a chain of INCLUDEs, INCLUDINGWEB is set to the topic directly INCLUDing this one, _NOT_ the web that has been requested by the user (which is set in BASEWEB)
7
* __WARNING:__ While this Macro may appear to work, unless you require the subtle difference between INCLUDINGWEB and BASEWEB, you probably should use BASEWEB.
8
* Syntax: =%<nop>INCLUDINGWEB%=
9
* Related: [[%IF{"'%BASETOPIC%'='Macros'" then="#"}%VarBASEWEB][BASEWEB]], [[%IF{"'%BASETOPIC%'='Macros'" then="#"}%VarINCLUDINGTOPIC][INCLUDINGTOPIC]], [[%IF{"'%BASETOPIC%'='Macros'" then="#"}%VarINCLUDE][INCLUDE]], [[%IF{"'%BASETOPIC%'='Macros'" then="#"}%VarWEB][WEB]]