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

From blackwiki
Jump to navigation Jump to search
imported>LittleBenW
m
imported>LittleBenW
Line 3: Line 3:
 
==Usage==
 
==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|ISO_639-1 language-code web site prefix]] (2), (e.g. the <nowiki>http://es.</nowiki> prefix for Spanish Wikipedia), and omits web sites with the specified [[List_of_Internet_top-level_domains#Country_code_top-level_domains|top-level domain country code suffix (3), (like the Argentine suffix "ar"]]).
+
*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|ISO_639-1 language-code web site prefix]] (2), (e.g. the <nowiki>http://es.</nowiki> prefix for Spanish Wikipedia), and omits web sites with the specified [[List_of_Internet_top-level_domains#Country_code_top-level_domains|top-level domain country code suffix]] (3), (e.g. the Argentine suffix "ar").
 
*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.  
 
*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 [[Wikipedia:Template substitution|SUBST:]] this template.
 
*It is recommended (but not required) that you [[Wikipedia:Template substitution|SUBST:]] this template.

Revision as of 16:13, 1 January 2013

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

Examples

<under construction>