Jump to content

Template:Find sources multi/doc/links

From Wikipedia, the free encyclopedia


This template produces a search link to help find additional reference material for articles. It is part of the {{find sources multi}} meta-template, but it can also be used on its own. This template should not be used in articles themselves - see Wikipedia:EL#Links normally to be avoided.

Usage

[edit]
{{Find sources multi/g|search term 1|search term 2|search term 3|search term 4|search term 5|display=custom display text}}

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).

Examples

[edit]
  • Default search:
{{Find sources multi/g}}
produces:
Google
  • Simple search:
{{Find sources multi/g|Albert Einstein}}
produces:
Google
  • Complex search:
{{Find sources multi/g|Albert Einstein|physics|-"Marilyn Monroe"|relativity|science}}
produces:
Google
  • Custom display text
{{Find sources multi/g|Albert Einstein|display=Custom display text}}
produces:
Custom display text

See also

[edit]