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