Template:Google Wikipedia/doc

Usage
Creates a Google custom search link, which searches the English Wikipedia (except for the Talk: namespace, which Google does not index). This template takes two unnamed input parameters; both are optional:


 * 1) Your search term(s) (optional.) If this parameter is empty, clicking on the resulting link generates a Google search form with an initially blank input field, ready to search the English Wikipedia.
 * 2) Link text to display on your wiki page (optional). If this parameter is empty, the template displays a link, with the link text:
 * 3) * If you specified a search string:
 * 4) ** Search Wikipedia with Google for: search string
 * 5) * If you did not specify a search string:
 * 6) ** Search Wikipedia with Google

This template is useful for searching Wikipedia with Google, using a simpler syntax than other methods in Help:Search and Searching.

Lineage
This template is a cut-down instance of the more general Google custom template. You may wish to make similar templates if you need to create repetitive links to other portions of Wikipedia that Google custom can search. This saves much typing compared to using Google custom for each link.