%METASEARCH{...}%
Parameter: | Description: | Default: |
---|---|---|
web="%WEB%" | Wiki web to search: A web, a list of webs separated by whitespace, or all webs. | Current web |
value="..." | form field value, for type="field" searches. May be a regular expression (see SEARCH). | |
type="..." | Type of search: • "topicmoved" - search for a topic that may have been moved. • "parent" - search for topics that have a specific parent i.e. its children. • "field" - search for topics that have a particular form field value (use the name and value parameters to specify which field to search). | Required |
topic="%TOPIC%" | The topic the search relates to. | Current topic |
title="Title" | Text that is prefixed to any search results. | "" (empty) |
separator="..." | Separator between search hits. | "$n" (newline) |
name="..." | form field to search, for type="field" searches. May be a regular expression (see SEARCH). | |
format="..." | Custom format of each search hit. Supports same format strings as SEARCH. See FormattedSearch for usage, variables & examples | "$topic" |
default="none" | Default text shown if no search hit. | "" (empty) |
%METASEARCH{type="topicmoved" web="%WEB%" topic="%TOPIC%" title="This topic used to exist and was moved to: "}%
%METASEARCH{type="parent" web="%WEB%" topic="%TOPIC%" title="Children: "}%
%METASEARCH{type="field" name="Country" value="China"}%