Difference between revisions of "Template:Engine"
Jump to navigation
Jump to search
Template documentation
Joelmartin (talk | contribs) m (1 revision imported) |
Joelmartin (talk | contribs) m (Text replacement - "<translate>" to "") |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<languages/> | <languages/> | ||
− | </noinclude>{{#switch: | + | </noinclude>{{#switch:</translate> |
| = | | = | ||
{{#tag:inputbox | | {{#tag:inputbox | | ||
Line 8: | Line 8: | ||
prefix={{{subpages|{{{work|{{FULLPAGENAME}}}}}}}} | prefix={{{subpages|{{{work|{{FULLPAGENAME}}}}}}}} | ||
width=50 | width=50 | ||
− | searchbuttonlabel= | + | searchbuttonlabel=<!--T:1--> Search in {{<tvar|1>#if:{{{1|}}}|{{{1}}}</>|this work}}</translate> |
}} | }} | ||
| #default= | | #default= |
Revision as of 03:31, 21 December 2019

Usage
The first parameter will change the "search in" text. For example:
{{engine|these pages}}
Produces:
Also, the optional |work
parameter sets the page (and subpages) to be searched. Default is the current page and its subpages.
{{engine|MediaWiki 1.23|subpages=MediaWiki 1.23}}