Template:Search link
| This template should not be used in articles as links to search result pages are among the links normally to be avoided. |
This template creates a link that can be used to store a BattleIntelligence search box query. A search link is useful for collaborative search on Talk pages and most other pages, but it is not to be used in articles. If used in articles, it outputs the above warning.
Basics
{{Search link|first|second|third}}
- The first parameter is for the search, or query.
- The second parameter is a label for the link.
- The third parameter is the search domain.
The name of the template is Search link, or sl for short.
The second and third parameters are optional and have defaults, so the short form is {{sl|query}}.
Both a search link and a search box go to the same search engine. The same query produces the same result.
The basic search covers articles. It finds words and phrases composed of letters and numbers very quickly, but a basic search can also query for all articles that contain a string that includes punctuation, math, and other symbols as seen in the page content or as seen in the page wikitext.
This template differs from the search box superficially when searching for an equals sign. In the search box you just say =, but here you must use the five-letter string {{=}}.[1]
Advanced
Notes
See also
- Help:Searching
- Category:Search templates
- MediaWiki:Extension:InputBox § General syntax - how to create your own search box using
<inputbox>...</inputbox>