METASEARCH
is
deprecated in favour of the new and much more powerful query type search. See
SEARCH and
QuerySearch.
Parameters
!|
name
| form field to search, for
field
type searches. May be a regular expression (see
SEARCH). | |
!|
value
| form field value, for
field
type searches. May be a regular expression (see
SEARCH). | |
title="Title" |
Text that is prefixed to any search results |
empty |
!|
format="..."
| Custom format results. Supports same format strings as
SEARCH. See
FormattedSearch for usage & examples | Results in table |
default="none" |
Default text shown if no search hit |
Empty |
- Examples:
%METASEARCH{
type="topicmoved"
web="%WEB%"
topic="%TOPIC%"
title="This topic used to exist and was moved to: "
}%
You may want to use this in WebTopicViewTemplate and WebTopicNonWikiTemplate:
%METASEARCH{
type="parent"
web="%WEB%"
topic="%TOPIC%"
title="Children: "
}%
%METASEARCH{
type="field"
name="Country"
value="China"
}%
SEARCH,
META