E
dit
A
ttach
P
rintable
r1 - 27 Mar 2005 - 15:14:15 -
TWikiContributor
You are here:
TWiki
>
TWiki Web
>
TWikiVariables
>
VarTOPICLIST
#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 =$name= variable gets expanded to the topic name, =$qname= to double quoted name, =$marker= to =marker= parameter where topic matches =selection=, and =$web= to the name of the web. * Syntax: =%<nop>TOPICLIST{"format" ...}%= * Supported parameters: | *Parameter:* | *Description:* | *Default:* | | ="format"= | Format of one line, may include =$web= (name of web), =$name= (name of the topic), =$qname= (name of topic in double quotes), =$marker= (which expands to =marker= for the item matching =selection= only) | ="$name"= | | =format="format"= | (Alternative to above) | ="$name"= | | =separator=", "= | line separator | ="$n"= (new line) | | =marker="selected"= | Text for =$marker= if the item matches =selection= | ="selected"= | | =selection="TopicA, !TopicB"= | Current value to be selected in list | =(none)= | | =web="Name"= | Name of web | Current web | * Example: =%<nop>TOPICLIST{" * $web.$name"}%= creates a bullet list of all topics * Example: =%<nop>TOPICLIST{separator=", "}%= creates a comma separated list of all topics * Example: =%<nop>TOPICLIST{" <option>$name</option>"}%= creates an option list (for drop down menus) * Example: =<select>%<nop>TOPICLIST{" <option $marker value='$name'>$name</option>" separator=" " selection="%<nop>TOPIC%"}%</select>= creates an option list of web topics with the current topic selected * Related: [[#VarSEARCH][SEARCH]], [[#VarWEBLIST][WEBLIST]]
E
dit
|
A
ttach
|
P
rintable
|
V
iew topic
|
Backlinks:
We
b
,
A
l
l Webs
|
H
istory
: r1
|
M
ore topic actions
TWiki
Log In
or
Register
TWiki Web
Users
Groups
Index
Search
Changes
Notifications
Statistics
Preferences
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
Main
Sandbox
TWiki
Dansk
Deutsch
English
Copyright © 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