Difference between revisions of "Template:Engine"

From RobotX
Jump to navigation Jump to search
m (Text replacement - "</>" to "")
m (Text replacement - "<tvar|1>" to "")
 
Line 8: Line 8:
 
prefix={{{subpages|{{{work|{{FULLPAGENAME}}}}}}}}
 
prefix={{{subpages|{{{work|{{FULLPAGENAME}}}}}}}}
 
width=50
 
width=50
searchbuttonlabel= Search in {{<tvar|1>#if:{{{1|}}}|{{{1}}}|this work}}
+
searchbuttonlabel= Search in {{#if:{{{1|}}}|{{{1}}}|this work}}
 
}}
 
}}
 
| #default=
 
| #default=

Latest revision as of 18:02, 21 December 2019


Template documentation

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}}