wiki-archive/twiki/data/TWiki/VarQUERYPARAMS.txt,v

46 lines
1.4 KiB
Plaintext
Raw Normal View History

head 1.1;
access;
symbols;
locks; strict;
comment @# @;
1.1
date 2007.01.16.04.12.00; author TWikiContributor; state Exp;
branches;
next ;
desc
@buildrelease
@
1.1
log
@buildrelease
@
text
@%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.2" version="1"}%
%META:TOPICPARENT{name="TWikiVariables"}%
#VarINCLUDE
---+++ QUERYPARAMS -- show paramaters to the query
* Expands the parameters to the query that was used to display the page.
* Syntax: =%<nop>QUERYPARAMS{...}%=
* Parameters:
* =format="..."= format string for each entry, default =$name=$value=
* =separator="..."= separator string, default =separator="$n"= (newline)
* The following escape sequences are expanded in the format string:
| *Sequence:* | *Expands To:* |
| =$name= | Name of the parameter |
| =$value= | String value of the parameter. Multi-valued parameters will have a "row" for each value. |
| =$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". |
| =$quot= | Double quote (="=) |
| =$percnt= | Percent sign (=%=) |
| =$dollar= | Dollar sign (=$=) |
* Example:
* =%<nop>QUERYPARAMS{format="&lt;input type='hidden' name='$name' value='$percntENCODE{$quot()$value$quot type=$quot()html$quot}$percnt' />"}%=
* See also [[VarQUERYSTRING][QUERYSTRING]], [[#VarURLPARAM][URLPARAM]]@