Difference between revisions of "Template:Search"
Jump to navigation
Jump to search
(need permission for this) |
(fixed OnePetro) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|datapages | |datapages | ||
|aapg datapages = <br />''in AAPG Datapages'' | |aapg datapages = <br />''in AAPG Datapages'' | ||
+ | |gsw | ||
+ | |geoscienceworld | ||
+ | |geoscience world = <br />''in GeoScienceWorld'' | ||
|spe | |spe | ||
|onepetro | |onepetro | ||
Line 17: | Line 20: | ||
|aapg datapages = | |aapg datapages = | ||
{{!}} [[File:Datapages_button.png|64px|link=http://archives.datapages.com/data/search.html?sp.fullDoc={{{1|{{urlencode:{{BASEPAGENAME}}}}}}}{{#if:{{{2|}}}|+{{{2|}}}|}}{{#if:{{{3|}}}|+{{{3|}}}|}}{{#if:{{{4|}}}|+{{{4|}}}|}}{{#if:{{{5|}}}|+{{{5|}}}|}}]] | {{!}} [[File:Datapages_button.png|64px|link=http://archives.datapages.com/data/search.html?sp.fullDoc={{{1|{{urlencode:{{BASEPAGENAME}}}}}}}{{#if:{{{2|}}}|+{{{2|}}}|}}{{#if:{{{3|}}}|+{{{3|}}}|}}{{#if:{{{4|}}}|+{{{4|}}}|}}{{#if:{{{5|}}}|+{{{5|}}}|}}]] | ||
+ | |gsw | ||
+ | |geoscienceworld | ||
+ | |geoscience world = | ||
+ | {{!}} [[File:GeoScienceWorld_button.png|64px|link=http://www.geoscienceworld.org/search?submit=yes&group-code=gsw&fulltext={{{1|{{urlencode:{{BASEPAGENAME}}}}}}}{{#if:{{{2|}}}|+{{{2|}}}|}}{{#if:{{{3|}}}|+{{{3|}}}|}}{{#if:{{{4|}}}|+{{{4|}}}|}}{{#if:{{{5|}}}|+{{{5|}}}|}}]] | ||
|spe | |spe | ||
|onepetro | |onepetro | ||
|spe onepetro = | |spe onepetro = | ||
− | {{!}} [[File:OnePetro_button.png|64px|link=http://www.onepetro.org | + | {{!}} [[File:OnePetro_button.png|64px|link=http://www.onepetro.org/search?q={{{1|{{urlencode:{{BASEPAGENAME}}}}}}}{{#if:{{{2|}}}|+{{{2|}}}|}}{{#if:{{{3|}}}|+{{{3|}}}|}}{{#if:{{{4|}}}|+{{{4|}}}|}}{{#if:{{{5|}}}|+{{{5|}}}|}}]] |
|google | |google | ||
|scholar | |scholar | ||
Line 27: | Line 34: | ||
| #default = | | #default = | ||
{{!}} [[File:Datapages_button.png|48px|link=http://archives.datapages.com/data/search.html?sp.fullDoc={{{1|{{urlencode:{{BASEPAGENAME}}}}}}}{{#if:{{{2|}}}|+{{{2|}}}|}}{{#if:{{{3|}}}|+{{{3|}}}|}}{{#if:{{{4|}}}|+{{{4|}}}|}}{{#if:{{{5|}}}|+{{{5|}}}|}}]] | {{!}} [[File:Datapages_button.png|48px|link=http://archives.datapages.com/data/search.html?sp.fullDoc={{{1|{{urlencode:{{BASEPAGENAME}}}}}}}{{#if:{{{2|}}}|+{{{2|}}}|}}{{#if:{{{3|}}}|+{{{3|}}}|}}{{#if:{{{4|}}}|+{{{4|}}}|}}{{#if:{{{5|}}}|+{{{5|}}}|}}]] | ||
− | {{!}} [[File:OnePetro_button.png|48px|link=http://www.onepetro.org | + | {{!}} [[File:GeoScienceWorld_button.png|48px|link=http://www.geoscienceworld.org/search?submit=yes&group-code=gsw&fulltext={{{1|{{urlencode:{{BASEPAGENAME}}}}}}}{{#if:{{{2|}}}|+{{{2|}}}|}}{{#if:{{{3|}}}|+{{{3|}}}|}}{{#if:{{{4|}}}|+{{{4|}}}|}}{{#if:{{{5|}}}|+{{{5|}}}|}}]] |
+ | {{!}} [[File:OnePetro_button.png|48px|link=http://www.onepetro.org/search?q={{{1|{{urlencode:{{BASEPAGENAME}}}}}}}{{#if:{{{2|}}}|+{{{2|}}}|}}{{#if:{{{3|}}}|+{{{3|}}}|}}{{#if:{{{4|}}}|+{{{4|}}}|}}{{#if:{{{5|}}}|+{{{5|}}}|}}]] | ||
{{!}} [[File:Google_button.png|48px|link=http://scholar.google.ca/scholar?q={{{1|{{urlencode:{{BASEPAGENAME}}}}}}}{{#if:{{{2|}}}|+{{{2|}}}|}}{{#if:{{{3|}}}|+{{{3|}}}|}}{{#if:{{{4|}}}|+{{{4|}}}|}}{{#if:{{{5|}}}|+{{{5|}}}|}}]] | {{!}} [[File:Google_button.png|48px|link=http://scholar.google.ca/scholar?q={{{1|{{urlencode:{{BASEPAGENAME}}}}}}}{{#if:{{{2|}}}|+{{{2|}}}|}}{{#if:{{{3|}}}|+{{{3|}}}|}}{{#if:{{{4|}}}|+{{{4|}}}|}}{{#if:{{{5|}}}|+{{{5|}}}|}}]] | ||
}} | }} | ||
|}</div><noinclude>{{Documentation}}</noinclude> | |}</div><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 11:37, 20 June 2014
Floats a search widget to the right of the page. By default the buttons link to search pages on AAPG Datapages, GeoScienceWorld, OnePetro, or Google Scholar. The default search text is the name of the page the widget appears on.
To use the widget in its default state, just add this to the page:
{{search}}
Options
You can select a search service (using the keyword parameter site), and select your own search words (using unnamed parameters):
{{search|site=AAPG|sequence|stratigraphy}}
Note that you cannot have spaces in the search text. Pass up to five words separated by pipe characters.
The above documentation is transcluded from Template:Search/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |