도움말:내부 검색

This page is a translated version of the page Help:External searches and the translation is 32% complete.
Outdated translations are marked like this.
PD 주의사항: 이 문서를 편집하면 CC0에 따라 당신의 기여한 것을 배포하는 데 동의하는 것으로 간주됩니다. 자세한 내용은 퍼블릭 도메인 도움말 문서를 확인 하세요. PD

틀을 사용하고 키워드를 사용하여 한 주제의 외부 검색들을 생성하는 것이 가능합니다.

예를 들면, 다음은 구글에서 작동할 것입니다:

<span style="border: 1px solid #CCD5DB;">[[Image:GoogleIcon.PNG]] [http://www.google.com/search?safe=off&q={{{1|Wiki}}} {{{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>

사용법은 매우 간단하고 사용하기에 편합니다. {{Google|firstTerm+두 번째+etc.}}

을 사용하여 구문을 이용하는 것도 가능합니다. %22Term1+Term2+etc%22.

  • 외부 검색은 하나의 문서가 효과적인 검색을 하기 위하여 특정 키워드를 필요로 할 때 유용합니다.
  • 편집자에게는 웹의 검색을 보다 더 빠르고 용이하게 만듭니다.
  • For the editor it allows making searches of web more quickly and painlessly.

틀의 다른 적용사례는 포럼들을 검색하는 것을 포함합니다, 이는 위키와 포럼을 같이 사용하는 소프트웨어 개발에서 위키의 같은 종류의 버그의 보고서를 위한 것입니다.

Using interwiki prefixes

비록 틀을 이용하는 것이 다른 검색 엔진들을 연결하는데 여전히 유용하긴 하지만, 위키피디아는 인터위키 접두어 와 유사한 효과를 가지고 있으므로, 구글 결과를 $code1:firstTerm+Second+etc$code2 로 연결할 수 있습니다.

For a clear advantage of implementing a template over the default Google interwiki prefix, consider the following, modified example:

<span style="border: 1px solid #CCD5DB;">[[Image:GoogleIcon.PNG]] [http://www.google.com/search?safe=off&q={{urlencode:{{{1|Wiki}}}}} {{{1|Google}}}]</span>
<noinclude>
== Usage ==
Allows to establish a link to a search query at the Google search engine:
* {{Google|Term1 Term2 Term3}}
* {{Google|"a phrase"}}
[[Category:Template|Google]]
</noinclude>

Note the application of MediaWiki magic word urlencode. This grants us the convenience and elegance of entering the query string in a Wikipedia article in the same literal form we would enter it in Google search box, including spaces and quotation marks instead of representing them indirectly with + and %20.