Permanently protected template

Template:In title

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]


  • {{in title|words|caption}}

Creates a link to search for page titles which contain given words. The default value of the first parameter is the current page name, and that of the second parameter is 'All pages with titles containing "searchterm".'

The search term may contain a quoted string.

To search for page titles which begin with a given word, use {{look from}}.


  • {{in title|Wales}}
produces All pages with titles containing "Wales".
  • {{in title|Wales Welsh|Article titles containing the words "Wales" and "Welsh".}}
produces Article titles containing the words "Wales" and "Welsh".
  • {{in title|Wales OR Welsh|Article titles containing the words "Wales" or "Welsh".}} (See also: Logical disjunction)
produces Article titles containing the words "Wales" or "Welsh".
  • Compare the results of {{in title|"National Theatre"}} (an exact phrase)
= All pages with titles containing ""National Theatre""
and {{in title|National Theatre}} (two search terms, implicitly connected with AND)
= All pages with titles containing "National Theatre"
  • Formatting can also be applied, using the second parameter: {{In title|"National Theatre"|Pages containing {{Xt|"National Theatre"}}.}}
= Pages containing "National Theatre".

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.
{{shortSearch|system operations research}}
  • {{wpsearch}} – creates five search links: Wikipedia, Google, Bing, DuckDuckGo, and Yahoo
{{wpsearch|collaborative search}}
global warmingWikipedia search | Google search | Bing search | DuckDuckGo search | Yahoo search

Search boxes

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