summaryrefslogtreecommitdiff
path: root/TWiki
diff options
context:
space:
mode:
authorMikeMannix <MikeMannix>2001-08-29 00:16:01 +0000
committerMikeMannix <MikeMannix>2001-08-29 00:16:01 +0000
commitcf5bb20fec0c3441cc2068175ac2b9c05e4d34eb (patch)
tree1d2f5f4e2dc154706e0cabd24b2f8d34e8fb1c41 /TWiki
parentcd5abf00f2bc6bc06f1faad4eb1b7a358d1b011c (diff)
none
Diffstat (limited to 'TWiki')
-rw-r--r--TWiki/TWikiVariables.mdwn16
1 files changed, 10 insertions, 6 deletions
diff --git a/TWiki/TWikiVariables.mdwn b/TWiki/TWikiVariables.mdwn
index 473bd316..f2cc1f2f 100644
--- a/TWiki/TWikiVariables.mdwn
+++ b/TWiki/TWikiVariables.mdwn
@@ -2,6 +2,10 @@
## <a name="TWiki_Variables"> TWiki Variables </a>
+### <a name="About_Variables"> About Variables </a>
+
+**_Include/write if not found elsewhere._**
+
### <a name="Predefined_Variables"> Predefined Variables </a>
%WIKITOOLNAME% expands the following variables enclosed in % percent signs:
@@ -560,11 +564,11 @@ Additional variables are defined in the preferences ( site-level ( **_SL_** ) in
</tr>
</table>
-**_Notes:_**
+### <a name="Setting_and_Creating_New_Prefere"> Setting and Creating New Preferences </a>
-* 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>
+* The syntax for Preferences variables is the same anywhere in TWiki. In Edit mode, from the start of a new line: <br />[6 spaces] \* [space] Set [space] VARIABLENAME [space] = [value] <br />**_Example:_**
+ * <code>**Set VARIABLENAME = value**</code>
+* You can add your own preference variables for an entire site, a single web, or a single topic, using the standard syntax. Whatever you include in your variable will be expanded on display, and treated exactly as if it had been written out. So you can place formatted text, page links, images.<br />**_Example:_** To place a logo anywhere in a web by typing <code>**%MYLOGO%**</code>, define the variable in the web's [[WebPreferences]] topic, like this (in this case, you also have to upload <code>**logo.gif**</code> to the same directory):
+ * <code>**Set MYLOGO = %PUBURLPATH%/%MAINWEB%/LogoTopic/logo.gif**</code>
--- [[PeterThoeny]] - 23 Jul 2001 <br /> -- [[MikeMannix]] - 26 Aug 2001 <br />
+-- [[MikeMannix]] - 26 Aug 2001 <br />