Tags:
tag this topic
create new tag
view all tags
#VarTOPICLIST ---+++ TOPICLIST{"format"} -- topic index of a web * List of all topics in a web. The "format" defines the format of one topic item. It may include variables: The =$topic= variable gets expanded to the topic name, =$marker= to =marker= parameter where topic matches =selection=, and =$web= to the name of the web, or any of the standard FormatTokens. * Syntax: =%<nop>TOPICLIST{"format" ...}%= * Supported parameters: | *Parameter:* | *Description:* | *Default:* | | ="format"= | Format of one line, may include =$web= (name of web), =$topic= (name of the topic), =$marker= (which expands to =marker= for the item matching =selection= only) | ="$topic"= | | =format="format"= | (Alternative to above) | ="$topic"= | | =separator=", "= | line separator | ="$n"= (new line) | | =marker="selected"= | Text for =$marker= if the item matches =selection= | ="selected"= | | =selection="TopicA, !TopicB"= | Topic(s) to show selected with =$marker=; specify a comma-space list of full topic names | =(none)= | | =web="Name"= | Name of web | Current web | * Example: =%<nop>TOPICLIST{" * $web.$topic"}%= creates a bullet list of all topics * Example: =%<nop>TOPICLIST{separator=", "}%= creates a comma separated list of all topics * Example: =%<nop>TOPICLIST{" <option>$topic</option>"}%= creates an option list (for drop down menus) * Example: =<select>%<nop>TOPICLIST{" <option $marker value='$topic'>$topic</option>" separator=" " selection="%<nop>TOPIC%"}%</select>= creates an option list of web topics with the current topic selected * Category: SearchingAndListingVariables, SystemInformationVariables * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSEARCH][SEARCH]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarWEBLIST][WEBLIST]]
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r4 - 27 Jul 2016
-
TWikiContributor
Home
Site map
Sandbox web
TWiki web
TWiki Web
User registration
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
InterWikis
ManagingUsers
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Account
Log In
Register User
Български
Cesky
Dansk
Deutsch
English
Español
_Français_
Italiano
日本語
한글
Nederlands
Polski
Português
Русский
Svenska
简体中文
簡體中文
E
dit
A
ttach
Copyright © 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.VarTOPICLIST
.