Template:Wpsearch and Template:Wpsearch/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
Use HTTPS for Bing link to provide increased reader privacy/security |
no evidence of any ongoing bot issues |
||
Line 1: | Line 1: | ||
⚫ | |||
⚫ | {{#ifexist:{{{1}}} (disambiguation)|[[{{{1}}} (disambiguation)|{{{1}}}]]|{{#ifexist:{{{1}}}|[[{{{1}}}]]|{{{1}}} }} }} – <span class="plainlinks">[{{fullurl:Special:Search|search={{urlencode:{{{1|example phrase}}}}}&fulltext=Search}} Wikipedia search] {{!}} [https://www.google.com/search?q=site%3Aen.wikipedia.org+{{urlencode:{{{1|example phrase}}}}} Google search] {{!}} [ |
||
{{template sandbox notice}} |
|||
⚫ | |||
{{purgebox}} |
|||
{{documentation|content= |
|||
---- |
|||
{{info|1= |
|||
'''This template should not be used in articles (including on disambiguation pages).''' |
|||
}} |
|||
This template produces search links from search engines giving results of pages on English Wikipedia for the given input in the unnamed first parameter. |
|||
==Syntax== |
|||
<code><nowiki>{{wpsearch|example phrase}}</nowiki></code> |
|||
===Parameters=== |
|||
* {{param|1}} — <small> (MANDATORY) </small> Search term to search for |
|||
==Examples== |
|||
To search for the term "Wikipedia" |
|||
:{{tlx|wpsearch|Wikipedia}} |
|||
{{wpsearch|Wikipedia}} |
|||
To search for the term "Wikimedia" |
|||
:{{tlx|wpsearch|Wikimedia}} |
|||
{{wpsearch|Wikimedia}} |
|||
To search for the term "R + L = J" (or any similar term having an equals sign) |
|||
:{{tlx|wpsearch|2= 1= R + L = J}} |
|||
{{wpsearch|1= R + L = J}} |
|||
:<small> The <code>1=</code> is necessary to prevent a template error </small> |
|||
==See also== |
|||
* {{tl|search}} |
|||
* {{tl|search link}} |
|||
}} |
|||
[[Category:Search templates]] |
|||
</noinclude> |
</noinclude> |
||
⚫ | {{#ifexist:{{{1}}} (disambiguation)|[[{{{1}}} (disambiguation)|{{{1}}}]]|{{#ifexist:{{{1}}}|[[{{{1}}}]]|{{{1}}} }} }} – <span class="plainlinks">[{{fullurl:Special:Search|search={{urlencode:{{{1|example phrase}}}}}&fulltext=Search}} Wikipedia search] {{!}} [https://www.google.com/search?q=site%3Aen.wikipedia.org+{{urlencode:{{{1|example phrase}}}}} Google search] {{!}} [http://www.bing.com/search?q=site%3Aen.wikipedia.org+{{urlencode:{{{1|example phrase}}}}} Bing search] {{!}} [https://duckduckgo.com/?q=site%3Aen.wikipedia.org+{{urlencode:{{{1|example phrase}}}}} DuckDuckGo search] {{!}} [https://search.yahoo.com/search?p=site%3Aen.wikipedia.org+{{urlencode:{{{1|example phrase}}}}} Yahoo search] </span> |