summaryrefslogtreecommitdiff
path: root/TWiki
diff options
context:
space:
mode:
authorPeter Thoeny <web-hurd@gnu.org>2000-02-28 08:45:06 +0000
committerPeter Thoeny <web-hurd@gnu.org>2000-02-28 08:45:06 +0000
commit64bfa0228a2ce97cb698dc797a4ff202ea795411 (patch)
treec02da8a63e59c8fac89afa7730cac002bc3493e9 /TWiki
parente8bc322a6d6fca026ca01e5a8fed72bd70c96fa3 (diff)
none
Diffstat (limited to 'TWiki')
-rw-r--r--TWiki/TextFormattingRules.mdwn8
1 files changed, 7 insertions, 1 deletions
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.
+
+* <code>%WEB%</code> : The current web, is **%WEB%** .
+* <code>%TOPIC%</code> : The current topic name, is **%TOPIC%** .
+* <code>%ATTACHURL%</code> : The attachment URL of the current topic. Example usage: If you attach a file to a topic you can refer to it as <code>**%ATTACHURL%/image.gif**</code> to show the URL of the file or the image in your text.
+* <code>%INCLUDE\{"file.ext"\}%</code> : Server side include, includes the text of a file. The default directory is the current Wiki web. Example: <code>**%INCLUDE\{"Know/TopicName.txt"\}%**</code>
+* There are many more variables, see [[TWikiVariables]].