1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
TWiki expands the following variables enclosed in % percent signs:
<table border="1">
<tr>
<th> Variable: </th>
<th> Expanded to: </th>
</tr>
<tr>
<td><code>%<nop>WIKIHOMEURL%</nop></code></td>
<td> The base script URL of TWiki, link of Home icon in upper left corner is <b>%WIKIHOMEURL%</b></td>
</tr>
<tr>
<td><code>%<nop>SCRIPTURL%</nop></code></td>
<td> The base script URL of TWiki, is <b>%SCRIPTURL%</b></td>
</tr>
<tr>
<td><code>%<nop>PUBURL%</nop></code></td>
<td> The base public URL of TWiki, is <b>%PUBURL%</b></td>
</tr>
<tr>
<td><code>%<nop>ATTACHURL%</nop></code></td>
<td> The attachment URL of the current topic, is <b>%ATTACHURL%</b><br /> Example: If you attach a file you can refer to it as <code><b>%<nop>ATTACHURL%/image.gif</nop></b></code></td>
</tr>
<tr>
<td><code>%<nop>WIKIWEBMASTER%</nop></code></td>
<td> The email address of the Wiki webmaster, is <b>%WIKIWEBMASTER%</b></td>
</tr>
<tr>
<td><code>%<nop>WIKITOOLNAME%</nop></code></td>
<td> Name of wiki tool, is <b>%WIKITOOLNAME%</b></td>
</tr>
<tr>
<td><code>%<nop>WIKIVERSION%</nop></code></td>
<td> Wiki tool version, is <b>%WIKIVERSION%</b></td>
</tr>
<tr>
<td><code>%<nop>USERNAME%</nop></code></td>
<td> Your login username, is <b>%USERNAME%</b></td>
</tr>
<tr>
<td><code>%<nop>WIKIUSERNAME%</nop></code></td>
<td> Your Wiki username, if defined in <span style="background:"><font color="">TWiki Users</font></span><a href="http://LOCATION/TWikiUsers">?</a>. Same as %<nop>USERNAME% if not defined. Is <b>%WIKIUSERNAME%</b> </nop></td>
</tr>
<tr>
<td><code>%<nop>WEB%</nop></code></td>
<td> The current web, is <b>%WEB%</b></td>
</tr>
<tr>
<td><code>%<nop>TOPIC%</nop></code></td>
<td> The current topic name, is <b>%TOPIC%</b></td>
</tr>
<tr>
<td><code>%<nop>DATE%</nop></code></td>
<td> Todays date, is <b>%DATE%</b></td>
</tr>
<tr>
<td><code>%<nop>INCLUDE{"file.ext"}%</nop></code></td>
<td> Server side include, includes the text of a file. The default directory is the current Wiki web. Example: <code><b>%<nop>INCLUDE{"../Know/TopicName.txt"}%</nop></b></code></td>
</tr>
<tr>
<td><code>%<nop>SEARCH{"str" ...}%</nop></code></td>
<td> Inline search, shows a search result embedded in a topic. Parameter is composed of the search string, followed by optional <code>name="value"</code> pairs: <table border="1" cellpadding="1" cellspacing="0">
<tr>
<th bgcolor="#99CCCC"><strong>Pair:</strong></th>
<th bgcolor="#99CCCC"><strong>Description:</strong></th>
<th bgcolor="#99CCCC"><strong>Default:</strong></th>
</tr>
<tr>
<td><code>web="Name"</code></td>
<td> Specify Wiki web to search </td>
<td> Current web </td>
</tr>
<tr>
<td><code>scope="topic"</code></td>
<td> Search topic name (title) </td>
<td> Topic text (body) </td>
</tr>
<tr>
<td><code>regex="on"</code></td>
<td><span style="background:"><font color="">Regular Expression</font></span><a href="http://LOCATION/RegularExpression">?</a> search </td>
<td> Literal search </td>
</tr>
<tr>
<td><code>casesensitive="on"</code></td>
<td> Case sensitive search </td>
<td> Ignore case </td>
</tr>
<tr>
<td><code>nosummary="on"</code></td>
<td> Show topic title only </td>
<td> Show topic summary </td>
</tr>
<tr>
<td><code>nosearch="on"</code></td>
<td> Suppress search string </td>
<td> Show search string </td>
</tr>
<tr>
<td><code>nototal="on"</code></td>
<td> Do not show number of topics found </td>
<td> Show number </td>
</tr>
</table> Example: <code><b>%<nop>SEARCH{"wiki" web="Main" scope="topic"}%</nop></b></code></td>
</tr>
</table>
|