வார்ப்புரு: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 ''[[wp:preview|preview]]''. 
 The plain wikilink &lt;kbd&gt;[&lt;nowiki/&gt;[Special:Search/''query'']]&lt;/kbd&gt; works just like the search box, so it will ''[[wp:navigation|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 ''[[help:template|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 [[mw:Help:CirrusSearch#morelike:|the ''morelike'' operator of CirrusSearch]]. 
 
 * {{tl|search link}} – create a search in a shareable link. Pick one or more namespaces, else it defaults to article space; pick a link title.&lt;br /&gt;{{tnull|search link|tosa diary -&quot;tosa diary&quot;|&quot;tosa&quot; and &quot;diary&quot;, but not &quot;tosa diary&quot;}} &amp;rarr;&lt;br /&gt;{{search link|tosa diary -&quot;tosa diary&quot;|&quot;tosa&quot; and &quot;diary&quot;, but not &quot;tosa diary&quot;|ns0}}.
 * {{tl|Regex}} - develop a ''general'' regexp search.&lt;br /&gt;&lt;code&gt;&lt;nowiki&gt;{{regexp|\&lt;--.*--&gt;|label = Articles with hidden comments in the wikitext |prefix=0 }}&lt;/nowiki&gt;&lt;/code&gt; &amp;rarr;&lt;br /&gt;{{regexp|\&lt;--.*--&gt;|label = Articles with [[wp:comments|comments]] missing the bang ! in their syntax. |prefix=0 }}
 * {{tl|tlusage}} - develop a ''template'' regexp search, and pinpoint specific template-call details.&lt;br /&gt;&lt;code&gt;&lt;nowiki&gt;{{tlusage|Convert|\{{!}}C\{{!}}F|0|Articles that convert Celsius to Fahrenheit}}&lt;/nowiki&gt;&lt;/code&gt; &amp;rarr;&lt;br /&gt;{{template usage|Convert|\{{!}}C\{{!}}F|0|Articles that convert Celsius to Fahrenheit}}
 * {{tl|shortSearch}} - create three search links: Wikipedia and Google, plus create another link that's purely-Google.&lt;br /&gt;&lt;code&gt;&lt;nowiki&gt;{{shortSearch|system operations research}}&lt;/nowiki&gt;&lt;/code&gt; &amp;rarr;&lt;br /&gt;{{shortSearch|global warming}}
 * {{tl|wpsearch}} – creates five search links: Wikipedia, Google, Bing, DuckDuckGo, and Yahoo&lt;br /&gt;&lt;code&gt;&lt;nowiki&gt;{{wpsearch|collaborative search}}&lt;/nowiki&gt;&lt;/code&gt; &amp;rarr;&lt;br /&gt;{{wpsearch|global warming}}
 
 ==== Search boxes ====
 * {{tl|search box}} – Simple search box with choice of button below or to the right
 * {{tl|search prefixes}} – Multiple pages' subpages are searched at once
 * {{tl|search archives}} and {{tl|archive banner}} – For searching archives. The latter, {{tl|archive banner}} is of banner-style, like many other [[Template:Warchivenav|archive templates]].
 Search boxes are made by {{tag|inputbox|o}} tags. See [[mw:Extension:InputBox]].
 
 ==== Page title searches ====
 * {{tl|in title}} – Search for pages whose name ''contains'' given words
 * {{tl|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 ====
 * {{tl|linksearch}} – Search for external links matching for a URL
 * {{tl|search deletion discussions}} – Search box for all kinds of deletion discussions
 * {{tlg|dabsearch|italics=on|term}} – External tool to find page titles containing a &lt;code&gt;(''term'')&lt;/code&gt; in parentheses. Useful for [[Wikipedia:disambiguation]] study.
 * {{tl|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.
 * {{tl|spamsearch}} – Searches user pages for common spams, e.g. &quot;we service&quot;, &quot;leading manufacturer&quot; etc.
 &lt;!-- Useless templates:
 * The search box in every Wikipedia page make them useless:
 ** {{Content search link}}: Make a link to the search page
 ** {{Search wikipedia}}: Creates another search box.
 ** {{top search bar}}: spam
 ** {{top search bar2}}: spam
 --&gt;
 {{{seealso|
 === See also ===
 {{{append|}}}
 * [[Help:Searching]]
 * {{cat|Search templates}}
 * [[mw:inputbox#General syntax|Creating your own search box using {{tag|inputbox}}]]
 }}}&lt;noinclude&gt;
 
 ----
 (Hereafter is put in {{tag|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:
 * &lt;code&gt;append&lt;/code&gt;: Items to be added to.
 * &lt;code&gt;seealso&lt;/code&gt;: Changes the section altogether.
 
 Example 1: {{&lt;nowiki /&gt;Internal search templates common doc|append=&lt;br /&gt;
 &lt;nowiki /&gt;* [[Help:Searching]]&lt;br /&gt;
 &lt;nowiki /&gt;* [[Help:Template]]}}
 
 Example 2: {{tnull|Internal search templates common doc|seealso{{=}}}}&lt;br /&gt;
 This will delete the &quot;See also&quot; section.
 
 [[Category:Documentation shared content templates]]
 [[Category:Search templates| ]]