Difference between revisions of "Template:Google LC"

From blackwiki
Jump to navigation Jump to search
imported>LittleBenW
m
imported>LittleBenW
m
Line 1: Line 1:
[http://www.google.com/search?q=%22{{urlencode:{{{1}}}}}%22+-site%3A*{{{2}}}+-site%3A{{{3}}}.*+-site%3Awikipedia.org+-wikipedia Sources for {{{1}}} on Google, excluding language({{{2}}})/country({{{3}}})]
+
[http://www.google.com/search?q=%22{{urlencode:{{{1}}}}}%22+-site%3A*{{{2}}}+-site%3A{{{3}}}.*+-site%3Awikipedia.org+-wikipedia Sources for {{{1}}} on Google, excluding language({{{2}}})/country({{{3}}})]{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span class="messagebox" style="padding: 0; font-size: xx-small; color: #000000;">''[[Template:Google RS]] should not be used in articles as Google links are not considered appropriate for an encyclopedia.''</span>}}
 +
<noinclude>{{Documentation}}</noinclude>
 
<!--Google a phrase excluding a Language and Country-->
 
<!--Google a phrase excluding a Language and Country-->

Revision as of 15:39, 1 January 2013

Sources for {{{1}}} on Google, excluding language({{{2}}})/country({{{3}}})

Template documentation[view] [edit] [history] [purge]

Usage

  • This takes three parameters: (1) a search phrase, (2) a language prefix, and (3) a top-level domain suffix. It creates a Google search link for the search phrase (1), omits web sites with the specified ISO_639-1 language-code web site prefix (2) (e.g. the http://es. prefix for Spanish Wikipedia), and omits web sites with the specified top-level domain country code suffix (3) (e.g. the Argentine suffix "ar", see example below).
  • Use this template—on an article Talk page, Wikipedia: page, or in your User: space—to produce an external link that allows you to Google for a phrase but exclude sites with a specified language code prefix and/or country code suffix.
  • It is recommended (but not required) that you SUBST: this template.

Do not use in articles

Example

  • Simply click the link then add the positive and negative match terms "tennis" and "-tenis" to the search string and repeat the search.

See also