<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ASearch_box%2Fdoc</id>
	<title>Template:Search box/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ASearch_box%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Search_box/doc&amp;action=history"/>
	<updated>2026-06-11T17:16:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Template:Search_box/doc&amp;diff=40525&amp;oldid=prev</id>
		<title>imported&gt;Silikonz-alt: better use for example</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Search_box/doc&amp;diff=40525&amp;oldid=prev"/>
		<updated>2020-11-27T03:32:31Z</updated>

		<summary type="html">&lt;p&gt;better use for example&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template creates a simple search box for a page&amp;#039;s all subpages, like archives.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
Simple {{tnull|search box}} creates a search box. The scope is all subpages of the tagged page, &amp;#039;&amp;#039;excluding&amp;#039;&amp;#039; that page itself.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{search box&lt;br /&gt;
 |root= /&lt;br /&gt;
 |search-break=&amp;lt;yes|no&amp;gt;&lt;br /&gt;
 |search-width=number&lt;br /&gt;
 |search-button-label=text&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
;root: The target page. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;|root=User talk:Example/Archives&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will search all subpages of User talk:Example/Archives. The default is the current page name.&lt;br /&gt;
;noslash: By default, the target page itself is excluded, by appending a slash &amp;quot;/&amp;quot; to the &amp;quot;root&amp;quot; parameter. If you want to include it, set &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;noslash=yes&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
;search-break: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;search-break=yes&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will insert a break between the search bar and search button. The default is no.  &lt;br /&gt;
{{search box&lt;br /&gt;
 |search-break=no&lt;br /&gt;
}}&lt;br /&gt;
{{search box&lt;br /&gt;
 |search-break=yes&lt;br /&gt;
}}&lt;br /&gt;
;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.&lt;br /&gt;
;search-button-label: can be used to change the text on the search button. The default is &amp;quot;Search&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
&amp;lt;pre&amp;gt;{{search box |root=Wikipedia:FAQ |search-button-label=Search the FAQ}}&lt;br /&gt;
&amp;lt;/pre&amp;gt; produces: {{search box |root=Wikipedia:FAQ |search-button-label=Search the FAQ}}&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{search box&lt;br /&gt;
 |root=User:Example&lt;br /&gt;
 |search-break=no&lt;br /&gt;
 |search-width=22&lt;br /&gt;
 |search-button-label=Search User:Example&amp;#039;s pages&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt; produces: {{search box&lt;br /&gt;
 |root=User:Example&lt;br /&gt;
 |search-break=no&lt;br /&gt;
 |search-width=44&lt;br /&gt;
 |search-button-label=Search User:Example&amp;#039;s pages&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Internal search templates common doc|append=&lt;br /&gt;
* [[:commons:Template:search box]] - Wikimedia Commons template that does the same thing}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Archival templates]]&lt;br /&gt;
[[Category:Search templates]]&lt;br /&gt;
[[Category:Box templates]]&lt;br /&gt;
[[Category:User namespace templates]]&lt;br /&gt;
&lt;br /&gt;
[[ja:Template:検索窓]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Silikonz-alt</name></author>
	</entry>
</feed>