Template:Find sources documentation: Difference between revisions
meta>Mr. Stradivarius add a link to the template configuration module, and display template parameters on this page |
meta>Funandtrvl updte |
||
Line 1: | Line 1: | ||
{{Documentation subpage}}{{{shortcuts|}}} | {{Documentation subpage}} | ||
<includeonly>{{Lua|Module:Find sources|Module:Find sources/templates/{{{template}}}}}</includeonly> | {{{shortcuts|}}}<includeonly> | ||
{{Lua|Module:Find sources|Module:Find sources/templates/{{{template}}}}} | |||
</includeonly> | |||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | ||
{{#if: {{{docIntro|}}} | {{{docIntro}}} | This template produces a series of links to various search interfaces to help find additional reference material for articles. }} {{#if: {{{isUsedInMainspace|}}} | | This template should not be used in articles themselves - see [[Wikipedia:EL#Links normally to be avoided]]. }} | {{#if: {{{docIntro|}}} | {{{docIntro}}} | This template produces a series of links to various search interfaces to help find additional reference material for articles. }} {{#if: {{{isUsedInMainspace|}}} | | This template should not be used in articles themselves - see [[Wikipedia:EL#Links normally to be avoided]]. }} | ||
== Usage == | == Usage == | ||
The first parameter is the main search term, which will be treated as a [[literal string]] if multi-part (e.g. <code>Albert Einstein</code> will be searched as the single string "Albert Einstein" not "Albert" and "Einstein" separately). | The first parameter is the main search term, which will be treated as a [[literal string]] if multi-part (e.g. <code>Albert Einstein</code> will be searched as the single string "Albert Einstein" not "Albert" and "Einstein" separately). | ||
Line 18: | Line 18: | ||
== Examples == | == Examples == | ||
*Default search: | *Default search: | ||
:<code><nowiki>{{</nowiki>{{{template}}}<nowiki>}}</nowiki></code> | :<code><nowiki>{{</nowiki>{{{template}}}<nowiki>}}</nowiki></code> | ||
Line 42: | Line 41: | ||
== See also == | == See also == | ||
* {{Tl|Find sources notice}} - styled article talk header template for article talk pages | * {{Tl|Find sources notice}} - styled article talk header template for article talk pages | ||
* {{Tl|Find sources 3}} - template with many more sources to search. | * {{Tl|Find sources 3}} - template with many more sources to search. | ||
* {{Tl|Find sources 4}} - template with even more sources to search. | * {{Tl|Find sources 4}} - template with even more sources to search. | ||
* {{Tl| | * {{Tl|Find video game sources}} - includes a link to [[User:Gwern|Gwern]]'s [http://www.google.com/cse/home?cx=009114923999563836576:1eorkzz2gp4 Google RS] | ||
* {{Tl|Refideas}} - template to include links to possible sources | * {{Tl|Refideas}} - template to include links to possible sources | ||
* {{Tl|Search}} - the original search template on which this template was based | * {{Tl|Search}} - the original search template on which this template was based | ||
* {{Tl|Search for}} - a multi-purpose search engine sidebar | * {{Tl|Search for}} - a multi-purpose search engine sidebar | ||
* [[Help:Find sources]] | |||
* [[Wikipedia:Template messages/Cleanup/Verifiability and sources]] | |||
* [[Wikipedia:WikiProject User scripts/Scripts/Search links]] | * [[Wikipedia:WikiProject User scripts/Scripts/Search links]] | ||
<includeonly> | <includeonly> | ||
<!-- Categories go here, and interwikis go in Wikidata --> | <!-- Categories go here, and interwikis go in Wikidata --> | ||
[[Category:Source-finding templates | [[Category:Source-finding templates]] | ||
</includeonly><noinclude> | </includeonly><noinclude> |
Revision as of 23:34, 25 November 2014
This template produces a series of links to various search interfaces to help find additional reference material for articles. This template should not be used in articles themselves - see Wikipedia:EL#Links normally to be avoided.
Usage
The first parameter is the main search term, which will be treated as a literal string if multi-part (e.g. Albert Einstein
will be searched as the single string "Albert Einstein" not "Albert" and "Einstein" separately).
Optional subsequent parameters (up to 4) are additional search terms. They can be enclosed in double quotation marks, preceded by an unspaced -
(hyphen) to exclude them from the search results, or both (e.g. -"Marilyn Monroe"
to exclude matches containing the phrase "Marilyn Monroe", but not either name by itself, from the search results). You do not need to add -wikipedia
, as the template automatically does this for you. Also, there is no need to add words in plural form unless irregular, as the search interface will match (for example) billiards as well given a search term of billiard.
If no parameters are given, the name of the article is passed as the search string. Note that this may or may not be desirable with disambiguated article names (if the Wikipedia disambiguator is sensible, however, it may actually help refine the search results)
Search engines
The template includes links to the following search engines: {{{linkDescriptions}}}
Examples
- Default search:
{{{{{template}}}}}
- produces:
- {{ {{{template}}} }}
- Simple search:
{{{{{template}}}|Albert Einstein}}
- produces:
- {{ {{{template}}}|Albert Einstein}}
- Complex search:
{{{{{template}}}|Albert Einstein|physics|-"Marilyn Monroe"|relativity|science}}
- produces:
- {{ {{{template}}}|Albert Einstein|physics|-"Marilyn Monroe"|relativity|science}}
See also
- {{Find sources notice}} - styled article talk header template for article talk pages
- {{Find sources 3}} - template with many more sources to search.
- {{Find sources 4}} - template with even more sources to search.
- {{Find video game sources}} - includes a link to Gwern's Google RS
- {{Refideas}} - template to include links to possible sources
- {{Search}} - the original search template on which this template was based
- {{Search for}} - a multi-purpose search engine sidebar
- Help:Find sources
- Wikipedia:Template messages/Cleanup/Verifiability and sources
- Wikipedia:WikiProject User scripts/Scripts/Search links