Difference between revisions of "Template:Find sources multi/template"

From blackwiki
Jump to navigation Jump to search
imported>Mr. Stradivarius
(Undid revision 543233143 by Mr. Stradivarius (talk) Undo - previous behaviour was correct. Also fix some whitespace)
imported>Mr. Stradivarius on tour
(Move documentation content to Template:Find sources multi/doc/template)
Line 254: Line 254:
 
  -->{{#ifeq: {{{doc<noinclude>|yes</noinclude>}}} | yes
 
  -->{{#ifeq: {{{doc<noinclude>|yes</noinclude>}}} | yes
 
     | {{documentation
 
     | {{documentation
        | content=
 
<!--
 
==============================================================================
 
                        START DOCUMENTATION CONTENT
 
==============================================================================
 
-->
 
{{template shortcut|{{{shortcut1|}}}|{{{shortcut2|}}}|{{{shortcut3|}}}}}
 
 
== Usage ==
 
 
This template produces a series of links to various search interfaces to help find additional reference material for articles. It should '''not be used in articles themselves''' - refer to [[Wikipedia:EL#Links normally to be avoided]].
 
 
The first parameter is 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).
 
 
Optional subsequent parameters (up to 4) are additional search terms. Then can be enclosed in double quotation marks, preceded by an unspaced <code>-</code> (hyphen) to exclude them from the search results, or both (e.g. <code>-"Marilyn Monroe"</code> to exclude matches containing the phrase "Marilyn Monroe", but not either name by itself, from the search results).  You do ''not'' need to add <code>-wikipedia</code>, 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){{#ifeq: {{{free|¬}}} | ¬
 
| .
 
| .
 
 
If {{para|free|yes}} is added, Google News will only return free search results; please note that this can exclude many valuable sources simply because they have a small (or sometimes not so small) price tag; this parameter is best used when linking to source material in discussions, rather than when using the template near the top of an article's talk page as a source-finding resource.
 
}}
 
 
*Simple example:
 
:<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|Albert Einstein}}</nowiki></code>
 
 
:produces:
 
 
:{{ {{BASEPAGENAME}} | Albert Einstein <noinclude>| link1=g | link2=gnews | link3=gbooks | link4=gscholar | link5=jstor | link6=gfreeimages | link7=archive | link8=gnewsrecent | link9 = nyt | link10=wrs | link11=ddg </noinclude>}}
 
 
*Complex example:
 
:<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|Albert Einstein|physics|-"Marilyn Monroe"|relativity|science</nowiki>{{#ifeq: {{{free|¬}}} | ¬ | | <nowiki>|free=yes</nowiki> }}<nowiki>}}</nowiki></code>
 
 
:produces:
 
 
:{{ {{BASEPAGENAME}}|Albert Einstein|physics|-"Marilyn Monroe"|relativity|science<noinclude>| link1=g | link2=gnews | link3=gbooks | link4=gscholar | link5=jstor | link6=gfreeimages | link7=archive | link8=gnewsrecent | link9 = nyt | link10=wrs | link11=ddg </noinclude>|free= {{#ifeq: {{{free|¬}}} | ¬ | | yes }} }}
 
 
{{#ifexist:{{FULLPAGENAME}}/doc|{{{{FULLPAGENAME}}/doc}}}}
 
 
<!--
 
==============================================================================
 
                        END DOCUMENTATION CONTENT
 
==============================================================================
 
-->
 
 
         | link box=This documentation is automatically generated by [[Template:Find sources multi/template]].<!--
 
         | link box=This documentation is automatically generated by [[Template:Find sources multi/template]].<!--
 
       --><br />Any [[WP:CAT|categories]] and documentation specific to this template should be added to the template's <!--
 
       --><br />Any [[WP:CAT|categories]] and documentation specific to this template should be added to the template's <!--

Revision as of 02:46, 11 March 2013

Google⧼dot-separator⧽Google News⧼dot-separator⧽Google Books⧼dot-separator⧽Google Scholar⧼dot-separator⧽JSTOR⧼dot-separator⧽Free Google Images⧼dot-separator⧽Archive.org⧼dot-separator⧽Bing⧼dot-separator⧽Google News recent⧼dot-separator⧽New York Times⧼dot-separator⧽Wikipedia Reference Search⧼dot-separator⧽DuckDuckGo

50px Template documentation[create]