Template:Google/doc
Appearance
This template is used on approximately 2,600 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This is a documentation subpage for Template:Google. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]Creates a Google search link for the supplied term. By default, the search link is for the name of the page it is put on, if no term is provided. It is strongly recommended (but not required) that you SUBST: this template.
Do not use in articles
[edit]Do not use this template in articles (as Google search links are not appropriate in articles). The template is only for talk pages and other process pages (Help desk, WikiProjects, etc.). The template will produce an error if you attempt to use it in an article. |
Verbatim searches
[edit]To link to a Google "verbatim" search (which keeps Google from guessing alternate spellings), add the named argument verbatim with any value other than whitespace.
Examples
[edit]Type this | To get this | What it searches for |
---|---|---|
{{subst:google}} | doc | Pages with the phrase "Google", because the name of this page that you are reading is "Template:Google" |
{{subst:google|Godzilla}} | Godzilla | Pages with the term "Godzilla". |
{{subst:google|Godzilla Rodan}} | Godzilla Rodan | Pages which contain "Godzilla" and "Rodan". |
{{subst:google|Godzilla Rodan|verbatim=1}} | Godzilla Rodan | Pages which contain "Godzilla" and "Rodan", and excluding pages that Google might otherwise think you were interested in because they contain "Roman" instead of "Rodan". |
{{subst:google|"Godzilla Movie"}} | "Godzilla Movie" | Pages with the phrase "Godzilla Movie". |
{{google|1 pound in kilograms {{=}}}} | 1 pound in kilograms = | Use Template:= to add an = sign to trigger Google Calculator when necessary; that template cannot be substituted. |
{{google|1 pound in kilograms}} | 1 pound in kilograms | Google may display Calculator results for some expressions even if they lack a trailing equals sign. |
Site-specific search
[edit]You can use the site:
parameter to search on a specific Web site. You may prefer {{Google custom}} or {{Google Wikipedia}} because they yield a cleaner search form, without the site:
parameter cluttering the input field.
Type this | To get this | What it searches for |
---|---|---|
{{google|site:en.wikipedia.org}} | site:en.wikipedia.org | Search the English Wikipedia with the standard Google search form |
{{google custom|en.wikipedia.org||Search Wikipedia}} | Search Wikipedia | Blank form to search the English Wikipedia |
{{google Wikipedia||}} | Search Wikipedia with Google | Blank form to search the English Wikipedia |
See also
[edit]- {{Google}}
- {{Google books}}
- {{Google custom}}
- {{Google help desk}}
- {{Google images}}
- {{Google LC}} (Google—excluding Language, Country)
- {{Search for}}
- {{Find sources}}
- {{Google scholar}}
- {{Google Scholar ID}} - for individual profiles
- {{Google trends}}
- {{Google translation}}
- {{Google Wikipedia}}
- {{Help desk searches}}
- {{Translate wikipedia}}
- {{HD/GKG}} - for people asking about the information in a Google search, the Google Knowledge Graph