Name: |
Expands To: |
$web |
Name of the web |
$topic |
Topic name |
$topic(20) |
Topic name, "- " hyphenated each 20 characters |
$topic(30, -<br />) |
Topic name, hyphenated each 30 characters with separator "-<br />" |
$topic(40, ...) |
Topic name, shortended to 40 characters with "..." indication |
$text |
Formatted topic text |
$locked |
LOCKED flag (if any) |
$date |
Time stamp of last topic update, like 29 Jun 2010 - 15:36 |
$isodate |
Time stamp of last topic update, like 2010-06-29T15:36Z |
$rev |
Number of last topic revision, like 1.4 |
$wikiusername |
Wiki user name of last topic update, like Main.JohnSmith |
$username |
User name of last topic update, like JohnSmith |
$summary |
Topic summary |
$formfield(name) |
The field value of a form field; for example, $formfield(TopicClassification) would get expanded to PublicFAQ . This applies only to topics that have a [[Main/TWikiForms]] |
$formfield(name, 10) |
Form field value, "- " hyphenated each 10 characters |
$formfield(name, 20, -<br />) |
Form field value, hyphenated each 20 characters with separator "-<br />" |
$formfield(name, 30, ...) |
Form field value, shortended to 30 characters with "..." indication |
$pattern(reg-exp) |
A regular expression pattern to extract some text from a topic. For example, $pattern(.*?\*.*?Email\:\s*([^\n\r]+).*) extracts the email address from a bullet of format * Email: ... . |
$n or $n() |
New line |
$nop or $nop() |
Is a "no operation". This variable gets removed; useful for nested search |
$quot |
Double quote (" ). Alternatively write \" to escape it |
$percnt |
Percent sign (% ) |
$dollar |
Dollar sign ($ ) |
**_Note:_** For `$pattern(reg-exp)`, specify a [[RegularExpression]] that scans from start to end and contains the text you want to keep in parenthesis, like `$pattern(.*?(from here.*?to here).*)`. You need to make sure that the integrity of a web page is not compromised; for example, if you include a table make sure to include everything including the table end tag.
##