Template:Search

From wikiNonStop
Jump to navigation Jump to search
Template documentation

Template:Template gadget

Use this template to search the wiki and display the results in a wiki page.

See the installation instructions to get it working in your wiki.

Usage

Basic

Markup Renders as
{{Search|javascript}}
Searching...

Advanced

Markup Renders as
{{Search
| query = incategory:JavaScript
| namespace = 2
| limit = 100
| sort = incoming_links_desc
}}
Searching...

Installation

Template:Template gadget installation instructions

Template data

Use this template to search the wiki and display the results inline

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Queryquery 1

Search terms or query

Stringrequired
Namespacenamespace

Namespace number to search

Example
2
Numberoptional
Limitlimit

Max search results to show

Default
10
Example
100
Numberoptional
Sortsort

Sort criteria for search results

Suggested values
create_timestamp_asc create_timestamp_desc incoming_links_asc incoming_links_desc last_edit_asc last_edit_desc random relevance
Default
relevance
Example
create_timestamp_asc
Stringoptional

See also