Difference between revisions of "Template:Google/doc"

From blackwiki
Jump to navigation Jump to search
imported>Teratornis
(→‎Usage: make the usage warning more obvious)
imported>Teratornis
Line 6: Line 6:
  
 
=== Do not use in articles ===
 
=== Do not use in articles ===
{{Warning|Do not use this template in [[WP:WIAA|articles]] (as Google search links 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.}}
+
{{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==
 
==Examples==

Revision as of 19:59, 3 March 2008

Usage

Creates a Google search link for the supplied term. By default, the search link is for the name of the page it is put on, if no term is provided. It is strongly recommended (but not required) that you SUBST: this template.

Do not use in articles

Examples

Type this To get this What it searches for
{{subst:google}} doc Pages with the phrase "Google", because the name of this page that you are reading is "Template:Google"
{{subst:google|Godzilla}} Godzilla Pages with the term "Godzilla".
{{subst:google|Godzilla Rodan}} Godzilla Rodan Pages which contain "Godzilla" and "Rodan".
{{subst:google|"Godzilla Movie"}} "Godzilla Movie" Pages with the phrase "Godzilla Movie".
{{google|1 pound in kilograms {{=}}}} 1 pound in kilograms = Use Template:= to add an = sign to trigger Google Calculator; that template cannot be substituted.

See also