打开主菜单
首页
随机
最近更改
特殊页面
社群首页
设置
关于真佛百科
免责声明
真佛百科
搜索
用户菜单
登录
查看“Template:Search box/doc”的源代码
←
Template:Search box/doc
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:emailconfirmed
您必须确认您的电子邮件地址才能编辑页面。请通过
参数设置
设置并确认您的电子邮件地址。
您可以查看和复制此页面的源代码。
{{Documentation subpage}} Use this template to create a search box that searches some part of Appropedia. By default the scope is all Appropedia, but it can be configured to search just the subpages of a page or just a category. === Parameters === * <code>prefix</code> - The target page. <code><nowiki>|prefix=User talk:Example/Archives</nowiki></code> will search all subpages of User talk:Example/Archives. By default, the target page itself is included. Append a slash "/" to the prefix to exclude the current page. * <code>search-break=yes</code> will insert a break between the search bar and search button. The default is no. * <code>search-width</code> 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. * <code>search-button-label</code> can be used to change the text on the search button. The default is "Search". === Examples === <pre>{{Search box | prefix = Appropedia:Village pump | search-button-label = Search the Village pump }}</pre> produces: {{Search box | prefix = Appropedia:Village pump | search-button-label = Search the Village pump }} Example 2: <pre>{{Search box | prefix = User:Example | search-break = no | search-width = 22 | search-button-label = Search User:Example's pages }}</pre> produces: {{Search box | prefix = User:Example | search-break = no | search-width = 44 | search-button-label = Search User:Example's pages }} <includeonly> [[Category:Element templates]] </includeonly>
本页使用的模板:
MediaWiki:TemplateNotice.js
(
查看源代码
)
Template:Documentation subpage
(
查看源代码
)
Template:Notice
(
查看源代码
)
Template:Notice/styles.css
(
查看源代码
)
Template:Search box
(
查看源代码
)
返回
Template:Search box/doc
。