diff options
author | Peter Thoeny <web-hurd@gnu.org> | 2000-02-28 08:45:06 +0000 |
---|---|---|
committer | Peter Thoeny <web-hurd@gnu.org> | 2000-02-28 08:45:06 +0000 |
commit | 64bfa0228a2ce97cb698dc797a4ff202ea795411 (patch) | |
tree | c02da8a63e59c8fac89afa7730cac002bc3493e9 /TWiki | |
parent | e8bc322a6d6fca026ca01e5a8fed72bd70c96fa3 (diff) |
none
Diffstat (limited to 'TWiki')
-rw-r--r-- | TWiki/TextFormattingRules.mdwn | 8 |
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]]. |