ढाँचा:Search box

विकिपिडिया, एक स्वतन्त्र विश्वकोशबाट

The {{search box}} template may be used to add an input box to let the user search a set of pages, for example archived Talk pages, or user subpages, or any wikipedia pages in any namespace. This template is usable from any wikipedia namespace page and can search pages in any other namespace.

Usage[सम्पादन गर्नुहोस्]

{{search box
 |root= /
 |search-break=<yes|no>
 |search-width=number
 |search-button-label=text
}}


Parameters[सम्पादन गर्नुहोस्]

root
|root=User talk:Example/Archives will search in pages starting with User talk:Example/Archives. The default is the current page name folllowed by "/". Another example: |root=User:MyUser will search in all subpages starting with "User:MyUser".
search-break
search-break=yes 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".

Examples[सम्पादन गर्नुहोस्]

{{search box |root=Wikipedia:FAQ |search-button-label=Search the FAQ}}

produces:

Example 2:

{{search box
 |root=User:84User
 |search-break=no
 |search-width=22
 |search-button-label=Search 84user's pages
}}

produces:

Examples[सम्पादन गर्नुहोस्]

{{search box |root=Wikipedia:FAQ |search-button-label=Search the FAQ}}

produces:

Example 2:

{{search box
 |root=User:84User
 |search-break=no
 |search-width=22
 |search-button-label=Search 84user's pages
}}

produces: