%META:TOPICINFO{author="TWikiContributor" date="1308023687" format="1.1" version="5"}%
%META:TOPICPARENT{name="TWikiVariables"}%
#VarQUERYPARAMS
---+++ 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)
      * =encode="..."= the encoding to apply to parameter values; see [[VarENCODE][ENCODE]] for a description of the available encodings. If this parameter is not given, no encoding is performed. <!-- Note: =encoding="..."= works too but has been deprecated in Item6621 -->
   * 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. |
%INCLUDE{FormatTokens}%
   * Example: =%<nop>QUERYPARAMS{format="&lt;input type='hidden' name='$name' value='$value' encoding="html" />"}%=
   * See also [[VarQUERYSTRING][QUERYSTRING]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarURLPARAM][URLPARAM]]
