Difference between revisions of "Template:In title/doc"
imported>NotThatAnonymous m |
imported>Paine Ellsworth m (update /doc) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
=== Usage === | === Usage === | ||
| Line 27: | Line 27: | ||
* [[Template:Search link]] | * [[Template:Search link]] | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
| − | <!-- | + | <!-- Categories below this line, please; interwikis at Wikidata --> |
[[Category:Search templates]] | [[Category:Search templates]] | ||
[[Category:Disambiguation and redirection templates]] | [[Category:Disambiguation and redirection templates]] | ||
[[Category:Exclude in print]] | [[Category:Exclude in print]] | ||
| − | + | ||
| − | + | }}</includeonly> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | </includeonly> | ||
Revision as of 19:04, 7 October 2018
| This is a documentation subpage for Template:In title. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
In a "See also" section:
* {{ In title | title phrase | label }}
Creates a link to search for page titles which contain the given word or phrase.
The default behavior of this template is searching for the entire pagename. 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 the plural form of the word (only those formed by appending "-s") in the search. {{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