%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 web name where the includes started, e.g. the web of the first topic of nested includes. Same as % in case there is no include. |
|||||||||||||||||||||||||||||||||||||||
% |
The web name of the topic that includes the current topic. Same as % in case there is no include. |
|||||||||||||||||||||||||||||||||||||||
% |
The current topic name, is %TOPIC% | |||||||||||||||||||||||||||||||||||||||
% |
The name of the topic where the includes started, e.g. the first topic of nested includes. Same as % in case there is no include. |
|||||||||||||||||||||||||||||||||||||||
% |
The name of the topic that includes the current topic. Same as % in case there is no include. |
|||||||||||||||||||||||||||||||||||||||
% |
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 time variables.
% 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: % |
|||||||||||||||||||||||||||||||||||||||
% |
If present in included topic, start to include text from this location up to the end, or up to the location of the % variable. A normal view of the topic shows everyting exept the % variable itself. |
|||||||||||||||||||||||||||||||||||||||
% |
If present in included topic, stop to include text at this location and ignore the remaining text. A normal view of the topic shows everyting exept the % variable itself. |
|||||||||||||||||||||||||||||||||||||||
% |
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 - 19 Jan 2001