Template:Search link: Difference between revisions

Template page
No edit summary
 
m (1 revision imported: New Files)
 
(No difference)

Latest revision as of 11:54, 24 March 2024

{{{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.