Search term. (Is a regular expression or literal, depending on the regex parameter)
required
> >
"text"
Search term. (Is a regular expression or literal, depending on the regex parameter) [TWikiAlphaRelease - for regular expressions ";" can be used to mean and e.g. "search;agrep" will find all topic containing search and agrep ]
required
search="text"
(Alternative to above)
N/A
web="Name" web="Main Know" web="all"
Wiki web to search: A web, a list of webs separated by whitespace, or all webs. [2]
Current web
scope="topic" scope="text"
Search topic name (title) or in the text (body) of the topic
Topic text (body)
Line: 225 to 225
children | required |
web="%WEB%"
Wiki web to search: A web, a list of webs separated by whitespace, or all webs.
required
topic="%TOPIC%"
The topic the search relates to
required
Changed:
< <
title="Title"
Text the is prepended to any search results
required
> >
title="Title"
Text that is prepended to any search results
required
Example: %METASEARCH{type="topicmoved" web="%WEB%" topic="%TOPIC%" title="This topic used to exist and was moved to: "}%, you may want to use this in WebTopicViewTemplate and WebTopicNonWikiTemplate %METASEARCH{type="parent" web="%WEB%" topic="%TOPIC%" title="Children: "}%
Line: 348 to 348
SL , WL
List of preferences that are not allowed to be overridden by next level preferences
Changed:
< <
> >
Setting Preferences
Changed:
< <
The syntax for Preferences variables is the same anywhere in TWiki (on its own TWiki bullet line, including nested bullets): [3 spaces] * [space] Set [space] VARIABLENAME [space] = [value] Examples:
> >
The syntax for Preferences Bariables is the same anywhere in TWiki (on its own TWiki bullet line, including nested bullets): [3 spaces] * [space] Set [space] VARIABLENAME [space] = [value] Examples:
Set VARIABLENAME = =value=
Set VARIABLENAME = =value=
Creating Custom Variables
Changed:
< <
You can add your own preference variables for an entire site, a single web, or a single topic, using the standard syntax. Whatever you include in your variable will be expanded on display, and treated exactly as if it had been written out. So you can place formatted text, page links, image paths.
> >
You can add your own Preference Variables for us across an entire site or a single web, using the standard Preferences syntax. Whatever you include in your Variable will be expanded on display, exactly as if it had been entered directly. You can place formatted text, page links, image paths.
Changed:
< <
Example: Create a custom logo variable
To place a logo anywhere in a web by typing %MYLOGO%, simply define the variable on the web's WebPreferences page. You also have to upload logo.gif - this can be done by attaching a file to LogoTopic (any topic name you choose):
Set MYLOGO = %PUBURL%/%MAINWEB%/LogoTopic/logo.gif
> >
Example: Create a custom logo variable the TWiki web
To place a logo anywhere in a web by typing %MYLOGO%, define the Variable on the web's WebPreferences page, and upload a logo file, ex: mylogo.gif. You can upload by attaching the file to WebPreferences, or, to avoid clutter, to any other topic in the same web, ex: LogoTopic: