Jump to content

සැකිල්ල:Search box/උපදෙස්

Wikibooks වෙතින්

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 Wikibooks pages in any namespace. This template is usable from any page and can search pages in any namespace.

භාවිතය

[සංස්කරණය]
{{search box
 |root= /
 |break=<yes|no>
 |width=number
 |label=text
}}
root
|root=User talk:Example/Archives will search in pages starting with User talk:Example/Archives. The default is the current page name. Another example: |root=User:MyUser will search in all subpages starting with "User:MyUser".
break
break=yes will insert a break between the search bar and search button. The default is no.
width
can be used to change the width of the text field, in characters. The default is 40, which fits the search bar with the default box width. Note: this is a bare number with no units.
label
can be used to change the text on the search button. The default is "Search this book".
{{search box |root=Wikibooks:Reading room |label=Search the Reading room}}

produces:

Example 2:

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

produces:

අමතර අවධානයට

[සංස්කරණය]


"https://si.wikibooks.org/w/index.php?title=සැකිල්ල:Search_box/උපදෙස්&oldid=22817" වෙතින් සම්ප්‍රවේශනය කෙරිණි