View source for Action: search

#||
||
|{{toc numerate=1}} ||
||#


===Syntax===

  * Call: ##""{{search [phrase="Term"] [page="PageName"] [options=0|1] [topic=1] [form=1] [nomark=1] [style=one of ("br","ul","ol","comma") ] [scope=one of ("pages", "all")]}}""##
  * ##phrase## search term
  * ##page## restricts the search to the specified namespace, use ##page="/"## on sub-pages to search all clusters
  * ##options## - with the value 0 only the search field is displayed, other options and filters are hidden 
  * ##topic## it is possible to call ##title## — if it is advanced into 1, then search occurs only on the names of pages, otherwise both on the names and on the texts; 
  * ##form## — indicates that it is necessary to derive the form of search together with the results. 
  * ##scope## answers for that, where to the search: only in the pages or in the commentaries also.
  * ##max## — overwrites system default value
  * ##nomark##, advanced in one, makes it possible to hide frame around the results of search. 
  * ##style## answers for the exterior view of results.
  * All parameters are optional.

===Examples===
##~{{search phrase="BadBehaviour" page="/"}}##

{{search phrase="BadBehaviour" page="/" max=5}}

===See also===
  * ((/Dev/PatchesHacks/BinarySearch BinarySearch)) - allows users to do a string search using **exact** or **regex** search.