From: PeterThoeny Date: Sat, 20 Jan 2001 08:58:55 +0000 (+0000) Subject: none X-Git-Url: https://git.openafs.org/?p=openafs-wiki.git;a=commitdiff_plain;h=1f5f7352efeeb1f2bb6146450297a2ccca26d329 none --- diff --git a/TWiki/TWikiVariables.mdwn b/TWiki/TWikiVariables.mdwn index d33048b..7f78355 100644 --- a/TWiki/TWikiVariables.mdwn +++ b/TWiki/TWikiVariables.mdwn @@ -58,10 +58,26 @@ The current web, is %WEB% + %BASEWEB% + The web name where the includes started, e.g. the web of the first topic of nested includes. Same as %WEB% in case there is no include. + + + %INCLUDINGWEB% + The web name of the topic that includes the current topic. Same as %WEB% in case there is no include. + + %TOPIC% The current topic name, is %TOPIC% + %BASETOPIC% + The name of the topic where the includes started, e.g. the first topic of nested includes. Same as %TOPIC% in case there is no include. + + + %INCLUDINGTOPIC% + The name of the topic that includes the current topic. Same as %TOPIC% in case there is no include. + + %SPACEDTOPIC% The current topic name with added spaces, for regular expression search of Ref-By, is @@ -71,7 +87,53 @@ %GMTIME{"format"}% - Formatted GM time based on keywords (first three characters needed.)
Example: %GMTIME{"day month, year - hour:min:sec"}% is day month, year - hour:min:sec + Formatted GM time based on time variables. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Variable: Unit: Example
$seconds seconds 59
$minutes minutes 59
$hours hours 23
$day day of month 31
$month month in ISO format Dec
$mo 2 digit month 12
$year 4 digit year 1999
$ye 2 digit year 99
Variables can be shortened to 3 characters. Example:
%GMTIME{"$day $month, $year - $hour:$min:$sec"}% is
29 Jun, 2010 - 15:25:46 %SERVERTIME% @@ -79,7 +141,7 @@ %SERVERTIME{"format"}% - Formatted server time. Example: %SERVERTIME{"hou:min"}% is hou:min + Formatted server time.
Example: %SERVERTIME{"$hou:$min"}% is 11:25 %HTTP_HOST%