%WEB%
if there is no INCLUDE
.
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
) While this Macro may appear to work, unless you require the subtle difference betweenINCLUDINGWEB
andBASEWEB
, you probably should useBASEWEB
%INCLUDINGWEB%