summaryrefslogtreecommitdiff
path: root/TWiki
diff options
context:
space:
mode:
Diffstat (limited to 'TWiki')
-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>