TWiki home TWiki > TWiki > TWikiVariables (r1.1) TWiki webs:
Main | TWiki | Know | Sandbox
TWiki . { Welcome | Register | Changes | Topics | Index | Search | Go }
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 http://your.domain.com/twiki
%SCRIPTURL% The base script URL of TWiki, is http://qtella.sourceforge.net/cgi-bin
%PUBURL% The base public URL of TWiki, is http://qtella.sourceforge.net/twiki/pub
%ATTACHURL% The attachment URL of the current topic, is http://qtella.sourceforge.net/twiki/pub/TWiki/TWikiVariables
Example: If you attach a file you can refer to it as %ATTACHURL%/image.gif
%WIKIWEBMASTER% The email address of the Wiki webmaster, is webmaster@your.company
%WIKITOOLNAME% Name of wiki tool, is TWiki
%WIKIVERSION% Wiki tool version, is 01 Feb 2003
%USERNAME% Your login username, is guest
%WIKIUSERNAME% Your Wiki username, if defined in TWikiUsers?. Same as %USERNAME% if not defined. Is Main.TWikiGuest
%WEB% The current web, is TWiki
%TOPIC% The current topic name, is TWikiVariables
%DATE% Todays date, is 02 Feb 2025
%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"%

Topic TWikiVariables . { Edit | Attach | Ref-By | Printable | Diffs | r1.62 | > | r1.61 | > | r1.60 | More }
Revision r1.1 - 13 Jun 1999 - 07:45 GMT - PeterThoeny Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.