|
< < | TWiki expands the following variables enclosed in % percent signs: |
> > | The Caboteria expands the following variables enclosed in % percent signs: |
|
Variable: | Expanded to: |
%WIKIHOMEURL% |
|
|
< < | The base script URL of TWiki, link of Home icon in upper left corner, is /wiki/bin/view/Main/WebHome | |
> > | The base script URL of The Caboteria, is the link of the Home icon in the upper left corner, is /wiki/bin/view/Main/WebHome | |
| |
|
< < | The script URL of TWiki, is http://caboteria.org/wiki/bin | |
> > | The script URL of The Caboteria, is http://caboteria.org/wiki/bin | |
| |
|
< < | The path of the script URL of TWiki, is /wiki/bin | |
> > | The path of the script URL of The Caboteria, is /wiki/bin | |
|
%PUBURL% |
The public URL of TWiki, is http://caboteria.org/wiki/pub |
%PUBURLPATH% |
|
|
< < | The path of the public URL of TWiki, is /wiki/pub | |
> > | The path of the public URL of The Caboteria, is /wiki/pub | |
|
%ATTACHURL% |
The attachment URL of the current topic, is http://caboteria.org/wiki/pub/TWiki/TWikiVariables Example: If you attach a file you can refer to it as %ATTACHURL%/image.gif |
|
| REMOTE_USER environment variable, is |
%INCLUDE{"SomeTopic"}% | |
|
< < | 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:
|
|
< < |
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 |
|
|
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 |
|
|
< < | Example: %SEARCH{"wiki" web="Main" scope="topic"}% |
> > | Example: %SEARCH{"wiki" web="Main" scope="topic"}% |
| |
|
< < | 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 | |
| |
| %HTTP_EQUIV_ON_PREVIEW% |
SL , UL |
http-equiv meta tags for preview script. | |
|
> > |
%DENYWEBCHANGE% |
WL |
List of users and groups who are not allowed to change topics in the The Caboteria web. (More in TWikiAccessControl) |
%ALLOWWEBCHANGE% |
WL |
List of users and groups who are allowed to change topics in the The Caboteria 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: |
|
- Additional preferences variables can be defined on all three level as needed. Example:
-
Set MYLOGO = %PUBURLPATH%/%MAINWEB%/LogoTopic/logo.gif
|
|
< < | -- PeterThoeny - 01 Nov 2000
|
> > | -- PeterThoeny - 10 Nov 2000
|