Template:Search link

Template page
Revision as of 18:06, 29 April 2022 by Antt1995 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{{1}}}

Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Search link/doc. Changes can be proposed in the talk page.

Creates links to Special:Search with the provided query, with the query formatted as monospace text with <code>. Primarily for use with DSP Wiki:Search cheatsheet.

Usage

{{Search link|search query}}

The only parameter is the search query.

If your query contains a pipe, you will need to replace it with |; if it contains an equal, replace that with = or by using |1=search.

Example
{{Search link|carr*}}

carr*

TemplateData

Creates a formatted link to [[Special:Search]] with the specified search query.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Search query1

The search query to link to

Example
carrack
Stringrequired
🍪 We use cookies to keep session information to provide you a better experience.