Difference between revisions of "Template:Find"
m |
|||
Line 1: | Line 1: | ||
− | {{#form:name=findForm| | + | {{#form:name=findForm|class=find| |
− | |||
− | |||
{{#input:name=title|type=hidden}} | {{#input:name=title|type=hidden}} | ||
{{#input: | {{#input: | ||
Line 9: | Line 7: | ||
onClick = findForm.findInput.value = ''; | onClick = findForm.findInput.value = ''; | ||
}} | }} | ||
− | |||
{{#input: | {{#input: | ||
type = image | type = image | ||
Line 18: | Line 15: | ||
else findForm.content = '{{#dpl:'+findForm.findInput+'}}'; | else findForm.content = '{{#dpl:'+findForm.findInput+'}}'; | ||
}} | }} | ||
− | |||
{{#input: | {{#input: | ||
type = image | type = image | ||
Line 26: | Line 22: | ||
|onClick = (findForm.action='/wiki/index.php') && (findForm.fulltext = findForm.findInput) && (findForm.title = 'Special:Search') | |onClick = (findForm.action='/wiki/index.php') && (findForm.fulltext = findForm.findInput) && (findForm.title = 'Special:Search') | ||
}} | }} | ||
− | |||
{{#input: | {{#input: | ||
type = image | type = image | ||
Line 34: | Line 29: | ||
|onClick = (findForm.action='http://en.wikipedia.org/wiki/index.php') && (findForm.title = findForm.findInput) | |onClick = (findForm.action='http://en.wikipedia.org/wiki/index.php') && (findForm.title = findForm.findInput) | ||
}} | }} | ||
− | |||
{{#input: | {{#input: | ||
type = image | type = image | ||
Line 42: | Line 36: | ||
|onClick = (findForm.action='http://www.google.com/search') && (findForm.q = findForm.findInput) | |onClick = (findForm.action='http://www.google.com/search') && (findForm.q = findForm.findInput) | ||
}} | }} | ||
− | |||
}} | }} |
Revision as of 03:45, 11 June 2007
{{#form:name=findForm|class=find| {{#input:name=title|type=hidden}} {{#input: name = findInput type = text value = Title or DPL-query onClick = findForm.findInput.value = ; }} {{#input: type = image |src = /www/images/1/1b/Go-icon.png |alt = Title or DPL-query |title = Title or DPL-query |onClick = if (findForm.findInput.indexOf('=')<0) findForm.title = findForm.findInput;
else findForm.content = '
Extension:DynamicPageList (DPL), version 3.3.3: Warning: No parameter option supplied for +findForm.findInput+. (Missing '=')
Extension:DynamicPageList (DPL), version 3.3.3: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants
Extension:DynamicPageList (DPL), version 3.3.3: Warning: No results.
';
}} {{#input: type = image |src = /www/images/1/14/Search-icon.png |alt = Full text search |title = Full text search |onClick = (findForm.action='/wiki/index.php') && (findForm.fulltext = findForm.findInput) && (findForm.title = 'Special:Search') }} {{#input: type = image |src = /www/images/4/4f/Favicon_pedia.png |alt = Wikipedia |title = Wikipedia |onClick = (findForm.action='http://en.wikipedia.org/wiki/index.php') && (findForm.title = findForm.findInput) }} {{#input: type = image |src = /www/images/3/3a/Favicon_google.png |alt = Google |title = Google |onClick = (findForm.action='http://www.google.com/search') && (findForm.q = findForm.findInput) }} }}