summaryrefslogtreecommitdiff
path: root/TWiki
diff options
context:
space:
mode:
Diffstat (limited to 'TWiki')
-rw-r--r--TWiki/TWikiVariables.mdwn21
1 files changed, 3 insertions, 18 deletions
diff --git a/TWiki/TWikiVariables.mdwn b/TWiki/TWikiVariables.mdwn
index a38f8386..e4ed80d8 100644
--- a/TWiki/TWikiVariables.mdwn
+++ b/TWiki/TWikiVariables.mdwn
@@ -569,26 +569,11 @@ Additional variables are defined in the preferences ( site-level ( **_SL_** ) in
* 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, image paths.
->
+> **Example: Create a custom logo variable**
>
> <br />
>
-> To place a logo anywhere in a web by typing
->
-> <code>**%MYLOGO%**</code>
->
-> , simply define the variable on the web's
->
->
->
-> [[WebPreferences]]
->
-> page. 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>
+> * To place a logo anywhere in a web by typing <code>**%MYLOGO%**</code>, simply define the variable on the web's [[WebPreferences]] page. You also have to upload `logo.gif` - this can be done by [[FileAttachment]] to `LogoTopic` (any topic name you choose):
+> * <code>**Set MYLOGO = %PUBURLPATH%/%MAINWEB%/LogoTopic/logo.gif**</code>
-- [[MikeMannix]] - 30 Aug 2001 <br />