From 0b56cb7c402e9828fdd2efaddd1fd3267afb6b62 Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Thu, 2 Nov 2000 06:41:55 +0000 Subject: none --- TWiki/TWikiVariables.mdwn | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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: Example: %SEARCH{"wiki" web="Main" scope="topic"}% + + %VAR{"NAME" web="Web"}% + Get a preference value from another web then the current one. Example: To get %WEBBGCOLOR% of the Main web write %VAR{"WEBBGCOLOR" web="Main"}%, is %VAR{"WEBBGCOLOR" web="Main"}% + +

+

+ + [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 --- [[Main/PeterThoeny]] - 18 Sep 2000
+**_Notes:_** + +* Preferences variables ( on site-level, web-level and user level ) are defined by bullet lines with this syntax: + * Set VARIABLENAME = value +* Additional preferences variables can be defined on all three level as needed. Example: + * Set MYLOGO = %PUBURLPATH%/%MAINWEB%/LogoTopic/logo.gif + +-- [[Main/PeterThoeny]] - 01 Nov 2000
-- cgit v1.2.3