Template:Google

From MozillaWiki
Jump to: navigation, search

Google search for "{{{1}}}"

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

Usage

{{google}} creates a link to a Google search on the string you enter.

Parameters

Syntax

The template's syntax is

  • {{google|custom string}}

Required parameter

1

Search string

The string with the information you want to search. The parameter is unnamed, so no parameter name needs to be entered.

Note
  • The search string is automatically enclosed in double quotes, e.g. "search string". If you need to separate elements in the string, you'll have to break it up with internal double quotes.
Usage
  • {{google|custom string}}

Examples

Correct use

Case What you type What you see Notes
One string Mozilla Firefox YouTube}} Google search for "Mozilla Firefox on YouTube"
Three strings Mozilla Firefox" +YouTube -"help videos}} Google search for "Mozilla Firefox" +YouTube -"help videos" Notice the use of internal double quotes