टेम्पलेट:Search box: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
imported>Heymid
छो Making it so that the "/" in the prefix name can be removed if a user wants to
imported>Heymid
→‎Parameters: +noslash parameter
लाइन 24:
===Parameters===
;root: <tt><nowiki>|root=User talk:Example/Archives</nowiki></tt> will search in pages starting with User talk:Example/Archives. The default is the current page name folllowed by "/". Another example: <tt><nowiki>|root=User:MyUser</nowiki></tt> will search in all subpages starting with "User:MyUser".
; search-break: <tt><nowiki>search-break=yes</nowiki></tt> will insert a break between the search bar and search button. The default is no.
;search-width: can be used to change the width of the text field, in characters. The default is 22, which fits the search bar with the default box width. Note: this is a bare number with no units.
;search-button-label: can be used to change the text on the search button. The default is "Search".
;noslash: By default, after the "root" parameter, there is a "/". If you don't want that slash in the end of the prefix name, you can use <tt><nowiki>noslash=yes</nowiki></tt>.
 
===Examples===