summaryrefslogtreecommitdiff
path: root/TWiki
diff options
context:
space:
mode:
authorPeter Thoeny <web-hurd@gnu.org>2000-11-02 06:41:55 +0000
committerPeter Thoeny <web-hurd@gnu.org>2000-11-02 06:41:55 +0000
commit0b56cb7c402e9828fdd2efaddd1fd3267afb6b62 (patch)
treee2315354016531f051fed3e4b4b8670b6cb9a743 /TWiki
parent8a47c5a00d9acc2bb1800f2ebba6bb7542732d35 (diff)
none
Diffstat (limited to 'TWiki')
-rw-r--r--TWiki/TWikiVariables.mdwn17
1 files changed, 16 insertions, 1 deletions
diff --git a/TWiki/TWikiVariables.mdwn b/TWiki/TWikiVariables.mdwn
index c60b3023..962e2173 100644
--- a/TWiki/TWikiVariables.mdwn
+++ b/TWiki/TWikiVariables.mdwn
@@ -162,6 +162,14 @@ TWiki expands the following variables enclosed in % percent signs:
</tr>
</table> Example: <code><b>%<nop>SEARCH{"wiki" web="Main" scope="topic"}%</nop></b></code></td>
</tr>
+ <tr>
+ <td><code>%<nop>VAR{"NAME" web="Web"}%</nop></code></td>
+ <td> Get a preference value from another web then the current one. Example: To get <code>%<nop>WEBBGCOLOR%</nop></code> of the Main web write <code>%<nop>VAR{"WEBBGCOLOR" web="Main"}%</nop></code>, is <code><b>%VAR{"WEBBGCOLOR" web="Main"}%</b></code></td>
+ <td>
+ <p>
+ </p>
+ </td>
+ </tr>
</table>
[1] **_Note_**: A web can be excluded from a `web="all"` search if you define a `NOSEARCHALL=on` variable in its [[WebPreferences]].
@@ -246,4 +254,11 @@ Additional variables are defined in the preferences ( site-level ( **_SL_** ) in
</tr>
</table>
--- [[Main/PeterThoeny]] - 18 Sep 2000 <br />
+**_Notes:_**
+
+* Preferences variables ( on site-level, web-level and user level ) are defined by bullet lines with this syntax:
+ * <code>Set VARIABLENAME = value</code>
+* Additional preferences variables can be defined on all three level as needed. Example:
+ * <code>Set MYLOGO = %PUBURLPATH%/%MAINWEB%/LogoTopic/logo.gif</code>
+
+-- [[Main/PeterThoeny]] - 01 Nov 2000 <br />