Template:In title/sandbox
All pages with titles containing In title/sandbox
This is the template sandbox page for Template:In title (diff). See also the companion subpage for test cases. |
This template is used on approximately 22,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
[edit]In a See also section, use the following wikitext to create a link to a search for page titles which contain the given word or phrase:
* {{ In title | title phrase | label }}
The default behavior of this template is searching for the entire pagename of the page you add it to.
Add the title phrase parameter to search for something other than the entire pagename.
- If you use the title-phrase parameter, do not use quotation marks, as they are ignored. (The intitle search parameter does not recognise quotation marks in the title anyway, but it does require them around a phrase, and these are added automatically.)
The default label is All pages with titles containing search term. Add your own label in the label parameter to change this.
Use the parameter |plural=yes
to add a second search by appending "s" to the search term. Any other plural forms will not be created with this parameter.
The parameter |noquote=yes
can be added to suppress quotation marks around the search term; this is required if the search term contains a wildcard: {{in title|visib*|noquote=yes}}
produces: All pages with titles containing visib*
Examples
[edit]- On the page Wales,
{{In title}}
produces All pages with titles containing Wales. - On the page Daytona 500,
{{In title}}
produces All pages with titles containing Daytona 500. {{In title|Babe Ruth}}
produces All pages with titles containing Babe Ruth.{{In title|Somersworth|Search for Somersworth-related articles}}
produces Search for Somersworth-related articles.{{In title|River|plural=yes}}
produces All pages with titles containing River or Rivers.{{In title|River|Pages with "River" in the title}}
produces Pages with "River" in the title.
Warnings
[edit]For print versions, this template leaves an empty bullet. See the talk page and the sandbox for resolution.
Related
[edit]To instead search for page titles that begin with a given word, or part of that word, use {{look from}}.
TemplateData
[edit]TemplateData for In title
Creates text and a link to an intitle: search on Wikipedia.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title phrase | 1 | The phrase to generate a link for. | String | suggested |
Label | 2 | The label to override the generated text. | String | suggested |
Plural? | plural | Outputs a second link for the plural version of the title phrase.
| Boolean | optional |