Daya Bay Reactor Neutrino Experiment
TWiki > VarQUERYPARAMS (1 vs. 6)
Daya Bay webs: Public | 中文 | Internal | Help   Log In or Register

Welcome | Register | Changes | Topics | Index | Search | Go
 <<O>>  Difference Topic VarQUERYPARAMS (6 - 2012-11-15 - TWikiContributor)

 <<O>>  Difference Topic VarQUERYPARAMS (5 - 2011-06-14 - TWikiContributor)

 <<O>>  Difference Topic VarQUERYPARAMS (4 - 2010-12-21 - TWikiContributor)

 <<O>>  Difference Topic VarQUERYPARAMS (3 - 2010-05-25 - TWikiContributor)

 <<O>>  Difference Topic VarQUERYPARAMS (2 - 2005-03-27 - TWikiContributor)

 <<O>>  Difference Topic VarQUERYPARAMS (1 - 2005-03-27 - TWikiContributor)
Line: 1 to 1
Added:
>
>
META TOPICPARENT name="TWikiVariables"

QUERYPARAMS -- show paramaters to the query

  • Expands the parameters to the query that was used to display the page.
  • Syntax: %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:
    <-- -->
    Sorted descending
    Expands To:
    $value String value of the parameter. Multi-valued parameters will have a "row" for each value.
    $quot Double quote (")
    $percnt Percent sign (%)
    $nop or $nop() Is a "no operation".
    $name Name of the parameter
    $n or $n() New line. Use $n() if followed by alphanumeric character, e.g. write Foo$n()Bar instead of Foo$nBar
    $dollar Dollar sign ($)
  • Example:
    • %QUERYPARAMS{format="<input type='hidden' name='$name' value='$percntENCODE{$quot()$value$quot type=$quot()html$quot}$percnt' />"}%
  • See also QUERYSTRING, URLPARAM

View | History: r6 < r5 < r4 < r3 | More

View | History: r6 < r5 < r4 < r3 | More
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarQUERYPARAMS.