Get our free book (in Spanish or English) on rainwater now - To Catch the Rain.

Template:Google Wikipedia

From Appropedia
Jump to: navigation, search

Search Wikipedia with Google

[view] [edit] [history] [purge] Documentation icon Template documentation

Usage[edit]

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:
    • If you specified a search string:
      • Search Wikipedia with Google for: search string
    • If you did not specify a search string:
      • Search Wikipedia with Google

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

Examples[edit]

Type this To get this What it produces, or searches for
{{Google Wikipedia||}} Search Wikipedia with Google Blank form to search the English Wikipedia
{{Google Wikipedia}} Search Wikipedia with Google Delimiters are optional when both parameters are empty
{{Google Wikipedia||Search Wikipedia}} Search Wikipedia Display our own link text
{{Google Wikipedia|clear search history|}} Search Wikipedia with Google for: clear search history Search the English Wikipedia for the combination of three search terms
{{Google Wikipedia|"clear search history"|}} Search Wikipedia with Google for: "clear search history" Search the English Wikipedia for a phrase

Lineage[edit]

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.

See also[edit]

External links[edit]

Wikipedia
This page or section includes content from Wikipedia. The original article was at Template:Google Wikipedia. The list of authors can be seen in the history for that page. As with Appropedia, the text of Wikipedia is available under the CC-BY-SA.