Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://dualopt1.cmm.msu.ru/bin/view/TWiki/VarMETASEARCH?cover=print.nat;skin=kubrick.nat%2Cnat%2C%20pattern;sortcol=2;table=1;up=0
Дата изменения: Unknown Дата индексирования: Sun Mar 2 14:46:19 2014 Кодировка: |
%METASEARCH{...}%
Parameter: | Description: | Default: |
---|---|---|
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). | |
topic="%TOPIC%" | The topic the search relates to, for topicmoved and parent searches | All topics in a web |
web="%WEB%" | Wiki web to search: A web, a list of webs separated by whitespace, or all webs. | Current web |
title="Title" | Text that is prefixed to any search results | empty |
default="none" | Default text shown if no search hit | Empty |
type="topicmoved" | What sort of search is required? "topicmoved" if search for a topic that may have been moved "parent" if searching for topics that have a specific parent i.e. its children "field" if searching for topics that have a particular form field value (use the name and value parameters to specify which field to search) | Required |
format="..." | Custom format results. Supports same format strings as SEARCH. See FormattedSearch for usage, variables & examples | Results in table |
%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"}%