METASEARCH
is
deprecated in favour of the new and much more powerful query type search. See
SEARCH and
Query Search.
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
Formatted Search 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 Web Topic View Template and Web Topic Non Wiki Template:
%METASEARCH{
type="parent"
web="%WEB%"
topic="%TOPIC%"
title="Children: "
}%
%METASEARCH{
type="field"
name="Country"
value="China"
}%
SEARCH,
META