#VarINCLUDINGWEB ---+++ INCLUDINGWEB -- web that includes current topic * The web name of the topic that includes the current topic - same as =%<nop>WEB%= if there is no =INCLUDE=. * 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=) <blockquote class="foswikiHelp">%X% While this Macro may appear to work, unless you require the subtle difference between =INCLUDINGWEB= and =BASEWEB=, you probably should use =BASEWEB= </blockquote> * Syntax: =%<nop>INCLUDINGWEB%= * 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]]
This topic: System
>
WebHome
>
Macros
>
VarINCLUDINGWEB
Topic revision:
19 Sep 2010,
ProjectContributor
(raw view)
Copyright © CC-BY-SA by the contributing authors. All material on this collaboration platform is copyrighted under CC-BY-SA by the contributing authors unless otherwise noted.
Ideas, requests, problems regarding Foswiki?
Send feedback