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

From blackwiki
Jump to navigation Jump to search
imported>LittleBenW
imported>LittleBenW
m
Line 5: Line 5:
 
*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), (like 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.
 +
 +
=== Do not use in articles ===
 +
{{Warning|Do not use this template in [[WP:WIAA|articles]] (as Google search links [[WP:EL#Links normally to be avoided|are not appropriate in articles]]). The template is only for [[Help:Talk page|talk pages]] and other process pages ([[WP:HD|Help desk]], [[WP:PROJ|WikiProjects]], etc.). The template will produce an ugly messagebox warning if you attempt to use it in an article.}}
 +
 +
==Examples==
  
 
<under construction>
 
<under construction>

Revision as of 16:12, 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), (like 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>