Hilfe:External searches: Unterschied zwischen den Versionen

Aus Salzwiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
{{move|(new name to be decided)}}
{{move|(new name to be decided)}} {{PD Help Page}} It is possible to create an external searches of a topic using key words using a template.  
{{PD Help Page}}
It is possible to create an external searches of a topic using key words using a template.


For example, this is something that would work for Google:
For example, this is something that would work for Google:  
<pre><nowiki>
<pre>&lt;span style="border: 1px solid #CCD5DB;"&gt;[[Image:GoogleIcon.PNG]] [http://www.google.com/search?hl=en&amp;safe=off&amp;q={{{1|Wiki}}}&amp;btnG=Search&amp;meta= {{{1|Google}}}]&lt;/span&gt;
<span style="border: 1px solid #CCD5DB;">[[Image:GoogleIcon.PNG]] [http://www.google.com/search?hl=en&safe=off&q={{{1|Wiki}}}&btnG=Search&meta= {{{1|Google}}}]</span>
&lt;noinclude&gt;
<noinclude>
==Usage==
==Usage==
Allows to establish a link to a search query at the Google search engine:
Allows to establish a link to a search query at the Google search engine:
<div style="display:table; width:auto;"><pre>
&lt;div style="display:table; width:auto;"&gt;&lt;pre&gt;
{{Google|Term1+Term2+Term3}}
{{Google|Term1+Term2+Term3}}
&lt;/pre></div>
&lt;/pre&gt;&lt;/div&gt;
[[Category:Template|Google]]
[[Category:Template|Google]]
</noinclude></nowiki></pre>
&lt;/noinclude&gt;</pre>  
 
The usage is very simple and easy to use. <nowiki>{{Google|firstTerm+Second+etc}}</nowiki>  
The usage is very simple and easy to use. <nowiki>{{Google|firstTerm+Second+etc}}</nowiki>  


It is also possible to do phrases by using %22Term1+Term2+etc%22
It is also possible to do phrases by using&nbsp;%22Term1+Term2+etc%22  


*External searches are useful where an article requires certain keywords to make an effective search.
*External searches are useful where an article requires certain keywords to make an effective search.  
*For the editor it allows making searches of web more quickly and painlessly.
*For the editor it allows making searches of web more quickly and painlessly.


Other applications of the template include searching Forums, for bug reports of the same type for software development wikis where the wiki and forum work together.
Other applications of the template include searching Forums, for bug reports of the same type for software development wikis where the wiki and forum work together.  
 
Note: Wikipedia has an [[Help:Links#Interwiki_links|interwiki prefix]] with a similar effect, so you can link to google results with <nowiki>[[Google:firstTerm+Second+etc]]</nowiki>, although templates are still useful for linking other search engines.


Note: Wikipedia has an [[Hilfe:Links#Interwiki_links|interwiki prefix]] with a similar effect, so you can link to google results with <nowiki>[[Google:firstTerm+Second+etc]]</nowiki>, although templates are still useful for linking other search engines.


[[Category:Help|External Searches]]
[[Category:Help|External Searches]]
[[Category:Search]]

Version vom 10. März 2010, 13:25 Uhr

Datei:Merge-arrow.gif Move proposal : It has been suggested that this page be moved to a new name : '(new name to be decided)'.
Use the talk page to discuss this action.
PD Important note for authors: When you edit this page, you agree to release your contribution into the public domain. If you don't want this or can't do this because of license restrictions, please don't edit. This page is one of the Public Domain Help Pages, which can be freely copied into fresh wiki installations and/or distributed with MediaWiki software; see Help:Contents for an overview of all pages. See Project:PD help/Copying for instructions. PD
It is possible to create an external searches of a topic using key words using a template. 

For example, this is something that would work for Google:

<span style="border: 1px solid #CCD5DB;">[[Image:GoogleIcon.PNG]] [http://www.google.com/search?hl=en&safe=off&q={{{1|Wiki}}}&btnG=Search&meta= {{{1|Google}}}]</span>
<noinclude>
==Usage==
Allows to establish a link to a search query at the Google search engine:
<div style="display:table; width:auto;"><pre>
{{Google|Term1+Term2+Term3}}
</pre></div>
[[Category:Template|Google]]
</noinclude>

The usage is very simple and easy to use. {{Google|firstTerm+Second+etc}}

It is also possible to do phrases by using %22Term1+Term2+etc%22

  • External searches are useful where an article requires certain keywords to make an effective search.
  • For the editor it allows making searches of web more quickly and painlessly.

Other applications of the template include searching Forums, for bug reports of the same type for software development wikis where the wiki and forum work together.

Note: Wikipedia has an interwiki prefix with a similar effect, so you can link to google results with [[Google:firstTerm+Second+etc]], although templates are still useful for linking other search engines.