Difference between revisions of "Template:Google LC/doc"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
m (add {{documentation subpage}})
imported>Vanisaac
(clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other and includeonly tags)
 
Line 14: Line 14:
  
 
*For the tennis player [[Facundo_Argüello_(tennis)|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 [[ISO_639-1|Spanish-language web sites prefixed with "es"]] (<nowiki>http://es.</nowiki> etc., like Spanish Wikipedia), omit web sites with the [[List_of_Internet_top-level_domains#Country_code_top-level_domains|Argentine suffix "ar"]], and omit pages that cite "Wikipedia" or are on Wikipedia.org.  
 
*For the tennis player [[Facundo_Argüello_(tennis)|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 [[ISO_639-1|Spanish-language web sites prefixed with "es"]] (<nowiki>http://es.</nowiki> etc., like Spanish Wikipedia), omit web sites with the [[List_of_Internet_top-level_domains#Country_code_top-level_domains|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: <code><nowiki>{{subst:google LC|Facundo Argüello|es|ar}}</nowiki></code> displays as the following clickable external link: {{google LC|Facundo Argüello|es|ar}}*Simply click the link then add the positive and negative match terms "tennis" and "-tenis" to the search string and repeat the search.
+
*It's possible to greatly simplify such a search by using this template: <code><nowiki>{{subst:google LC|Facundo Argüello|es|ar}}</nowiki></code> displays as the following clickable external link: {{google LC|Facundo Argüello|es|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==
 
==See also==
 
{{Google templates}}
 
{{Google templates}}
  
 +
<includeonly>{{Sandbox other||
 
[[Category:Google search templates]]
 
[[Category:Google search templates]]
 +
 +
}}</includeonly>

Latest revision as of 15:55, 25 April 2020

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

  • 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