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 - "<!--T:(.*)-->" to "") |
||
Line 8: | Line 8: | ||
prefix={{{subpages|{{{work|{{FULLPAGENAME}}}}}}}} | prefix={{{subpages|{{{work|{{FULLPAGENAME}}}}}}}} | ||
width=50 | width=50 | ||
− | searchbuttonlabel= | + | searchbuttonlabel= Search in {{<tvar|1>#if:{{{1|}}}|{{{1}}}</>|this work}} |
}} | }} | ||
| #default= | | #default= |
Revision as of 14:25, 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}}