• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7727: WEB variable with nameless parameter and additional tokens $top(n), $last(n), $item(n), $list, size

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Enhancement Closed   patch 6.1.0

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


See proposal at TWiki:Codev.EnhancedWebVariable

-- TWiki:Main/PeterThoeny - 2016-02-21

Updated docs in VarWEB:

Parameter: Description: Example: Default:
"..." or
Format of web name. Supported tokens:
$web - the full web path,
$parents - parent webs, if any,
$current - current web without parent webs,
$last(n) - last n webs, including current one,
$top - top-level web only,
$top(n) - n top-level webs,
$item(n) - the n-th web from top
$list - comma-space delimited list of webs
$size - array size of webs
Bugs for $current
Apps/Bugs for $last(2)
Engineering for $top
Engineering/TechPubs for $top(2)
TechPubs for $item(2)
Engineering, TechPubs, Apps, Bugs
4 for $size

-- Peter Thoeny - 2016-03-03

Summary WEB variable with nameless parameter and additional tokens $top(n), $last(n), $item(n), $list, size
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4, 6.0.2
SVN Range TWiki-6.0.2-trunk, Wed, 03 Feb 2016, build 29950
AppliesTo Engine

Priority Enhancement
CurrentState Closed

Checkins TWikirev:29985 TWikirev:29986 TWikirev:29987 TWikirev:29988
TargetRelease patch
ReleasedIn 6.1.0
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r9 - 2018-07-17 - PeterThoeny
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-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