Template:In title/sandbox
| This is the template sandbox page for Template:In title (diff). See also the companion subpage for test cases. |
Contents
Usage
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 if that is needed instead. The default label is All pages with titles containing search term. Add your own label in the label parameter to change this.
If you use the title-phrase parameter, do not use quotation marks. 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.)
Use the parameter |plural=yes to include in the search a second term made by appending "s" to the first. Any other plural forms will not be created with this parameter. of {{In title|River|plural=yes}} produces [[Special:Search/intitle:"River"Template:SpOR intitle:"Rivers"|All pages with titles containing RiverTemplate:Spor Rivers]].
To instead search for page titles that begin with a given word, or part of that word, use {{look from}}.
Examples
- On the page Wales,
{{In title}}produces All pages with titles containing Wales. {{In title|in Wales}}produces All pages with titles containing in Wales.
Warnings
For print versions, this template leaves an empty bullet. See the talk page and the sandbox for resolution.
See also
| The above documentation is transcluded from Template:In title/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |