TWiki expands the following variables enclosed in % percent signs:
Variable: | Expanded to: | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
% |
The base script URL of TWiki, link of Home icon in upper left corner, is %WIKIHOMEURL% | ||||||||||||||||||||||||||||||||||||
% |
The script URL of TWiki, is %SCRIPTURL% | ||||||||||||||||||||||||||||||||||||
% |
The path of the script URL of TWiki, is %SCRIPTURLPATH% | ||||||||||||||||||||||||||||||||||||
% |
The public URL of TWiki, is %PUBURL% | ||||||||||||||||||||||||||||||||||||
% |
The path of the public URL of TWiki, is %PUBURLPATH% | ||||||||||||||||||||||||||||||||||||
% |
The attachment URL of the current topic, is %ATTACHURL% Example: If you attach a file you can refer to it as % |
||||||||||||||||||||||||||||||||||||
% |
The path of the attachment URL of the current topic, is %ATTACHURLPATH% | ||||||||||||||||||||||||||||||||||||
% |
Name of wiki tool, is %WIKITOOLNAME% | ||||||||||||||||||||||||||||||||||||
% |
Wiki tool version, is %WIKIVERSION% | ||||||||||||||||||||||||||||||||||||
% |
Your login username, is %USERNAME% | ||||||||||||||||||||||||||||||||||||
% |
Your Wiki username, if defined in %MAINWEB%.TWikiUsers. Same as % |
||||||||||||||||||||||||||||||||||||
% |
The current web, is %WEB% | ||||||||||||||||||||||||||||||||||||
% |
The current topic name, is %TOPIC% | ||||||||||||||||||||||||||||||||||||
% |
The current topic name with added spaces, for regular expression search of Ref-By, is %SPACEDTOPIC% | ||||||||||||||||||||||||||||||||||||
% |
GM time, is %GMTIME% | ||||||||||||||||||||||||||||||||||||
% |
Formatted GM time based on keywords (first three characters needed.) Example: % is %GMTIME{"day month, year - hour:min:sec"}% |
||||||||||||||||||||||||||||||||||||
% |
Server time, is %SERVERTIME% | ||||||||||||||||||||||||||||||||||||
% |
Formatted server time. Example: % is %SERVERTIME{"hou:min"}% |
||||||||||||||||||||||||||||||||||||
% |
HTTP_HOST environment variable, is %HTTP_HOST% | ||||||||||||||||||||||||||||||||||||
% |
REMOTE_ADDR environment variable, is %REMOTE_ADDR% | ||||||||||||||||||||||||||||||||||||
% |
REMOTE_PORT environment variable, is %REMOTE_PORT% | ||||||||||||||||||||||||||||||||||||
% |
REMOTE_USER environment variable, is %REMOTE_USER% | ||||||||||||||||||||||||||||||||||||
% |
Server side include, includes another topic. The current Wiki web is searched by default. Example: % |
||||||||||||||||||||||||||||||||||||
% |
Inline search, shows a search result embedded in a topic. Parameter is composed of the search string, followed by optional name="value" pairs:
% |
Variable: | Level: | What: |
---|---|---|
% |
SL | Webmaster email address (sender of email notifications) , is %WIKIWEBMASTER% |
% |
SL | List of %WIKITOOLNAME% webs (in upper right corner of topics) |
% |
WL | Common links of web (second line of topics) |
% |
SL , WL | Copyright notice (bottom right corner of topics) |
% |
WL | Background color of web |
% |
WL | Exclude web from a web="all" search (set variable to on for hidden webs) |
% |
SL , UL | Background color of non existing topic. ( UL needs authentication for topic views ) |
% |
SL , UL | Font color of non existing topic. ( UL needs authentication for topic views ) |
% |
SL , UL | Horizontal size of edit box, is %EDITBOXWIDTH% |
% |
SL , UL | Vertical size of edit box, is %EDITBOXHEIGHT% |
% |
SL , UL | Default state of the link check box in the attach file page. Check box is initially checked if value is set to CHECKED , unchecked if empty. If checked, a link is created to the attached file at the end of the topic. Value is: %ATTACHLINKBOX% |
% |
SL | http-equiv meta tags for view, rdiff, attach, search* scripts. |
% |
SL , UL | http-equiv meta tags for edit script. |
% |
SL , UL | http-equiv meta tags for preview script. |