From 661162652bb4102ffb2b3779305173c1e0c1ac6c Mon Sep 17 00:00:00 2001 From: thoeny Date: Sun, 13 Jun 1999 07:45:37 +0000 Subject: none --- TWiki/TWikiVariables.mdwn | 60 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 TWiki/TWikiVariables.mdwn diff --git a/TWiki/TWikiVariables.mdwn b/TWiki/TWikiVariables.mdwn new file mode 100644 index 00000000..1bff7a29 --- /dev/null +++ b/TWiki/TWikiVariables.mdwn @@ -0,0 +1,60 @@ +TWiki expands the following variables enclosed in % percent signs: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Variable: Expanded to:
%WIKIHOMEURL% The base script URL of TWiki, link of Home icon in upper left corner is %WIKIHOMEURL%
%SCRIPTURL% The base script URL of TWiki, is %SCRIPTURL%
%PUBURL% The base public URL of TWiki, is %PUBURL%
%ATTACHURL% The attachment URL of the current topic, is %ATTACHURL%
Example: If you attach a file you can refer to it as %ATTACHURL%/image.gif
%WIKIWEBMASTER% The email address of the Wiki webmaster, is %WIKIWEBMASTER%
%WIKITOOLNAME% Name of wiki tool, is %WIKITOOLNAME%
%WIKIVERSION% Wiki tool version, is %WIKIVERSION%
%USERNAME% Your login username, is %USERNAME%
%WIKIUSERNAME% Your Wiki username, if defined in TWiki Users?. Same as %USERNAME% if not defined. Is %WIKIUSERNAME%
%WEB% The current web, is %WEB%
%TOPIC% The current topic name, is %TOPIC%
%DATE% Todays date, is %DATE%
%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"%
-- cgit v1.2.3