Jump to content

Template:Google LC/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
  • 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

[edit]

Example

[edit]
  • For the tennis player Facundo Argüello from (Spanish-speaking) Argentina, research how his name is spelled in reliable English sources. The search results should include articles with the word "tennis" but not the word "tenis" (the Spanish-language spelling), omit Spanish-language web sites prefixed with "es" (http://es. etc., like Spanish Wikipedia), omit web sites with the Argentine suffix "ar", and omit pages that cite "Wikipedia" or are on Wikipedia.org.
  • It's possible to greatly simplify such a search by using this template: {{subst:google LC|Facundo Argüello|es|ar}} displays as the following clickable external link: Sources for Facundo Argüello on Google, excluding language(es)/country(ar)*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

[edit]