Difference between revisions of "Template:Search box"

From HodHood
Jump to: navigation, search
(Created page with "{{search box |root= / |search-break=<yes|no> |search-width=number |search-button-label=text }}")
 
Line 1: Line 1:
{{search box
+
<div>
|root= /
+
{{#tag:inputbox|
|search-break=<yes|no>
+
bgcolor=transparent
|search-width=number
+
type=fulltext
|search-button-label=text
+
prefix={{{root|{{FULLPAGENAME}}}}}{{#switch:{{{noslash}}}|yes=|no=/|{{{noslash}}}=/}}
 +
break={{{search-break|no}}}
 +
{{#ifeq:{{{search-width|}}}|auto||
 +
width={{{search-width|22}}} }}
 +
searchbuttonlabel={{{search-button-label|Search}}}
 
}}
 
}}
 +
</div><noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude>

Revision as of 20:38, 29 January 2017

Template:Documentation