Template:Linksearch
Helps to search for external link URLs in articles, by creating a link to Special:Linksearch.
Usage
- The first argument is the URL to be searched for.
- The second, optional argument is caption.
Examples:
- Code:
{{linksearch|*.example.com}} - Result: [2]
- Code:
{{linksearch|*.example.com|Here are all the articles with links to example.com}} - Result: Here are all the articles with links to example.com
Templates for searching BattleIntelligence
Search links
A search link stores a query in a link that takes you to live search results for that stored search. They're found on user pages and talk pages. Use one to bring the full feature set of MediaWiki Search, or features of external search engines, to bear on users unfamiliar with their search parameters.
One type of search link is a wikilink with all the capabilities of Search (search box), and with standard wikilink syntax: [[Special:Search/query| label]]. So this search link will (1) navigate: [[Special:search/Atlas]] → Special:search/Atlas or (2) search: [[Special:search/~Atlas| search/~Atlas]] → search/~Atlas if you prefix a ~ tilde character.
All other search links are made from a template that will build a URL instead of wikilink. A URL can for example can call off-site search engines to search BattleIntelligence.
- {{Search link}} offers all the capabilities of Searching (search box), plus extra (URL) parameters for combinations of namespaces, and where you can escape the 20-results-per page-limitation, shareable: {{search link | et al | ''label'' | ns4 | ns5 | limit = 123}} → label.
Advanced search templates
These are made to use mw:Extension:CirrusSearch, and as such may not work with the search extension we currently use (mw:Extension:SphinxSearch). Further testing maybe needed.
- {{Regex}} – develop an advanced regex search.
- {{Template usage}} – develop a template regex search, and pinpoint specific template-call details.
Search boxes
These are made to use mw:Extension:InputBox, and as such may not work.
- {{Search box}} – Simple search box with choice of button below or to the right
- {{Search prefixes}} – Multiple pages' subpages are searched at once.
- {{Search lists}} – For searching from lists of lists.
Page title searches
- {{In title}} – Search for pages whose name contains given words
- {{Look from}} – Search for pages whose name begins with a given word
Other BattleIntelligence editor help
- {{Linksearch}} – Searches for external links matching a URL
See also
- Help:Searching
- Category:Search templates
- MediaWiki:Extension:InputBox § General syntax - how to create your own search box using
<inputbox>...</inputbox>