%WIKITOOLNAME% expands the following variables enclosed in % percent signs:
Variable: | Expanded to: | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
% |
The base script URL of %WIKITOOLNAME%, is the link of the Home icon in the upper left corner, is %WIKIHOMEURL% | |||||||||||||||||||||||||||||||||||||||
% |
The script URL of %WIKITOOLNAME%, is %SCRIPTURL% | |||||||||||||||||||||||||||||||||||||||
% |
The path of the script URL of %WIKITOOLNAME%, is %SCRIPTURLPATH% | |||||||||||||||||||||||||||||||||||||||
% |
The script suffix, i.e. .pl , is %SCRIPTSUFFIX% |
|||||||||||||||||||||||||||||||||||||||
% |
The public URL of TWiki, is %PUBURL% | |||||||||||||||||||||||||||||||||||||||
% |
The path of the public URL of %WIKITOOLNAME%, 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%.%WIKIUSERSTOPIC%. 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:
% |
|||||||||||||||||||||||||||||||||||||||
% |
Get a preference value from another web then the current one. Example: To get % of the %MAINWEB% web write % , is %VAR{"WEBBGCOLOR" web="%MAINWEB%"}% |
|
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. |
% |
WL | List of users and groups who are not allowed to change topics in the %WIKITOOLNAME% web. (More in TWiki Access Control?) |
% |
WL | List of users and groups who are allowed to change topics in the %WIKITOOLNAME% web. (More in TWiki Access Control?) |
% |
(any topic) | List of users and groups who are not allowed to change the current topic. (More in TWiki Access Control?) |
% |
(any topic) | List of users and groups who are allowed to change the current topic. (More in TWiki Access Control?) |
% |
SL , WL | List of preferences that are not allowed to be overridden by next level preferences |
Set VARIABLENAME = value
* Additional preferences variables can be defined on all three level as needed. Example:
* Set MYLOGO = %PUBURLPATH%/%MAINWEB%/LogoTopic/logo.gif
-- %MAINWEB%.PeterThoeny - 10 Nov 2000