Share your knowledge & experience! Help fill out the pages.
Email your content and we'll help.

New: Report on the Collision between USS FITZGERALD (DDG62) and Motor Vessel ACX CRYSTAL

Help:External searches

From Wikisea
Jump to: navigation, search
PD {{{text}}}|Important note: 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 {{ #ifeq:
 Wikisea
MediaWiki Public Domain Help Pages 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 {{ #ifeq:

 Wikisea
MediaWiki Project:PD help/Copying 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:

<lesser thanspan style="border: 1px solid #CCD5DB;">greater than[[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>

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

It is also possible to do phrases by using %percent22Term1+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.

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:
* <code>{{Google|Term1 Term2 Term3}}</code>
* <code>{{Google|"a phrase"}}</code>
[[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.

{{#if:{{#switch:External searches |=Languages: |Languages=Languages: |MediaWiki=Languages: |af=Taal: |aln=Gjuha: |am=ቋምቋ፦ |an=Idioma: |ang=Sprǣc: |ar=:اللغة |arc=ܠܫܢܐ: |arn=Dungun: |arz=:اللغة |as=ভাষা: |ast=Llingua: |avk=Ava: |ay=Aru: |az=Dil: |bat-smg=Kalba: |bcc=:زبان |bcl=Tataramon: |be=Мова: |be-tarask=Мова: |bg=Език: |bn=ভাষা: |br=Yezh : |bs=Jezik: |ca=Llengua: |cdo=Ngṳ̄-ngiòng: |ce=Мотт: |ceb=Pinulongan: |ch=Lengguahe: |ckb-arab=:زمان |co=Lingua: |crh-cyrl=Тиль: |crh-latn=Til: |cs=Jazyk: |cu=ѩꙁꙑ́къ : |cv=Чĕлхе: |cy=Iaith: |da=Sprog: |de=Sprache: |diq=Zıwan: |dsb=Rěc: |ee=Gbe: |el=Γλώσσα: |en=Language: |eo=Lingvo: |es=Idioma: |et=Keel: |eu=Hizkuntza: |ext=Palra: |fa=:زبان |fi=Kieli: |fo=Mál: |fr=Langue: |frc=Langue: |frp=Lengoua: |fur=Lenghe: |fy=Taal: |ga=Teanga: |gag=Dil: |gan-hans=语言: |gan-hant=語言: |gl=Lingua: |gn=Ñe'ẽ: |got=Razda: |grc=Γλῶσσα: |gsw=Sproch: |gu=ભાષા: |gv=Çhengey: |hak=Ngî-ngièn: |haw=Kou 'ōlelo: |he=שפה: |hi=भाषा: |hif-latn=Bhasa: |hr=Jezik: |hsb=Rěč: |ht=Lang: |hu=Nyelv: |hy=Լեզու. |ia=Lingua: |id=Bahasa: |ie=Lingue: |ilo=Lengguahe: |io=Linguo: |is=Tungumál: |it=Lingua: |ja=言語: |jv=Basa: |ka=ენა: |kaa=Til: |kab=Tutlayt: |kg=Ndinga: |kiu=Zon: |kk-arab=:ٴتىل |kk-cyrl=Тіл: |kk-latn=Til: |km=ភាសា៖ |kn=ಭಾಷೆ: |ko=언어: |ksh=Sproch: |ku-latn=Ziman: |kv=Кыв: |kw=Yeth: |ky=Тил: |la=Lingua: |lb=Sprooch: |lfn=Lingua: |li=Taol: |lij=Lengoa: |loz=Zwa Siselect: |lt=Kalba: |lv=Valoda: |lzh=語: |mdf=Кяль: |mg=fiteny: |mhr=Йылме: |mk=Јазик: |ml=ഭാഷ: |mn=Хэл: |mr=भाषा: |ms=Bahasa: |mt=Lingwa: |mwl=Lhéngua: |my=ဘာသာ: |myv=Кель: |nah=Tlahtōlli: |nap=Lengua: |nds=Spraak: |nds-nl=Taal: |ne=भाषा: |new=भाषा: |nl=Taal: |nn=Språk: |no=Språk: |nso=Polelo: |oc=Lenga: |os=Æвзаг: |pa=ਭਾਸ਼ਾ: |pam=Amanu: |pdc=Schprooch: |pdt=Sproak: |pl=Język: |pms=Lenga: |pnb=بولی: |pnt=Γλώσσαν: |prg=Bilā: |ps=ژبه: |pt|pt-br=Língua: |qu=Rimay: |rm=Lingua: |ro=Limba: |roa-tara=Lénga: |ru=Язык: |sa=भाषा: |sah=Омугун тыла: |sc=Limba: |scn=Lingua: |sco=Leid: |sdc=Linga: |se=Giella: |sei=Itom: |sh=Jezik: |shi=tutlayt: |si=භාෂාව: |sk=Jazyk: |sl=Jezik: |sli=Sproache: |so=Luqada: |sq=Gjuha: |sr-ec=Језик: |sr-el=Jezik: |srn=Tongo: |ss=Lúlwîmi: |stq=Sproake: |su=Basa: |sv=Språk: |sw=Lugha: |szl=Godka: |ta=மொழி: |te=భాష: |tet=Lian: |tg-cyrl=Забон: |th=ภาษา: |ti=ቋንቋ: |tk=Dil: |tl=Wika: |to=Lea: |tr=Dil: |tt-cyrl=Тел: |tyv=Дыл: |ug-arab=:تىل |ug-latn=Til: |uk=Мова: |vec=Lengua: |vep=Kel’: |vi=Ngôn ngữ: |vo=Pük: |vro=Kiil: |wa=Lingaedje: |war=Yinaknan: |wo=Làkk: |wuu=语言: |xal=Келн: |xh=Ulwimi: |xmf=ნინა: |yi=שפראך: |yo=Èdè: |yue=語言: |zea=Taele: |zh-hans=语言: |zh-hant=語言: |zu=Ulimi: |#default=Language: }} | |

}}

{{#switch:External searches |=Languages: |Languages=Languages: |MediaWiki=Languages: |af=Taal: |aln=Gjuha: |am=ቋምቋ፦ |an=Idioma: |ang=Sprǣc: |ar=:اللغة |arc=ܠܫܢܐ: |arn=Dungun: |arz=:اللغة |as=ভাষা: |ast=Llingua: |avk=Ava: |ay=Aru: |az=Dil: |bat-smg=Kalba: |bcc=:زبان |bcl=Tataramon: |be=Мова: |be-tarask=Мова: |bg=Език: |bn=ভাষা: |br=Yezh : |bs=Jezik: |ca=Llengua: |cdo=Ngṳ̄-ngiòng: |ce=Мотт: |ceb=Pinulongan: |ch=Lengguahe: |ckb-arab=:زمان |co=Lingua: |crh-cyrl=Тиль: |crh-latn=Til: |cs=Jazyk: |cu=ѩꙁꙑ́къ : |cv=Чĕлхе: |cy=Iaith: |da=Sprog: |de=Sprache: |diq=Zıwan: |dsb=Rěc: |ee=Gbe: |el=Γλώσσα: |en=Language: |eo=Lingvo: |es=Idioma: |et=Keel: |eu=Hizkuntza: |ext=Palra: |fa=:زبان |fi=Kieli: |fo=Mál: |fr=Langue: |frc=Langue: |frp=Lengoua: |fur=Lenghe: |fy=Taal: |ga=Teanga: |gag=Dil: |gan-hans=语言: |gan-hant=語言: |gl=Lingua: |gn=Ñe'ẽ: |got=Razda: |grc=Γλῶσσα: |gsw=Sproch: |gu=ભાષા: |gv=Çhengey: |hak=Ngî-ngièn: |haw=Kou 'ōlelo: |he=שפה: |hi=भाषा: |hif-latn=Bhasa: |hr=Jezik: |hsb=Rěč: |ht=Lang: |hu=Nyelv: |hy=Լեզու. |ia=Lingua: |id=Bahasa: |ie=Lingue: |ilo=Lengguahe: |io=Linguo: |is=Tungumál: |it=Lingua: |ja=言語: |jv=Basa: |ka=ენა: |kaa=Til: |kab=Tutlayt: |kg=Ndinga: |kiu=Zon: |kk-arab=:ٴتىل |kk-cyrl=Тіл: |kk-latn=Til: |km=ភាសា៖ |kn=ಭಾಷೆ: |ko=언어: |ksh=Sproch: |ku-latn=Ziman: |kv=Кыв: |kw=Yeth: |ky=Тил: |la=Lingua: |lb=Sprooch: |lfn=Lingua: |li=Taol: |lij=Lengoa: |loz=Zwa Siselect: |lt=Kalba: |lv=Valoda: |lzh=語: |mdf=Кяль: |mg=fiteny: |mhr=Йылме: |mk=Јазик: |ml=ഭാഷ: |mn=Хэл: |mr=भाषा: |ms=Bahasa: |mt=Lingwa: |mwl=Lhéngua: |my=ဘာသာ: |myv=Кель: |nah=Tlahtōlli: |nap=Lengua: |nds=Spraak: |nds-nl=Taal: |ne=भाषा: |new=भाषा: |nl=Taal: |nn=Språk: |no=Språk: |nso=Polelo: |oc=Lenga: |os=Æвзаг: |pa=ਭਾਸ਼ਾ: |pam=Amanu: |pdc=Schprooch: |pdt=Sproak: |pl=Język: |pms=Lenga: |pnb=بولی: |pnt=Γλώσσαν: |prg=Bilā: |ps=ژبه: |pt|pt-br=Língua: |qu=Rimay: |rm=Lingua: |ro=Limba: |roa-tara=Lénga: |ru=Язык: |sa=भाषा: |sah=Омугун тыла: |sc=Limba: |scn=Lingua: |sco=Leid: |sdc=Linga: |se=Giella: |sei=Itom: |sh=Jezik: |shi=tutlayt: |si=භාෂාව: |sk=Jazyk: |sl=Jezik: |sli=Sproache: |so=Luqada: |sq=Gjuha: |sr-ec=Језик: |sr-el=Jezik: |srn=Tongo: |ss=Lúlwîmi: |stq=Sproake: |su=Basa: |sv=Språk: |sw=Lugha: |szl=Godka: |ta=மொழி: |te=భాష: |tet=Lian: |tg-cyrl=Забон: |th=ภาษา: |ti=ቋንቋ: |tk=Dil: |tl=Wika: |to=Lea: |tr=Dil: |tt-cyrl=Тел: |tyv=Дыл: |ug-arab=:تىل |ug-latn=Til: |uk=Мова: |vec=Lengua: |vep=Kel’: |vi=Ngôn ngữ: |vo=Pük: |vro=Kiil: |wa=Lingaedje: |war=Yinaknan: |wo=Làkk: |wuu=语言: |xal=Келн: |xh=Ulwimi: |xmf=ნინა: |yi=שפראך: |yo=Èdè: |yue=語言: |zea=Taele: |zh-hans=语言: |zh-hant=語言: |zu=Ulimi: |#default=Language: }} English {{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/af |  • {{#if: |Afrikaans| Afrikaans}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/ar |  • {{#if: |العربية| العربية}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/ast |  • {{#if: |asturianu| asturianu}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/az |  • {{#if: |azərbaycanca| azərbaycanca}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/bcc |  • {{#if: |جهلسری بلوچی| جهلسری بلوچی}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/bg |  • {{#if: |български| български}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/br |  • {{#if: |brezhoneg| brezhoneg}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/ca |  • {{#if: |català| català}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/cs |  • {{#if: |čeština| čeština}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/da |  • {{#if: |dansk| dansk}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/de |  • {{#if: |Deutsch| Deutsch}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/diq |  • {{#if: |Zazaki| Zazaki}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/el |  • {{#if: |Ελληνικά| Ελληνικά}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/eo |  • {{#if: |Esperanto| Esperanto}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/es |  • {{#if: |español| español}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/fa |  • {{#if: |فارسی| فارسی}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/fi |  • {{#if: |suomi| suomi}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/fr |  • {{#if: |français| français}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/gl |  • {{#if: |galego| galego}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/gu |  • {{#if: |ગુજરાતી| ગુજરાતી}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/he |  • {{#if: |עברית| עברית}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/hu |  • {{#if: |magyar| magyar}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/id |  • {{#if: |Bahasa Indonesia| Bahasa Indonesia}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/it |  • {{#if: |italiano| italiano}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/ja |  • {{#if: |日本語| 日本語}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/ka |  • {{#if: |ქართული| ქართული}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/kmKilometre, 1000 metres |  • {{#if: |ភាសាខ្មែរ| ភាសាខ្មែរ}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/ko |  • {{#if: |한국어| 한국어}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/ksh |  • {{#if: |Ripoarisch| Ripoarisch}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/kw |  • {{#if: |kernowek| kernowek}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/mk |  • {{#if: |македонски| македонски}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/mlMililitre |  • {{#if: |മലയാളം| മലയാളം}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/mr |  • {{#if: |मराठी| मराठी}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/ms |  • {{#if: |Bahasa Melayu| Bahasa Melayu}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/nl |  • {{#if: |Nederlands| Nederlands}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/no |  • {{#if: |norsk bokmål| norsk bokmål}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/oc |  • {{#if: |occitan| occitan}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/pl |  • {{#if: |polski| polski}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/pt |  • {{#if: |português| português}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/pt-br |  • {{#if: |português do Brasil| português do Brasil}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/ro |  • {{#if: |română| română}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/ru |  • {{#if: |русский| русский}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/si |  • {{#if: |සිංහල| සිංහල}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/sk |  • {{#if: |slovenčina| slovenčina}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/sl |  • {{#if: |slovenščina| slovenščina}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/sq |  • {{#if: |shqip| shqip}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/sr |  • {{#if: |српски / srpski| српски / srpski}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/sv |  • {{#if: |svenska| svenska}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/ta |  • {{#if: |தமிழ்| தமிழ்}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/th |  • {{#if: |ไทย| ไทย}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/tr |  • {{#if: |Türkçe| Türkçe}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/uk |  • {{#if: |українська| українська}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/vi |  • {{#if: |Tiếng Việt| Tiếng Việt}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/yue |  • {{#if: |粵語| 粵語}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/zh |  • {{#if: |中文| 中文}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/zh-hans |  • {{#if: |中文(简体)‎| 中文(简体)‎}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/zh-hant |  • {{#if: |中文(繁體)‎| 中文(繁體)‎}}|}}{{#ifexist: {{#if: | | {{#if: Help | Help:}}External searches}}/zh-tw |  • {{#if: |中文(台灣)‎| 中文(台灣)‎}}|}}