Difference: VarWEB (4 vs. 5)

Revision 52012-11-14 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"

WEB -- name of current web

Line: 7 to 7
 
Changed:
<
<
format="..." Format, may include tokens $web (the full web path), $parents (parent webs, if any), $current (current web without parent webs) "$web"
  • Example, assuming %WEB% is Engineering/TechPubs/Apps:
    %WEB{format="Parent webs: $parents, current web: $current"}% returns: Parent webs: Engineering/TechPubs, current web: Apps
>
>
format="..." Format, may include tokens $web (the full web path), $parents (parent webs, if any), $current (current web without parent webs), $top (top-level web with any subwebs removed) "$web"
  • Example, assuming %WEB% is Engineering/TechPubs/Apps:
    %WEB{format="Parent webs: $parents, current web: $current, top-level web: $top"}% returns: Parent webs: Engineering/TechPubs, current web: Apps, top-level web: Engineering
  • Category: SystemInformationVariables
 
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarWEB.