Difference between revisions of "Template:Google trends/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zodon
(→‎Examples: add example using second parameter)
imported>Zodon
(→‎Examples: another example - can use several different terms, can have spaces in terms)
Line 25: Line 25:
 
|-
 
|-
 
| <tt><nowiki>{{subst:google trends|Godzilla, Rodan| search trend: Godzilla vs. Rodan}}</nowiki></tt> || {{google trends|Godzilla, Rodan|search trend: Godzilla vs. Rodan}} || Searches for "Godzilla" and searches for "Rodan".  Changes link name to "search trend: Godzilla vs. Rodan".
 
| <tt><nowiki>{{subst:google trends|Godzilla, Rodan| search trend: Godzilla vs. Rodan}}</nowiki></tt> || {{google trends|Godzilla, Rodan|search trend: Godzilla vs. Rodan}} || Searches for "Godzilla" and searches for "Rodan".  Changes link name to "search trend: Godzilla vs. Rodan".
 +
|-
 +
| <tt><nowiki>{{subst:google trends|Godzilla, Rodan, Dalek, babel fish}}</nowiki></tt> || {{google trends|Godzilla, Rodan, Dalek, babel fish}} || Searches for "Godzilla," searches for "Rodan", searches for "Dalek", and searches for "babel fish".
 
|}
 
|}
  

Revision as of 07:29, 23 March 2009

Usage

Creates a Google trends search link for the supplied term(s). 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.

Search for multiple terms by separating them with commas.

Displays the terms(s) to search for, or use optional second parameter to display something else.

Do not use in articles

Examples

Type this To get this What it searches for
{{subst:google trends}} doc Searches for the phrase "Google trends", because the name of this page that you are reading is "Template:Google trends"
{{subst:google trends|Godzilla}} Godzilla Searches for the term "Godzilla".
{{subst:google trends|Godzilla, Rodan}} Godzilla, Rodan Searches for "Godzilla" and searches for "Rodan".
{{subst:google trends|Godzilla, Rodan| search trend: Godzilla vs. Rodan}} search trend: Godzilla vs. Rodan Searches for "Godzilla" and searches for "Rodan". Changes link name to "search trend: Godzilla vs. Rodan".
{{subst:google trends|Godzilla, Rodan, Dalek, babel fish}} Godzilla, Rodan, Dalek, babel fish Searches for "Godzilla," searches for "Rodan", searches for "Dalek", and searches for "babel fish".

See also