author | Colas Nahaboo <colas@nahaboo.net> |
Mon, 11 Aug 2008 20:33:37 +0200 | |
changeset 2 | 7bc60a767fa4 |
parent 0 | 414e01d06fd5 |
permissions | -rw-r--r-- |
colas@0 | 1 |
head 1.1; |
colas@0 | 2 |
access; |
colas@0 | 3 |
symbols; |
colas@0 | 4 |
locks; strict; |
colas@0 | 5 |
comment @# @; |
colas@0 | 6 |
|
colas@0 | 7 |
|
colas@0 | 8 |
1.1 |
colas@0 | 9 |
date 2008.01.22.03.21.25; author TWikiContributor; state Exp; |
colas@0 | 10 |
branches; |
colas@0 | 11 |
next ; |
colas@0 | 12 |
|
colas@0 | 13 |
|
colas@0 | 14 |
desc |
colas@0 | 15 |
@buildrelease |
colas@0 | 16 |
@ |
colas@0 | 17 |
|
colas@0 | 18 |
|
colas@0 | 19 |
1.1 |
colas@0 | 20 |
log |
colas@0 | 21 |
@buildrelease |
colas@0 | 22 |
@ |
colas@0 | 23 |
text |
colas@0 | 24 |
@---++ Formatting Tokens |
colas@0 | 25 |
|
colas@0 | 26 |
TWiki defines some standard special tokens that can be used to replace characters in some parameters - notably those to FormattedSearch and IfStatements - to defer evaluation of the parameter until later. These special tokens are often called "escapes", because they allow the character to "escape" from its normal meaning. |
colas@0 | 27 |
%STARTINCLUDE%| =$n= or =$n()= | New line. Use =$n()= if followed by alphanumeric character, e.g. write =Foo$n()Bar= instead of =Foo$nBar= | |
colas@0 | 28 |
| =$nop= or =$nop()= | Is a "no operation". This variable gets removed; useful for nested search | |
colas@0 | 29 |
| =$quot= | Double quote (="=) (\" also works) | |
colas@0 | 30 |
| =$percnt= | Percent sign (=%=) | |
colas@0 | 31 |
| =$dollar= | Dollar sign (=$=) | |
colas@0 | 32 |
%STOPINCLUDE% |
colas@0 | 33 |
If you ever find yourself needing to escape an escape, you can use =$dollar= to escape the leading dollar, thus: =$dollarpercnt=.@ |