आकृति:Internal search templates common doc
Templates to search Wikipedia
[सम्पादन करी]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 and are used to create ad hoc search links from a preview. The plain wikilink [[Special:Search/query]] works just like the search box, so it will navigate to a page instead of providing the desired search results page that a search link always provides.
A search link is made by a template that outputs a URL instead of a wikilink. A template can specialize, save typing, hide implementation, and add value to existing Search features. A URL brings a useful set of additional features to search links. Besides being universal and uniform, a URL can call up other search processing and pass parameters. For example it can call other search engines to search Wikipedia. Also template programmers can use a URL to bring arcane or beta features to normal users. For example there are many URL-only tweaks offered for the morelike operator of CirrusSearch.
- {{search link}} – create a search in a shareable link. Pick one or more namespaces, else it defaults to article space; pick a link title.
{{search link|tosa diary -"tosa diary"|"tosa" and "diary", but not "tosa diary"}}
→- "tosa" and "diary", but not "tosa diary".
- {{Regex}} - develop a general regexp search.
{{regexp|\<--.*-->|label = Articles with hidden comments in the wikitext |prefix=0 }}
→- Articles with comments missing the bang ! in their syntax.
- {{tlusage}} - develop a template regexp search, and pinpoint specific template-call details.
{{tlusage|Convert|\{{!}}C\{{!}}F|0|Articles that convert Celsius to Farenheight}}
→- Articles that convert Celsius to Farenheight
- {{shortSearch}} - create three search links: Wikipedia and Google, plus create another link that's purely-Google.
- {{wpsearch}} – creates five search links: Wikipedia, Google, Bing, DuckDuckGo, and Yahoo
{{wpsearch|collaborative search}}
→- global warming – Wikipedia search | Google search | Bing search | DuckDuckGo search | Yahoo search
Search boxes
[सम्पादन करी]- {{search box}} – Simple search box with choice of button below or to the right
- {{search prefixes}} – Multiple pages' subpages are searched at once
- {{search archives}} and {{archive banner}} – For searching archives. The latter, {{archive banner}} is of banner-style, like many other archive templates.
Search boxes are made by <inputbox>
tags. See mw:Extension:InputBox.
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
For searches with exact matches, exact in upper and lower cases, or in punctuation marks, see Help:Searching#grep.
Other Wikipedia editor helper
[सम्पादन करी]- {{linksearch}} – Search for external links matching for a URL
- {{search deletion discussions}} – Search box for all kinds of deletion discussions
- {{dabsearch|term}} – External tool to find page titles containing a
(term)
in parentheses. Useful for Wikipedia:disambiguation study. - {{help desk searches}} – Navbox with list of links to google pages, specialized to search for example user pages, village pump, etc. Useful for the Wikipedia:Help desk task.
- {{spamsearch}} – Searches user pages for common spams, e.g. "we service", "leading manufacturer" etc.
See also
- Help:Searching
- Category:Search templates
- Creating your own search box using
<inputbox>...</inputbox>
(Hereafter is put in <noinclude>...</noinclude>
.)
Description of this template
[सम्पादन करी]This template is transcluded into documentations of some templates. You can modify the #See also section with the following parameters:
append
: Items to be added to.seealso
: Changes the section altogether.
Example 1: {{Internal search templates common doc|append=
* Help:Searching
* Help:Template}}
Example 2: {{internal search templates common doc|seealso=}}
This will delete the "See also" section.