Difference between revisions of "Template:Find"

From Organic Design wiki
(try this one)
(revert to the original version)
Line 15: Line 15:
 
|src    = /files/1/14/Search-icon.png
 
|src    = /files/1/14/Search-icon.png
 
|alt    = Full text search
 
|alt    = Full text search
|onClick = document.forms.findForm.action='/Special:Search?ns0=1&ns9=1&ns11=1&searchx=Search&search='+document.getElementById('input').value;
+
|onClick = findForm.action='/Special:Search/'+document.getElementById('input').value;
 
}}{{#input:
 
}}{{#input:
 
type    = image
 
type    = image

Revision as of 07:08, 16 September 2007

{{#form:name=findForm|class=find|action=/wiki/index.php|

Find articles (more...)

{{#input:name=content|id=query|type=hidden}} {{#input:name=search|type=hidden}} {{#input:name=q|id=q|type=hidden}} {{#input:name=pagename|type=hidden|value=Search results}} {{#input:name=go|id=input|type=text|value={{#request:go}}}} {{#input: type = image |src = /files/1/1b/Go-icon.png |alt = Title or DPL-query |onClick = var input = document.getElementById('input').value;findForm.action = '/wiki/index.php';if (0>input.indexOf('=')) input='titlematch='+input;document.getElementById('query').setAttribute('value','{'+'{#dpl:'+input+'}'+'}'); }}{{#input: type = image |src = /files/1/14/Search-icon.png |alt = Full text search |onClick = findForm.action='/Special:Search/'+document.getElementById('input').value; }}{{#input: type = image |src = /files/4/4f/Favicon_pedia.png |alt = Wikipedia |onClick = findForm.action='http'+'://en.wikipedia.org/wiki/'+document.getElementById('input').value; }}{{#input: type = image |src = /files/3/3a/Favicon_google.png |alt = Google |onClick = findForm.action='http'+'://google.com/search';document.getElementById('q').setAttribute('value',document.getElementById('input').value); }} }}