Template talk:WikiGoogle

From Meta, a Wikimedia project coordination wiki

Example of searching for a phrase:

{{WikiGoogle|nederlandse+spoorwegen}} gives nederlandse+spoorwegen which is a search for "nederlandse spoorwegen"

A blank space or underscore do not work properly:

{{WikiGoogle|nederlandse spoorwegen}} gives spoorwegen%20site:wikimedia.org%20OR%20site:wikipedia.org%20OR%20site:wiktionary.org%20OR%20site:wikibooks.org%20OR%20site:wikinews.org%20OR%20site:wikisource.org%20-site:mail.wikipedia.org%20-site:mail.wikimedia.org nederlandse spoorwegen

(searches for first word only), while

{{WikiGoogle|nederlandse_spoorwegen}} gives nederlandse_spoorwegen

(searches for phrase with underscore, mainly page titles)

I created the {{WikiGoogleN}} template for named links. Using {{WikiGoogleN|nederlandse+spoorwegen|nederlandse spoorwegen}} gives nederlandse spoorwegen as expected. Sam Hocevar 17:37, 17 Dec 2004 (UTC)
Also, to search for the full phrase, use {{WikiGoogleN|%22nederlandse+spoorwegen%22|nederlandse spoorwegen}}: nederlandse spoorwegen. Sam Hocevar 17:42, 17 Dec 2004 (UTC)