<div>Is there any way I can detect from <a href="http://www.pmwiki.org/wiki/PmWiki/ConditionalMarkup">conditional markup</a> that the <a href="http://www.pmwiki.org/wiki/PmWiki/IncludeOtherPages">included </a>text is not in the body of a page (eg in the side bar or footer)?</div>
<div><br></div><div>This is because <a href="http://www.pmwiki.org/wiki/PmWiki/PageVariables#specialreferences">Special references</a> don't work the way I assumed in the case where an include in the side bar is from the current page body.</div>
<div>Because {$Name} and {*$Name} are the same in the sidebar the the unclude is from the current page body page.</div><div><br></div><div><br></div><a href="http://www.pmwiki.org/wiki/Test/SpecialReferencesSource">http://www.pmwiki.org/wiki/Test/SpecialReferencesSource</a>
<div><br></div><div><a href="http://www.pmwiki.org/wiki/Test/SpecialReferencesTarget">http://www.pmwiki.org/wiki/Test/SpecialReferencesTarget</a></div>