Документ взят из кэша поисковой машины. Адрес оригинального документа : http://dualopt1.cmm.msu.ru/bin/rdiff/TWiki/TWikiVariables?rev1=13;rev2=9;skin=kubrick.nat%2Cnat%2C%20pattern;sortcol=0;table=1;up=0
Дата изменения: Unknown
Дата индексирования: Tue Apr 12 08:39:57 2016
Кодировка:
%TOPICTITLE% (9 vs. 13) - TWiki
Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r13  >  r12  >  r11  >  r10  >  r9  ...
TWikiVariables 13 - 2000-11-11 - PeterThoeny
Line: 1 to 1
Changed:
<
<
TWiki expands the following variables enclosed in % percent signs:
>
>
TWiki expands the following variables enclosed in % percent signs:
 
Variable: Expanded to:
%WIKIHOMEURL%
Changed:
<
<
The base script URL of TWiki, link of Home icon in upper left corner, is /bin/view
>
>
The base script URL of TWiki, is the link of the Home icon in the upper left corner, is /bin/view
 
%SCRIPTURL%
Changed:
<
<
The script URL of TWiki, is http://dualopt1.cmm.msu.ru/bin
>
>
The script URL of TWiki, is http://dualopt1.cmm.msu.ru/bin
 
%SCRIPTURLPATH%
Changed:
<
<
The path of the script URL of TWiki, is /bin
>
>
The path of the script URL of TWiki, is /bin
 
%PUBURL% The public URL of TWiki, is http://dualopt1.cmm.msu.ru/pub
%PUBURLPATH%
Changed:
<
<
The path of the public URL of TWiki, is /pub
>
>
The path of the public URL of TWiki, is /pub
 
%ATTACHURL% The attachment URL of the current topic, is http://dualopt1.cmm.msu.ru/pub/TWiki/TWikiVariables
Example: If you attach a file you can refer to it as %ATTACHURL%/image.gif
Line: 70 to 70
 
REMOTE_USER environment variable, is
%INCLUDE{"SomeTopic"}%
Changed:
<
<
Server side include, includes another topic. The current Wiki web is searched by default. Example: %INCLUDE{"TWiki.TWikiWebsTable"}%
>
>
Server side include, includes another topic. The current Wiki web is searched by default. Example: %INCLUDE{"TWiki.TWikiWebsTable"}%
 
%SEARCH{"str" ...}% Inline search, shows a search result embedded in a topic. Parameter is composed of the search string, followed by optional name="value" pairs:
Pair: Description: Default:
Changed:
<
<
web="Name"
web="Main Know"
web="all"
Wiki web to search: A web, a list of webs separated by whitespace, or all webs [1] Current web
>
>
web="Name"
web="Main Know"
web="all"
Wiki web to search: A web, a list of webs separated by whitespace, or all webs [1] Current web
 
scope="topic"
scope="text"
Search topic name (title) or in the text (body) of the topic Topic text (body)
order="topic"
order="modified"
order="editby"
Sort the results of search by the topic names, last modified time, or last editor Sort by topic name
limit="all"
limit="16"
Limit the number of results returned All results
Line: 86 to 86
 
bookview="on" BookView search, e.g. show complete topic text Show topic summary
nosearch="on" Suppress search string Show search string
nototal="on" Do not show number of topics found Show number
Changed:
<
<
Example: %SEARCH{"wiki" web="Main" scope="topic"}%
>
>
Example: %SEARCH{"wiki" web="Main" scope="topic"}%
 
%VAR{"NAME" web="Web"}%
Changed:
<
<
Get a preference value from another web then the current one. Example: To get %WEBBGCOLOR% of the Main web write %VAR{"WEBBGCOLOR" web="Main"}%, is #FFEFA6
>
>
Get a preference value from another web then the current one. Example: To get %WEBBGCOLOR% of the Main web write %VAR{"WEBBGCOLOR" web="Main"}%, is #FFEFA6
 
Line: 155 to 155
 
