summaryrefslogtreecommitdiff
path: root/TWiki/TWikiVariables.mdwn
diff options
context:
space:
mode:
authorPeter Thoeny <web-hurd@gnu.org>2001-06-08 01:59:58 +0000
committerPeter Thoeny <web-hurd@gnu.org>2001-06-08 01:59:58 +0000
commitc9471c8308fe8d54e10c1f080c404e9d98423ceb (patch)
tree4ef03fd3605d680a5b3e30adef9750806332c84f /TWiki/TWikiVariables.mdwn
parent6e961fbde670a396549f3467fd69b110991a2448 (diff)
none
Diffstat (limited to 'TWiki/TWikiVariables.mdwn')
-rw-r--r--TWiki/TWikiVariables.mdwn8
1 files changed, 8 insertions, 0 deletions
diff --git a/TWiki/TWikiVariables.mdwn b/TWiki/TWikiVariables.mdwn
index b727f97a..6eee1e6b 100644
--- a/TWiki/TWikiVariables.mdwn
+++ b/TWiki/TWikiVariables.mdwn
@@ -90,6 +90,14 @@
<td> The current topic name with added spaces, for regular expression search of Ref-By, is <b>%SPACEDTOPIC%</b></td>
</tr>
<tr>
+ <td><code>%<nop>TOPICLIST{"format"}%</nop></code></td>
+ <td> Topic index of a web. Parameter is composed of the format, followed by an optional <code>web="Name"</code>. The <code>"format"</code> defines the format of one topic item; use it to create any formatting you need. The <code>$name</code> variable is expanded to the topic name; the <code>$web</code> variable is expanded to the name of the web. Examples: <br /><code>%<nop>TOPICLIST{"   * $web.$name"}%</nop></code> creates a bullet list of all topics. <br /><code>%<nop>TOPICLIST{" &amp;lt;option&amp;gt;$name&amp;lt;/option&amp;gt;"}%</nop></code> creates an option list (for drop down menus). </td>
+ </tr>
+ <tr>
+ <td><code>%<nop>WEBLIST{"format"}%</nop></code></td>
+ <td> Web index, e.g. list of all webs. Hidden webs are excluded, e.g. webs with a <code>NOSEARCHALL=on</code> preference variable. The <code>"format"</code> defines the format of one web item. The <code>$name</code> variable is expanded to the name of the web. Example: <br /><code>%<nop>WEBLIST{"   * [<nop>[$name.%HOMETOPIC%]]"}%</nop></nop></code> creates a bullet list of all webs. </td>
+ </tr>
+ <tr>
<td><code>%<nop>GMTIME%</nop></code></td>
<td> GM time, is <b>%GMTIME%</b></td>
</tr>