diff options
author | Peter Thoeny <web-hurd@gnu.org> | 2001-03-16 08:32:38 +0000 |
---|---|---|
committer | Peter Thoeny <web-hurd@gnu.org> | 2001-03-16 08:32:38 +0000 |
commit | 584c73a16581d69058c189317e9b13cc37d8d3e0 (patch) | |
tree | 2fb9c2e6ee94192c28a557be1ce6077e0ab335af | |
parent | 474135f2cb7578dbd6cc84edf419dfa65bf24f52 (diff) |
none
-rw-r--r-- | TWiki/TWikiVariables.mdwn | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/TWiki/TWikiVariables.mdwn b/TWiki/TWikiVariables.mdwn index a089e12e..277d7579 100644 --- a/TWiki/TWikiVariables.mdwn +++ b/TWiki/TWikiVariables.mdwn @@ -1,3 +1,7 @@ +## <a name="TWiki_Variables"> TWiki Variables </a> + +### <a name="Predefined_Variables"> Predefined Variables </a> + %WIKITOOLNAME% expands the following variables enclosed in % percent signs: <table border="1"> @@ -267,7 +271,7 @@ </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 %MAINWEB% web write <code>%<nop>VAR{"WEBBGCOLOR" web="%MAINWEB%"}%</nop></code>, is <code><b>%VAR{"WEBBGCOLOR" web="%MAINWEB%"}%</b></code></td> + <td> Get a preference value from a web other then the current one. Example: To get <code>%<nop>WEBBGCOLOR%</nop></code> of the %MAINWEB% web write <code>%<nop>VAR{"WEBBGCOLOR" web="%MAINWEB%"}%</nop></code>, is <code><b>%VAR{"WEBBGCOLOR" web="%MAINWEB%"}%</b></code></td> <td> <p> </p> @@ -277,6 +281,8 @@ [1] **_Note_**: A web can be excluded from a `web="all"` search if you define a `NOSEARCHALL=on` variable in its %WEBPREFSTOPIC%. +### <a name="Preferences_Variables"> Preferences Variables </a> + Additional variables are defined in the preferences ( site-level ( **_SL_** ) in %TWIKIWEB%.%WIKIPREFSTOPIC%, web-level ( **_WL_** ) in %WEBPREFSTOPIC% of each web, and user level ( **_UL_** ) preferences in individual user topics): <table border="1"> @@ -389,4 +395,4 @@ Additional variables are defined in the preferences ( site-level ( **_SL_** ) in * Additional preferences variables can be defined on all three level as needed. Example: * <code>Set MYLOGO = %PUBURLPATH%/%MAINWEB%/LogoTopic/logo.gif</code> --- %MAINWEB%.PeterThoeny - 01 Mar 2001 <br /> +-- [[PeterThoeny]] - 15 Mar 2001 <br /> |