From: PeterThoeny Date: Sun, 18 Jan 2004 09:11:57 +0000 (+0000) Subject: none X-Git-Url: https://git.openafs.org/?p=openafs-wiki.git;a=commitdiff_plain;h=a6ba3fd766b0d028c616ed8ccde9abc6ecfe39c7 none --- diff --git a/TWiki/TWikiVariables.mdwn b/TWiki/TWikiVariables.mdwn index c212af3..fc718e6 100644 --- a/TWiki/TWikiVariables.mdwn +++ b/TWiki/TWikiVariables.mdwn @@ -24,7 +24,7 @@ Most predefined variables return values that were either set in the **lib/ This version of TWiki - TWiki-4.1.2, Sat, 03 Mar 2007, build 13046 - expands the following variables (enclosed in **%** percent signs): - +
@@ -327,7 +327,7 @@ This version of TWiki - TWiki-4.1.2, Sat, 03 Mar 2007, build 13046 - expands the -
Variable: Expanded to: 2 digit year 99
Variables can be shortened to 3 characters. Example:
%GMTIME{"$day $month, $year - $hour:$min:$sec"}% is
29 Jun, 2010 - 15:43:51 + Variables can be shortened to 3 characters. Example:
%GMTIME{"$day $month, $year - $hour:$min:$sec"}% is
29 Jun, 2010 - 15:43:53 %SERVERTIME% @@ -389,7 +389,7 @@ This version of TWiki - TWiki-4.1.2, Sat, 03 Mar 2007, build 13046 - expands the warn="off" Warn if topic include fails: Fail silently (if off); output default warning (if set to on); else, output specific text (use $topic for topic name) - %INCLUDE- WARNING% preferences setting + %INCLUDE- WARNING% [[Main/TWikiPreferences]] setting @@ -446,7 +446,7 @@ This version of TWiki - TWiki-4.1.2, Sat, 03 Mar 2007, build 13046 - expands the "text" - Search term. Is a regular expression or literal, depending on the regex parameter. For regular expressions ";" is used to mean and e.g. "search;agrep" will find all topic containing search and agrep. + Search term. Is a keyword search, literal search or regular expression search, depending on the type parameter. [[Main/SearchHelp]] has more required @@ -470,9 +470,14 @@ This version of TWiki - TWiki-4.1.2, Sat, 03 Mar 2007, build 13046 - expands the None - scope="topic"
scope="text" - Search topic name (title) or in the text (body) of the topic - Topic text (body) + type="keyword"
type="literal"
type="regex" + Do a keyword search like soap "web service" -shampoo; a literal search like web service; or [[Main/RegularExpression]] search like soap;web service;!shampoo + %SEARCHVAR- DEFAULTTYPE% [[Main/TWikiPreferences]] setting + + + scope="topic"
scope="text"
scope="all" + Search topic name (title); the text (body) of topic; or all (both) + "text" order="topic"
order="modified"
order="editby"
order=
 "formfield(name)"
@@ -485,11 +490,6 @@ This version of TWiki - TWiki-4.1.2, Sat, 03 Mar 2007, build 13046 - expands the All results - regex="on" - [[Main/RegularExpression]] search; also enables ";" as and - Literal search - - reverse="on" Reverse the direction of the search Ascending search @@ -539,7 +539,7 @@ This version of TWiki - TWiki-4.1.2, Sat, 03 Mar 2007, build 13046 - expands the Line separator between hits Newline "$n" - Regular example: %SEARCH{"wiki" web="Main" scope="topic"}%
Formatted example: %SEARCH{"FAQ" scope="topic" nosearch="on" nototal="on" header="| *Topic: * | *Summary: * |" format="| $topic | $summary |"% (displays results in a table with header - [[Main/FormattedSearch]])
%H% If the TWiki:Plugins.TablePlugin is installed, you may set a %TABLE{}% variable just before the %SEARCH{}% to alter the output of a search. Example: %TABLE{ tablewidth="90%" }% + Example: %SEARCH{"wiki" web="Main" scope="topic"}%
Formatted example: %SEARCH{"FAQ" scope="topic" nosearch="on" nototal="on" header="| *Topic: * | *Summary: * |" format="| $topic | $summary |"% (displays results in a table with header - [[Main/FormattedSearch]])
%H% If the TWiki:Plugins.TablePlugin is installed, you may set a %TABLE{}% variable just before the %SEARCH{}% to alter the output of a search. Example: %TABLE{ tablewidth="90%" }% %METASEARCH{...}% @@ -591,7 +591,7 @@ This version of TWiki - TWiki-4.1.2, Sat, 03 Mar 2007, build 13046 - expands the Additional variables are defined in the preferences ( site-level ( **_SL_** ) in [[TWikiPreferences]], web-level ( **_WL_** ) in [[WebPreferences]] of each web, and user level ( **_UL_** ) preferences in individual user topics): - +
@@ -723,35 +723,13 @@ Additional variables are defined in the preferences ( site-level ( **_SL_** ) in -
Variable: Level: List of users and groups who are allowed to rename the current topic. (More in [[Main/TWikiAccessControl]])
-

-

-
%FINALPREFERENCES% SL , WL List of preferences that are not allowed to be overridden by next level preferences
-> **_Note:_** -> -> There are some more useful variables defined in the -> -> [[TWikiPreferences]] -> -> like -> -> `%BR%` -> -> for line break, colors like -> -> `%RED%` -> -> for colored text and small icons like -> -> `%H%` -> -> for a %H% Help icon. +**_Note:_** There are some more useful variables defined in the [[TWikiPreferences]] like `%BR%` for line break, colors like `%RED%` for colored text and small icons like `%H%` for a %H% Help icon.