From: <de...@de...> - 2010-05-26 01:53:46
|
Author: PeterThoeny Date: 2010-05-25 20:53:40 -0500 (Tue, 25 May 2010) New Revision: 18787 Trac url: http://develop.twiki.org/trac/changeset/18787 Modified: twiki/trunk/core/data/TWiki/FormatTokens.txt Log: Item6318: Adding related topics Modified: twiki/trunk/core/data/TWiki/FormatTokens.txt =================================================================== --- twiki/trunk/core/data/TWiki/FormatTokens.txt 2010-05-26 01:44:24 UTC (rev 18786) +++ twiki/trunk/core/data/TWiki/FormatTokens.txt 2010-05-26 01:53:40 UTC (rev 18787) @@ -1,10 +1,15 @@ ----++ Formatting Tokens +%META:TOPICINFO{author="TWikiContributor" date="1274838685" format="1.1" version="$Rev$"}% +---+ Formatting Tokens 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. + %STARTINCLUDE% | =$n= or =$n()= | New line. Use =$n()= if followed by alphanumeric character, e.g. write =Foo$n()Bar= instead of =Foo$nBar= | | =$nop= or =$nop()= | Is a "no operation". This variable gets removed; useful for nested search | | =$quot= | Double quote (="=) (\" also works) | | =$percnt= | Percent sign (=%=) | | =$dollar= | Dollar sign (=$=) | %STOPINCLUDE% + If you ever find yourself needing to escape an escape, you can use =$dollar= to escape the leading dollar, thus: =$dollarpercnt=. + +__Related topics:__ FormattedSearch, IfStatements, QuerySearch, TWikiForms |