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

Content deleted Content added
imported>84user
छो porting commons:Template:search box to wikipedia
 
imported>84user
लाइन 10:
</div><noinclude>
 
The <code><nowiki>{{search box}}</nowiki></code> 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 ===
लाइन 27:
;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===
<pre>{{search box |root=Wikipedia:FAQ |search-button-label=Search the FAQ}}
</pre> produces: {{search box |root=Wikipedia:FAQ |search-button-label=Search the FAQ}}
 
Example 2:
<pre>
{{search box
|root=User:84User
|search-break=no
|search-width=22
|search-button-label=Search 84user's pages
}}
</pre> produces: {{search box
|root=User:84User
|search-break=no
|search-width=44
|search-button-label=Search User:84user's pages
}}
 
===See also===
* [[:commons:Template:search box]] - Wikimedia Commons template that does the same thing
* [[:en:Template:archive box]] - English wikipedia template that inspired the Commons one
 
[[Category:User namespace templates]]
[[Category:Wikipedia utility templates]]
[[Category:Wikipedia tools]]
</noinclude>