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

From blackwiki
Jump to navigation Jump to search
imported>Teratornis
m (→‎Usage: remove "discussion" because "talk pages" is sufficient)
imported>Teratornis
(→‎Usage: give more examples of where the template is appropriate; add subheading to make the warning even more staggeringly clear)
Line 7: Line 7:
 
*With no parameter values, the template links to a Google Images search for the name of the current page (specifically to the value of the <code>SUBPAGENAME</code> [[Help:Magic word|magic word]] for the current page).
 
*With no parameter values, the template links to a Google Images search for the name of the current page (specifically to the value of the <code>SUBPAGENAME</code> [[Help:Magic word|magic word]] for the current page).
 
*If the first parameter value is present, the template links to a Google Images search on the parameter value. Ordinarily the value would consist of one or more search keywords, and/or commands that Google Images recognizes.
 
*If the first parameter value is present, the template links to a Google Images search on the parameter value. Ordinarily the value would consist of one or more search keywords, and/or commands that Google Images recognizes.
*If the second parameter value is present, the template displays it as the link text.
+
*If the second parameter value is present, the template displays the value as the link text.
  
{{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. The template will produce an ugly messagebox warning if you attempt to use it in an article.}}
+
=== 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.}}
  
 
==Examples==
 
==Examples==

Revision as of 02:50, 18 February 2008

Usage

Creates a link to a Google Images search page. The template takes two optional input parameters:

  • With no parameter values, the template links to a Google Images search for the name of the current page (specifically to the value of the SUBPAGENAME magic word for the current page).
  • If the first parameter value is present, the template links to a Google Images search on the parameter value. Ordinarily the value would consist of one or more search keywords, and/or commands that Google Images recognizes.
  • If the second parameter value is present, the template displays the value as the link text.

Do not use in articles

Examples

Type this To get this What it produces, or searches for
{{google images}} doc Search Google images for the title of the page containing the template
{{google images|teratorn}} teratorn Search Google Images for "teratorn"
{{google images|teratorn|Search Google Images for: teratorn}} Search Google Images for: teratorn Displays some user-specified link text

See also