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

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Jonesey95
m (Fix Linter errors using AutoEd)
 
Line 18: Line 18:
 
! width=320px | Type this !! width=130px | To get this !! What it searches for
 
! width=320px | Type this !! width=130px | To get this !! What it searches for
 
|-
 
|-
| <tt><nowiki>{{subst:google trends}}</nowiki></tt> || {{google trends}} || Searches for the phrase "Google trends", because the name of this page that you are reading is "Template:''Google trends''"
+
| <code><nowiki>{{subst:google trends}}</nowiki></code> || {{google trends}} || Searches for the phrase "Google trends", because the name of this page that you are reading is "Template:''Google trends''"
 
|-
 
|-
| <tt><nowiki>{{subst:google trends|Godzilla}}</nowiki></tt> || {{google trends|Godzilla}} || Searches for the term "Godzilla".
+
| <code><nowiki>{{subst:google trends|Godzilla}}</nowiki></code> || {{google trends|Godzilla}} || Searches for the term "Godzilla".
 
|-
 
|-
| <tt><nowiki>{{subst:google trends|Godzilla, Rodan}}</nowiki></tt> || {{google trends|Godzilla, Rodan}} || Searches for "Godzilla" and searches for "Rodan".
+
| <code><nowiki>{{subst:google trends|Godzilla, Rodan}}</nowiki></code> || {{google trends|Godzilla, Rodan}} || Searches for "Godzilla" and searches for "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".
+
| <code><nowiki>{{subst:google trends|Godzilla, Rodan| search trend: Godzilla vs. Rodan}}</nowiki></code> || {{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".
+
| <code><nowiki>{{subst:google trends|Godzilla, Rodan, Dalek, babel fish}}</nowiki></code> || {{google trends|Godzilla, Rodan, Dalek, babel fish}} || Searches for "Godzilla," searches for "Rodan", searches for "Dalek", and searches for "babel fish".
 
|}
 
|}
  

Latest revision as of 02:10, 3 June 2020

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