Template:Search link/doc

Template page
Revision as of 17:54, 29 April 2022 by imported>Alistair3149
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Creates links to Special:Search with the provided query, with the query formatted as monospace text with <code>. Primarily for use with Star Citizen: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