From 64bfa0228a2ce97cb698dc797a4ff202ea795411 Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Mon, 28 Feb 2000 08:45:06 +0000 Subject: none --- TWiki/TextFormattingRules.mdwn | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/TWiki/TextFormattingRules.mdwn b/TWiki/TextFormattingRules.mdwn index b083d632..afe56cff 100644 --- a/TWiki/TextFormattingRules.mdwn +++ b/TWiki/TextFormattingRules.mdwn @@ -46,4 +46,10 @@ External links: **WIKI VARIABLES** -%INCLUDE\{"TWikiVariables.txt"\}% +Variables are names enclosed in percent signs that gets expanded on the fly. + +* %WEB% : The current web, is **%WEB%** . +* %TOPIC% : The current topic name, is **%TOPIC%** . +* %ATTACHURL% : The attachment URL of the current topic. Example usage: If you attach a file to a topic you can refer to it as **%ATTACHURL%/image.gif** to show the URL of the file or the image in your text. +* %INCLUDE\{"file.ext"\}% : Server side include, includes the text of a file. The default directory is the current Wiki web. Example: **%INCLUDE\{"Know/TopicName.txt"\}%** +* There are many more variables, see [[TWikiVariables]]. -- cgit v1.2.3