%HTTP_EQUIV_ON_PREVIEW% SL , UL http-equiv meta tags for preview script.
Added:
>
>
%DENYWEBCHANGE% WL List of users and groups who are not allowed to change topics in the TWiki web. (More in TWikiAccessControl)
%ALLOWWEBCHANGE% WL List of users and groups who are allowed to change topics in the TWiki web. (More in TWikiAccessControl)
%DENYTOPICCHANGE% (any topic) List of users and groups who are not allowed to change the current topic. (More in TWikiAccessControl)
%ALLOWTOPICCHANGE% (any topic) List of users and groups who are allowed to change the current topic. (More in TWikiAccessControl)
%FINALPREFERENCES% SL , WL List of preferences that are not allowed to be overridden by next level preferences
 

Notes:

Line: 164 to 184
 
  • Additional preferences variables can be defined on all three level as needed. Example:
    • Set MYLOGO = %PUBURLPATH%/%MAINWEB%/LogoTopic/logo.gif
Changed:
<
<
-- PeterThoeny - 01 Nov 2000
>
>
-- PeterThoeny - 10 Nov 2000

TWikiVariables 12 - 2000-11-02 - PeterThoeny
Line: 87 to 87
 
nosearch="on" Suppress search string Show search string
nototal="on" Do not show number of topics found Show number
Example: %SEARCH{"wiki" web="Main" scope="topic"}%
Added:
>
>
%VAR{"NAME" web="Web"}% Get a preference value from another web then the current one. Example: To get %WEBBGCOLOR% of the Main web write %VAR{"WEBBGCOLOR" web="Main"}%, is #FFEFA6
 

[1] Note: A web can be excluded from a web="all" search if you define a NOSEARCHALL=on variable in its WebPreferences.

Line: 153 to 157
 
http-equiv meta tags for preview script.
Changed:
<
<
-- PeterThoeny - 18 Sep 2000
>
>
Notes:

  • Preferences variables ( on site-level, web-level and user level ) are defined by bullet lines with this syntax:
    • Set VARIABLENAME = value
  • Additional preferences variables can be defined on all three level as needed. Example:
    • Set MYLOGO = %PUBURLPATH%/%MAINWEB%/LogoTopic/logo.gif

-- PeterThoeny - 01 Nov 2000


TWikiVariables 11 - 2000-09-20 - PeterThoeny
Line: 120 to 120
 
WL Exclude web from a web="all" search (set variable to on for hidden webs)
Added:
>
>
%NEWTOPICBGCOLOR% SL , UL Background color of non existing topic. ( UL needs authentication for topic views )
%NEWTOPICFONTCOLOR% SL , UL Font color of non existing topic. ( UL needs authentication for topic views )
 
%EDITBOXWIDTH% SL , UL Horizontal size of edit box, is 70
Line: 138 to 146
 
%HTTP_EQUIV_ON_EDIT% SL , UL
Changed:
<
<
http-equiv meta tags for edit script.
>
>
http-equiv meta tags for edit script.
 
%HTTP_EQUIV_ON_PREVIEW% SL , UL

TWikiVariables 10 - 2000-09-19 - PeterThoeny
Line: 42 to 42
 
%TOPIC% The current topic name, is TWikiVariables
Added:
>
>
%SPACEDTOPIC% The current topic name with added spaces, for regular expression search of Ref-By, is TWiki%20*Variables
 
%GMTIME% GM time, is 2016-04-12 - 05:39
Line: 142 to 145
 
http-equiv meta tags for preview script.
Changed:
<
<
-- PeterThoeny - 17 Aug 2000
>
>
-- PeterThoeny - 18 Sep 2000

Revision 13r13 - 2000-11-11 - 00:39:03 - PeterThoeny
Revision 12r12 - 2000-11-02 - 06:41:55 - PeterThoeny
Revision 11r11 - 2000-09-20 - 01:00:47 - PeterThoeny
Revision 10r10 - 2000-09-19 - 07:19:18 - PeterThoeny
Revision 9r9 - 2000-08-18 - 07:12:18 - PeterThoeny
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiVariables
Syndicate this site RSSATOM