Template:Google
From MozillaWiki
Google search for "{{{1}}}"
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 |
The above documentation is transcluded from Template:Google/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |