<<O>> Difference Topic TWikiVariables (r1.62 - 27 Jan 2003 - PeterThoeny) |
Added: | |
> > |
<<O>> Difference Topic TWikiVariables (r1.61 - 19 Jan 2003 - PeterThoeny) |
Changed: | |
< < |
Formatted example: %SEARCH{"FAQ" scope="topic" nosearch="on" nototal="on" header="| *Topic: * | *Summary: * |" format="| $topic | $summary |"% (displays results in a table with header - details)
|
> > |
Formatted example: %SEARCH{"FAQ" scope="topic" nosearch="on" nototal="on" header="| *Topic: * | *Summary: * |" format="| $topic | $summary |"% (displays results in a table with header - details) 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%" }%
|
Changed: | |
< < |
-- PeterThoeny - 13 Sep 2001 |
> > |
-- PeterThoeny - 19 Jan 2003 |
<<O>> Difference Topic TWikiVariables (r1.60 - 11 Dec 2002 - PeterThoeny) |
Changed: | ||||||||||||||||||||
< < | Server side include to IncludeTopicsAndWebPages. Parameters are page name, and an optional pattern="(reg-exp)" . The page name is:
| |||||||||||||||||||
> > | Server side include to IncludeTopicsAndWebPages:
| |||||||||||||||||||
Changed: | ||||||||||||||||||||
< < |
| |||||||||||||||||||
> > |
|
<<O>> Difference Topic TWikiVariables (r1.59 - 23 Nov 2002 - PeterThoeny) |
Changed: | ||||
< < |
| |||
> > |
| |||
Changed: | ||||
< < |
| |||
> > |
|
<<O>> Difference Topic TWikiVariables (r1.58 - 06 Oct 2002 - PeterThoeny) |
Changed: | ||
< < |
| |
> > |
| |
Added: | ||
> > |
Note: There are some more useful variables defined in the TWikiPreferences like | |
Changed: | ||
< < |
| |
> > |
|
<<O>> Difference Topic TWikiVariables (r1.57 - 25 Aug 2002 - PeterThoeny) |
Changed: | |
< < |
%WEBLIST{"" webs="Trash,public" selection="TWiki" separator=" "}% Dropdown of all public Webs + Trash Web, current Web highlighted.
|
> > |
%WEBLIST{"<option $marker value=$qname>$name</option>" webs="Trash,public" selection="TWiki" separator=" "}% Dropdown of all public Webs + Trash Web, current Web highlighted. |
<<O>> Difference Topic TWikiVariables (r1.56 - 05 Jun 2002 - PeterThoeny) |
Changed: | ||
< < |
| |
> > |
|
<<O>> Difference Topic TWikiVariables (r1.55 - 24 May 2002 - PeterThoeny) |
Changed: | |
< < |
|
> > |
|
<<O>> Difference Topic TWikiVariables (r1.54 - 17 May 2002 - PeterThoeny) |
Changed: | |||
< < |
| ||
> > |
| ||
Added: | |||
> > |
|
<<O>> Difference Topic TWikiVariables (r1.53 - 15 May 2002 - PeterThoeny) |
Changed: | |||
< < |
| ||
> > |
|
<<O>> Difference Topic TWikiVariables (r1.52 - 12 May 2002 - MikeMannix) |
Changed: | ||||
< < |
| |||
> > |
| |||
Changed: | ||||
< < |
| |||
> > |
| |||
Changed: | ||||
< < |
| |||
> > |
| |||
Changed: | ||||
< < | ||||
> > | ||||
Changed: | ||||
< < |
| |||
> > |
| |||
Changed: | ||||
< < |
| |||
> > |
| |||
Changed: | ||||
< < |
Example: Create a custom logo variable | |||
> > |
Example: Create a custom logo variable the TWiki web | |||
Changed: | ||||
< < | -- MikeMannix - 07 Mar 2002 | |||
> > | -- MikeMannix - 12 May 2002 |
<<O>> Difference Topic TWikiVariables (r1.51 - 07 Apr 2002 - PeterThoeny) |
Changed: | |||
< < |
| ||
> > |
|
<<O>> Difference Topic TWikiVariables (r1.50 - 08 Mar 2002 - MikeMannix) |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < | -- MikeMannix - 23 Jan 2002 | |
> > | -- MikeMannix - 07 Mar 2002 |
<<O>> Difference Topic TWikiVariables (r1.49 - 16 Feb 2002 - PeterThoeny) |
Changed: | ||||
< < |
| |||
> > |
|
<<O>> Difference Topic TWikiVariables (r1.48 - 23 Jan 2002 - MikeMannix) |
Changed: | ||||
< < |
Text strings expanded on the fly to display data or system info
Overview | |||
> > | Special text strings expand on the fly to display user data or system info | |||
Changed: | ||||
< < |
%SEARCH{"wiki" web="Main" scope="topic"}% |
|||
> > |
%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 - details)
|
|||
Changed: | ||||
< < |
"parent" if searcing for topics that have a specific parent i.e. its
| |||
> > |
"parent" if searching for topics that have a specific parent i.e. its
| |||
Changed: | ||||
< < |
| |||
> > |
| |||
Changed: | ||||
< < | -- MikeMannix - 05 Jan 2002 | |||
> > | -- MikeMannix - 23 Jan 2002 |
<<O>> Difference Topic TWikiVariables (r1.47 - 06 Jan 2002 - MikeMannix) |
Changed: | ||
< < |
TWikiVariables are text strings - %VARIABLE% - that expand into content whenever a page is opened. Variables are replaced by their actual values: stored data, or system info (like the date, or the current user). There are predefined variables, and Preference variables that you set. You can also define custom variables, with new names and values.
| |
> > |
TWikiVariables are text strings - %VARIABLE% - that expand into content whenever a page is opened. When a topic is rendered for viewing, VARIABLES are replaced by data, either user-entered, or info automatically generated by TWiki (like the date, or the current username). There are predefined variables, and Preference variables that you configure. You can also define custom variables, with new names and values.
| |
Changed: | ||
< < | Most predefined variables return values that were either defined when TWiki was installed, or taken from server info (like current username, or date and time). Many of the variables let you control how the formatted results appear. | |
> > |
Most predefined variables return values that were either set in the lib/twiki.cfg file, when TWiki was installed, or taken from server info (like current username, or date and time). Many of the variables let you format the appearance of the display results.
| |
Changed: | ||
< < |
TWiki expands the following variables (enclosed in % percent signs):
| |
> > |
% percent signs):
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
[2] Note: A web can be excluded from a web="all" search if you define a NOSEARCHALL=on variable in its WebPreferences.
| |
> > |
[2] Note: A web can be excluded from a web="all" search if you define a NOSEARCHALL=on variable in its WebPreferences.
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < | -- MikeMannix - 30 Nov 2001 | |
> > | -- MikeMannix - 05 Jan 2002 |
<<O>> Difference Topic TWikiVariables (r1.46 - 02 Dec 2001 - MikeMannix) |
Changed: | |||||||||||||||||||||||
< < |
| ||||||||||||||||||||||
> > |
| ||||||||||||||||||||||
Added: | |||||||||||||||||||||||
> > |
| ||||||||||||||||||||||
Deleted: | |||||||||||||||||||||||
< < | %SEARCH{... format="..."}% |
Control the formatting of an embedded search. By default, the search result display format is fixed: a table with rows of topic name and topic summary. Use the format="..." parameter to specify a custom format, typically, a bullet list or table row containing variables Ex: %SEARCH{ "food" format="| $topic | $summary |" }% ) Two paramters can be used to specify a customized search result: 1. header="..." parameter Use the header paramter to specify the header of a search result. It should correspond to the format of the format parameter. This parameter is optional. Ex: header="| *Topic:* | *Summary:* |" 2. format="..." parameter Use the format paramter to specify the format of one search hit. Ex: format="| $topic | $summary |" Variables that can be used in the format string:
$pattern(reg-exp) , specify a RegularExpression that scans from start to end and contains the text you want to keep in parenthesis, ex: $pattern(.*?(from here.*?to here).*) . You need to make sure that the integrity of a web page is not compromised, i.e. if you include a table make sure to include everything including the table end tag. NOTE: Sorting is nicely covered by the TablePlugin. For how-to tips and tricks, see: TWikiVariablesExamples? |
|||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < |
| ||||||||||||||||||||||
> > |
| ||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < |
Customizing Variables | ||||||||||||||||||||||
> > |
Creating Custom Variables | ||||||||||||||||||||||
Changed: | |||||||||||||||||||||||
< < | See: TWikiVariables Examples? | ||||||||||||||||||||||
> > |
Example: Create a custom logo variable |
<<O>> Difference Topic TWikiVariables (r1.45 - 30 Nov 2001 - MikeMannix) |
Changed: | |||||||||||||||||||||
< < | With a couple of notable exceptions, predefined variables return set values that are defined on installation and left alone. Most are directory names and file paths, customized for your server, and only have to be updated once in the main configuration file if your server set-up changes. | ||||||||||||||||||||
> > | Most predefined variables return values that were either defined when TWiki was installed, or taken from server info (like current username, or date and time). Many of the variables let you control how the formatted results appear. | ||||||||||||||||||||
Changed: | |||||||||||||||||||||
< < |
| ||||||||||||||||||||
> > |
| ||||||||||||||||||||
Changed: | |||||||||||||||||||||
< < | |||||||||||||||||||||
> > | |||||||||||||||||||||
%SEARCH{... format="..."}% |
Control the formatting of an embedded search. By default, the search result display format is fixed: a table with rows of topic name and topic summary. Use the format="..." parameter to specify a custom format, typically, a bullet list or table row containing variables Ex: %SEARCH{ "food" format="| $topic | $summary |" }% ) Two paramters can be used to specify a customized search result: 1. header="..." parameter Use the header paramter to specify the header of a search result. It should correspond to the format of the format parameter. This parameter is optional. Ex: header="| *Topic:* | *Summary:* |" 2. format="..." parameter Use the format paramter to specify the format of one search hit. Ex: format="| $topic | $summary |" Variables that can be used in the format string:
$pattern(reg-exp) , specify a RegularExpression that scans from start to end and contains the text you want to keep in parenthesis, ex: $pattern(.*?(from here.*?to here).*) . You need to make sure that the integrity of a web page is not compromised, i.e. if you include a table make sure to include everything including the table end tag. NOTE: Sorting is nicely covered by the TablePlugin. For how-to tips and tricks, see: TWikiVariablesExamples? |
||||||||||||||||||||
Deleted: | |||||||||||||||||||||
< < | [3] Note: Regular search, no summary, BookView and FormattedSearch are exclusive. | ||||||||||||||||||||
Changed: | |||||||||||||||||||||
< < |
Creating Custom Variables
| ||||||||||||||||||||
> > |
Customizing Variables | ||||||||||||||||||||
Changed: | |||||||||||||||||||||
< < |
Example: Create a custom logo variable | ||||||||||||||||||||
> > | See: TWikiVariables Examples? | ||||||||||||||||||||
Deleted: | |||||||||||||||||||||
< < |
-- MikeMannix - 30 Aug 2001 | ||||||||||||||||||||
Added: | |||||||||||||||||||||
> > | -- MikeMannix - 30 Nov 2001 |
<<O>> Difference Topic TWikiVariables (r1.44 - 25 Oct 2001 - PeterThoeny) |
Changed: | |||||||||||||
< < |
| ||||||||||||
> > |
| ||||||||||||
Added: | |||||||||||||
> > | [3] Note: Regular search, no summary, BookView and FormattedSearch are exclusive. |
<<O>> Difference Topic TWikiVariables (r1.43 - 15 Sep 2001 - MikeMannix) |
Deleted: | |||
< < | |||
Changed: | |||
< < | Text strings expanded on the fly include predefined, preference-driven and custom-defined data | ||
> > | Text strings expanded on the fly to display data or system info | ||
Changed: | |||
< < |
TWikiVariables are text strings enclosed in percentage signs: % that represent stored data. When a topic is rendered for viewing, defined variables are replaced by their actual values. TWiki has two types of variable, predefined and Preference-based, where usually you determine the content. Through Preference variables, you can also define custom variables, creating new variable name and value. TWiki variables are as simple to use as they are powerful, and vice versa!
| ||
> > |
TWikiVariables are text strings - %VARIABLE% - that expand into content whenever a page is opened. Variables are replaced by their actual values: stored data, or system info (like the date, or the current user). There are predefined variables, and Preference variables that you set. You can also define custom variables, with new names and values.
| ||
Changed: | |||
< < | With a couple of notable exceptions, predefined variables return set values that are defined one-time on installation and left alone. Most are directory names and file paths, customized for your server, and only have to be updated once in the main configuration file if your server set-up changes. | ||
> > | With a couple of notable exceptions, predefined variables return set values that are defined on installation and left alone. Most are directory names and file paths, customized for your server, and only have to be updated once in the main configuration file if your server set-up changes. | ||
Changed: | |||
< < | TWiki expands the following variables enclosed in % percent signs: | ||
> > |
TWiki expands the following variables (enclosed in % percent signs):
| ||
Changed: | |||
< < |
| ||
> > |
| ||
Added: | |||
> > |
| ||
Changed: | |||
< < |
| ||
> > |
| ||
Changed: | |||
< < |
| ||
> > |
<<O>> Difference Topic TWikiVariables (r1.42 - 14 Sep 2001 - PeterThoeny) |
Changed: | |
< < |
|
> > |
|
Added: | |
> > |
-- PeterThoeny - 13 Sep 2001 |
<<O>> Difference Topic TWikiVariables (r1.41 - 13 Sep 2001 - JohnTalintyre) |
Changed: | ||||||||||||||||||
< < | ||||||||||||||||||
> > | %META:TOPICPARENT{name="WebHome"}% | |||||||||||||||||
Changed: | ||||||||||||||||||
< < |
| |||||||||||||||||
> > |
| |||||||||||||||||
Changed: | ||||||||||||||||||
< < |
| |||||||||||||||||
> > |
| |||||||||||||||||
Changed: | ||||||||||||||||||
< < |
%WEBLIST{" * [[$name.WebHome]]"}% creates a bullet list of all webs.
| |||||||||||||||||
> > |
%WEBLIST{" * [[$name.WebHome]]"}% creates a bullet list of all webs.
| |||||||||||||||||
Changed: | ||||||||||||||||||
< < |
| |||||||||||||||||
> > |
| |||||||||||||||||
Changed: | ||||||||||||||||||
< < |
| |||||||||||||||||
> > |
| |||||||||||||||||
Changed: | ||||||||||||||||||
< < |
| |||||||||||||||||
> > |
| |||||||||||||||||
Changed: | ||||||||||||||||||
< < |
| |||||||||||||||||
> > |
| |||||||||||||||||
Added: | ||||||||||||||||||
> > | %METASEARCH{...}% |
Special search of meta data
%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: "}%
| ||||||||||||||||
Changed: | ||||||||||||||||||
< < |
| |||||||||||||||||
> > |
| |||||||||||||||||
Changed: | ||||||||||||||||||
< < |
Example: Create a custom logo variable | |||||||||||||||||
> > |
Example: Create a custom logo variable | |||||||||||||||||
Changed: | ||||||||||||||||||
< < |
-- MikeMannix - 30 Aug 2001 | |||||||||||||||||
> > |
-- MikeMannix - 30 Aug 2001 |
<<O>> Difference Topic TWikiVariables (r1.40 - 12 Sep 2001 - MikeMannix) |
Changed: | |
< < | |
> > |
<<O>> Difference Topic TWikiVariables (r1.39 - 07 Sep 2001 - MikeMannix) |
Changed: | |
< < |
TWiki Variables |
> > |
TWiki VariablesText strings expanded on the fly include predefined, preference-driven and custom-defined dataOverview |
Changed: | |
< < |
Predefined Variables |
> > |
Predefined Variables |
Changed: | |
< < |
Preferences Variables |
> > |
Preferences Variables |
Changed: | |
< < |
Setting Preferences |
> > |
Setting Preferences |
Changed: | |
< < |
Creating Custom Variables |
> > |
Creating Custom Variables |
<<O>> Difference Topic TWikiVariables (r1.38 - 07 Sep 2001 - MikeMannix) |
Changed: | |
< < |
HOW-TO: 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. In this case, you also have to upload logo.gif to the same directory.:
|
> > |
Example: Create a custom logo variable
|
<<O>> Difference Topic TWikiVariables (r1.37 - 01 Sep 2001 - MikeMannix) |
Changed: | ||||
< < |
TWikiVariables are text strings enclosed in percentage signs: % that represent stored data. When a topic is rendered for viewing, defined variables replaced by their actual values. TWiki has two types of variable, predefined, and Preference-based, where you can change settings. Through Preference variables, you can even define custom variables. Clearly, they are a power TWiki feature.
| |||
> > |
TWikiVariables are text strings enclosed in percentage signs: % that represent stored data. When a topic is rendered for viewing, defined variables are replaced by their actual values. TWiki has two types of variable, predefined and Preference-based, where usually you determine the content. Through Preference variables, you can also define custom variables, creating new variable name and value. TWiki variables are as simple to use as they are powerful, and vice versa!
| |||
Added: | ||||
> > | With a couple of notable exceptions, predefined variables return set values that are defined one-time on installation and left alone. Most are directory names and file paths, customized for your server, and only have to be updated once in the main configuration file if your server set-up changes. | |||
Changed: | ||||
< < |
| |||
> > |
| |||
Added: | ||||
> > |
| |||
Added: | ||||
> > | ||||
Changed: | ||||
< < |
| |||
> > |
| |||
Changed: | ||||
< < |
Setting Variable Preferences | |||
> > |
Setting Preferences | |||
Changed: | ||||
< < |
| |||
> > |
HOW-TO: Create a custom logo variable | |||
Added: | ||||
> > |
<<O>> Difference Topic TWikiVariables (r1.36 - 31 Aug 2001 - MikeMannix) |
Deleted: | |
< < |
About Variables |
<<O>> Difference Topic TWikiVariables (r1.35 - 30 Aug 2001 - MikeMannix) |
Changed: | ||
< < | Include/write if not found elsewhere. | |
> > |
TWikiVariables are text strings enclosed in percentage signs: % that represent stored data. When a topic is rendered for viewing, defined variables replaced by their actual values. TWiki has two types of variable, predefined, and Preference-based, where you can change settings. Through Preference variables, you can even define custom variables. Clearly, they are a power TWiki feature.
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
Setting and Creating New Preferences | |
> > |
Setting Variable Preferences | |
Changed: | ||
< < |
| |
> > |
Creating Custom Variables
| |
Changed: | ||
< < |
-- MikeMannix - 26 Aug 2001 | |
> > |
-- MikeMannix - 30 Aug 2001 |
<<O>> Difference Topic TWikiVariables (r1.34 - 30 Aug 2001 - MikeMannix) |
<<O>> Difference Topic TWikiVariables (r1.33 - 29 Aug 2001 - MikeMannix) |
Added: | |
> > |
About VariablesInclude/write if not found elsewhere. |
Changed: | |
< < | Notes: |
> > |
Setting and Creating New Preferences |
Changed: | |
< < |
|
> > |
|
Deleted: | |
< < |
-- PeterThoeny - 23 Jul 2001 |
<<O>> Difference Topic TWikiVariables (r1.32 - 27 Aug 2001 - MikeMannix) |
Changed: | |
< < |
-- MikeMannix - 26 Aug 2001 |
> > |
-- MikeMannix - 26 Aug 2001 |
<<O>> Difference Topic TWikiVariables (r1.31 - 26 Aug 2001 - MikeMannix) |
Changed: | ||
< < | ||
> > | TOC: No TOC in "TWiki.TWikiVariables" | |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
| |
> > |
| |
Added: | ||
> > |
-- MikeMannix - 26 Aug 2001 |
<<O>> Difference Topic TWikiVariables (r1.30 - 15 Aug 2001 - PeterThoeny) |
Changed: | ||
< < |
| |
> > |
|
<<O>> Difference Topic TWikiVariables (r1.29 - 07 Aug 2001 - JohnTalintyre) |
Changed: | |||||||||||||
< < |
| ||||||||||||
> > |
| ||||||||||||
Changed: | |||||||||||||
< < |
| ||||||||||||
> > |
%WEBLIST{" * [[$name.WebHome]]"}% creates a bullet list of all webs.
%WEBLIST{"" webs="Trash,public" selection="TWiki" separator=" "}% Dropdown of all public Webs + Trash Web, current Web highlighted.
|
||||||||||||
Added: | |||||||||||||
> > |
|
<<O>> Difference Topic TWikiVariables (r1.28 - 23 Jul 2001 - PeterThoeny) |
Added: | |||||||||||
> > |
| ||||||||||
Added: | |||||||||||
> > |
| ||||||||||
Changed: | |||||||||||
< < |
-- PeterThoeny - 14 Jul 2001 | ||||||||||
> > |
-- PeterThoeny - 23 Jul 2001 |
<<O>> Difference Topic TWikiVariables (r1.27 - 15 Jul 2001 - PeterThoeny) |
Changed: | |||||||||||||||||
< < |
| ||||||||||||||||
> > | Topic index of a web. The "format" defines the format of one topic item. It may include variables: The $name variable gets expanded to the topic name; the $web variable gets expanded to the name of the web.
Parameters are format, separator and web:
| ||||||||||||||||
Added: | |||||||||||||||||
> > |
%TOPICLIST{separator=", "}% creates a comma separated list of all topics.
| ||||||||||||||||
Changed: | |||||||||||||||||
< < |
| ||||||||||||||||
> > | Web index, e.g. list of all webs. Hidden webs are excluded, e.g. webs with a NOSEARCHALL=on preference variable. The "format" defines the format of one web item. The $name variable gets expanded to the name of the web.
Parameters are format, separator and web:
| ||||||||||||||||
Changed: | |||||||||||||||||
< < |
| ||||||||||||||||
> > |
| ||||||||||||||||
Changed: | |||||||||||||||||
< < | Table of Content. Shows a TOC that is generated automatically based on headings of a topic. Headings in WikiSyntax ("---++ text" ) and HTML ("<h2>text<h2>" ) are taken into account. Parameter is composed of the topic name, followed by optional name="value" pairs:
| ||||||||||||||||
> > | Table of Content. Shows a TOC that is generated automatically based on headings of a topic. Headings in WikiSyntax ("---++ text" ) and HTML ("<h2>text<h2>" ) are taken into account. Parameters are topic name, web and depth:
| ||||||||||||||||
Changed: | |||||||||||||||||
< < | %SEARCH{"str" ...}% |
Inline search, shows a search result embedded in a topic. Parameter is composed of the search term (enclosed in double quotes), followed by optional name="value" pairs: [1]
| |||||||||||||||
> > | %SEARCH{"text" ...}% |
Inline search, shows a search result embedded in a topic. Parameters are the search term, web, scope, order and many more: [1]
| |||||||||||||||
Added: | |||||||||||||||||
> > |
| ||||||||||||||||
Changed: | |||||||||||||||||
< < |
-- PeterThoeny - 25 Jun 2001 | ||||||||||||||||
> > |
-- PeterThoeny - 14 Jul 2001 |
<<O>> Difference Topic TWikiVariables (r1.26 - 11 Jul 2001 - PeterThoeny) |
Added: | |||
> > | |||
Added: | |||
> > |
| ||
Changed: | |||
< < |
| ||
> > |
|
<<O>> Difference Topic TWikiVariables (r1.25 - 26 Jun 2001 - PeterThoeny) |
Changed: | |||||||||
< < |
| ||||||||
> > | %INCLUDE{"page" ...}% |
Server side include to IncludeTopicsAndWebPages. The parameter is composed of the page name, followed by an optional pattern="(reg-exp)" pair. The page name is:
|
|||||||
Changed: | |||||||||
< < |
| ||||||||
> > |
| ||||||||
Changed: | |||||||||
< < |
-- PeterThoeny - 24 Mar 2001 | ||||||||
> > |
-- PeterThoeny - 25 Jun 2001 |
<<O>> Difference Topic TWikiVariables (r1.24 - 08 Jun 2001 - PeterThoeny) |
Added: | |||||
> > |
|
<<O>> Difference Topic TWikiVariables (r1.23 - 02 Jun 2001 - PeterThoeny) |
Added: | |||
> > |
|
<<O>> Difference Topic TWikiVariables (r1.22 - 25 Mar 2001 - PeterThoeny) |
Changed: | |||||||
< < |
| ||||||
> > |
| ||||||
Changed: | |||||||
< < |
| ||||||
> > |
| ||||||
Changed: | |||||||
< < |
[1] Note: A web can be excluded from a web="all" search if you define a NOSEARCHALL=on variable in its WebPreferences.
| ||||||
> > |
[1] Note: The search form uses identical names for input fields.
[2] Note: A web can be excluded from a web="all" search if you define a NOSEARCHALL=on variable in its WebPreferences.
| ||||||
Changed: | |||||||
< < |
-- PeterThoeny - 15 Mar 2001 | ||||||
> > |
-- PeterThoeny - 24 Mar 2001 |
<<O>> Difference Topic TWikiVariables (r1.21 - 16 Mar 2001 - PeterThoeny) |
Added: | ||
> > |
TWiki VariablesPredefined Variables | |
Changed: | ||
< < |
| |
> > |
| |
Added: | ||
> > |
Preferences Variables | |
Changed: | ||
< < |
-- PeterThoeny - 01 Mar 2001 | |
> > |
-- PeterThoeny - 15 Mar 2001 |
<<O>> Difference Topic TWikiVariables (r1.20 - 02 Mar 2001 - PeterThoeny) |
Added: | ||||||||||
> > | %TOC% |
Table of Content of current topic. | ||||||||
%TOC{"SomeTopic" ...}% |
Table of Content. Shows a TOC that is generated automatically based on headings of a topic. Headings in WikiSyntax ("---++ text" ) and HTML ("<h2>text<h2>" ) are taken into account. Parameter is composed of the topic name, followed by optional name="value" pairs:
%TOC{depth="2"}% , %TOC{"TWikiDocumentation" web="TWiki"}%
| |||||||||
Changed: | ||||||||||
< < |
-- PeterThoeny - 19 Jan 2001 | |||||||||
> > |
-- PeterThoeny - 01 Mar 2001 |
<<O>> Difference Topic TWikiVariables (r1.19 - 20 Jan 2001 - PeterThoeny) |
Added: | |||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||||||
> > | Formatted GM time based on time variables.
%GMTIME{"$day $month, $year - $hour:$min:$sec"}% is 02 Feb, 2025 - 13:03:20 |
||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||||||
> > |
|
<<O>> Difference Topic TWikiVariables (r1.18 - 20 Jan 2001 - PeterThoeny) |
Changed: | ||||
< < |
| |||
> > |
| |||
Changed: | ||||
< < |
-- PeterThoeny - 10 Nov 2000 | |||
> > |
-- PeterThoeny - 19 Jan 2001 |
<<O>> Difference Topic TWikiVariables (r1.17 - 16 Jan 2001 - PeterThoeny) |
Added: | |||||
> > |
|
<<O>> Difference Topic TWikiVariables (r1.16 - 18 Dec 2000 - PeterThoeny) |
Added: | ||||
> > |
|
<<O>> Difference Topic TWikiVariables (r1.15 - 15 Dec 2000 - PeterThoeny) |
Added: | |||
> > |
|
<<O>> Difference Topic TWikiVariables (r1.14 - 14 Dec 2000 - PeterThoeny) |
Changed: | ||
< < |
| |
> > |
| |
Changed: | ||
< < |
[1] Note: A web can be excluded from a web="all" search if you define a NOSEARCHALL=on variable in its WebPreferences.
| |
> > |
[1] Note: A web can be excluded from a web="all" search if you define a NOSEARCHALL=on variable in its WebPreferences. |
<<O>> Difference Topic TWikiVariables (r1.13 - 11 Nov 2000 - PeterThoeny) |
Changed: | ||||||||||||||||
< < | TWiki expands the following variables enclosed in % percent signs: | |||||||||||||||
> > | TWiki expands the following variables enclosed in % percent signs: | |||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
Added: | ||||||||||||||||
> > |
| |||||||||||||||
Changed: | ||||||||||||||||
< < |
-- PeterThoeny - 01 Nov 2000 | |||||||||||||||
> > |
-- PeterThoeny - 10 Nov 2000 |
<<O>> Difference Topic TWikiVariables (r1.12 - 02 Nov 2000 - PeterThoeny) |
Added: | |||
> > |
| ||
Changed: | |||
< < |
-- PeterThoeny - 18 Sep 2000 | ||
> > |
Notes:
|
<<O>> Difference Topic TWikiVariables (r1.11 - 20 Sep 2000 - PeterThoeny) |
Added: | |||||||
> > |
| ||||||
Changed: | |||||||
< < |
| ||||||
> > |
|
<<O>> Difference Topic TWikiVariables (r1.10 - 19 Sep 2000 - PeterThoeny) |
Added: | |||
> > |
| ||
Changed: | |||
< < |
-- PeterThoeny - 17 Aug 2000 | ||
> > |
-- PeterThoeny - 18 Sep 2000 |
<<O>> Difference Topic TWikiVariables (r1.9 - 18 Aug 2000 - PeterThoeny) |
Changed: | |||||||||||||
< < |
| ||||||||||||
> > |
| ||||||||||||
Changed: | |||||||||||||
< < |
| ||||||||||||
> > |
| ||||||||||||
Added: | |||||||||||||
> > |
| ||||||||||||
Added: | |||||||||||||
> > |
| ||||||||||||
Added: | |||||||||||||
> > |
[1] Note: A web can be excluded from a web="all" search if you define a NOSEARCHALL=on variable in its WebPreferences.
| ||||||||||||
Added: | |||||||||||||
> > |
| ||||||||||||
Added: | |||||||||||||
> > |
| ||||||||||||
Changed: | |||||||||||||
< < |
-- PeterThoeny - 29 May 2000 | ||||||||||||
> > |
-- PeterThoeny - 17 Aug 2000 |
<<O>> Difference Topic TWikiVariables (r1.8 - 28 Jul 2000 - PeterThoeny) |
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Deleted: | ||||||||
< < |
| |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < | 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): | |||||||
> > | 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): |
<<O>> Difference Topic TWikiVariables (r1.7 - 29 May 2000 - PeterThoeny) |
Changed: | ||||
< < |
| |||
> > |
| |||
Changed: | ||||
< < |
-- PeterThoeny - 21 Apr 2000 | |||
> > |
-- PeterThoeny - 29 May 2000 |
<<O>> Difference Topic TWikiVariables (r1.6 - 22 Apr 2000 - PeterThoeny) |
Changed: | |||||||||
< < |
| ||||||||
> > |
| ||||||||
Added: | |||||||||
> > |
| ||||||||
Added: | |||||||||
> > |
-- PeterThoeny - 21 Apr 2000 |
<<O>> Difference Topic TWikiVariables (r1.5 - 21 Mar 2000 - PeterThoeny) |
Added: | ||||
> > |
|
<<O>> Difference Topic TWikiVariables (r1.4 - 01 Mar 2000 - PeterThoeny) |
Changed: | ||||
< < |
| |||
> > |
| |||
Changed: | ||||
< < |
| |||
> > |
| |||
Added: | ||||
> > |
|
<<O>> Difference Topic TWikiVariables (r1.3 - 28 Feb 2000 - PeterThoeny) |
Deleted: | |||
< < |
| ||
Added: | |||
> > |
Variable: | Level: | What: |
---|---|---|
%WIKIWEBMASTER% |
SL | Webmaster email address (sender of email notifications) , is fanamin@hotmail.com |
%WIKIWEBLIST% |
SL | List of TWiki webs (in upper right corner of topics) |
%WEBTOPICLIST% |
WL | Common links of web (second line of topics) |
%WEBCOPYRIGHT% |
SL , WL | Copyright notice (bottom right corner of topics) |
%WEBBGCOLOR% |
WL | Background color of web |
%EDITBOXWIDTH% |
SL , UL | Horizontal size of edit box, is 70 |
%EDITBOXHEIGHT% |
SL , UL | Vertical size of edit box, is 17 |
<<O>> Difference Topic TWikiVariables (r1.2 - 30 Jan 2000 - PeterThoeny) |
Changed: | |||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||
> > | %INCLUDE{"file.ext"}% |
Server side include, includes the text of a file. The default directory is the current Wiki web. Example: %INCLUDE{"../Know/TopicName.txt"}% |
|||||||||||||||||||||||
%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:
%SEARCH{"wiki" web="Main" scope="topic"}% |
<<O>> Difference Topic TWikiVariables (r1.1 - 13 Jun 1999 - PeterThoeny) |
Added: | |||||||||||||||||||||||||||||
> > |
TWiki expands the following variables enclosed in % percent signs:
|
Topic TWikiVariables . { View | Diffs | r1.62 | > | r1.61 | > | r1.60 | More } |
Revision r1.1 - 13 Jun 1999 - 07:45 GMT - PeterThoeny Revision r1.62 - 27 Jan 2003 - 08:22 GMT - PeterThoeny |
Copyright © 1999-2004 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding TWiki? Send feedback. |