सामग्री पर जाएँ

आकृति:Internal search templates common doc

मैथिली विकिपिडियासँ, एक मुक्त विश्वकोश

Templates to search Wikipedia

[सम्पादन करी]

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.
{{shortSearch|system operations research}}
WP GWP G
  • {{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 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

[सम्पादन करी]

See also



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