| Parameter
|
Description
|
Scope
|
Compatibility
|
Example
|
Result
|
| arialabel=
|
Supply the aria-label attribute to the inputbox to allow generated markup be accessible to screen readers
|
All types
|
|
<inputbox>
type=search
arialabel=Search the Wiki
</inputbox>
|
|
| bgcolor=
|
Do not use quotes.
|
All types
|
?
|
<inputbox>
type=search
bgcolor=#eeeeff
</inputbox>
|
|
| width=
|
Sets the width of the InputBox in characters.
|
All types
|
?
|
<inputbox>
type=create
width=24
</inputbox>
|
|
| default=
|
Default text to put in the InputBox.
|
All types
|
?
|
<inputbox>
type=comment
default=User talk:Eloquence
</inputbox>
|
|
| preload=
|
The page under this title will be preloaded (see ) into the blank editbox when a new page is created.
|
create, comment, commenttitle
|
?
|
<inputbox>
type=create
preload=Log
</inputbox>
|
|
| Enter the title of a non-existent page in the example InputBox above or below, and click "" respectively to test this effect.
|
| editintro=
|
The page which is given under this parameter will be shown, as instructions, above the editing window.
|
create, comment
|
?
|
<inputbox>
type=comment
editintro=MediaWiki:Missingcommenttext
</inputbox>
|
|
| buttonlabel=
|
This label will be used for the main button of the form.
|
All types
|
?
|
<inputbox>
type=comment
buttonlabel= Add new rumor
</inputbox>
|
|
| hidden=
|
This specifies that there is no InputBox.
It is used with parameter "", now not being a default, but the fixed value of the name of the page.
|
create, comment
|
?
|
<inputbox>
type=comment
editintro=Extension:InputBox/editintro comment
preload=Extension:InputBox/preload
hidden=yes
default=Extension talk:InputBox
buttonlabel= Post a comment on the talk page
</inputbox>
|
|
| searchbuttonlabel=
|
This label will be used for the "Search full text" button of the search form.
|
search, fulltext
|
?
|
<inputbox>
type=search
searchbuttonlabel= Dig deeper
</inputbox>
|
|
| fulltextbutton=
|
Show the full text search button on search2 form
|
search2
|
?
|
<inputbox>
type=search2
searchbuttonlabel= Dig deeper
fulltextbutton=true
</inputbox>
|
|
| labeltext=
|
Text to print beside the button
|
search2
|
?
|
<inputbox>
type=search2
searchbuttonlabel= Dig deeper
labeltext= Look for:
</inputbox>
|
|
| break=
|
Defaults to (use a line break).
|
All types
|
?
|
<inputbox>
type=create
width=24
break=no
</inputbox>
|
|
| namespaces=
|
Support for namespace checkboxes in fulltext search.
With "", main article namespace is checked by default.
|
search, fulltext
|
?
|
<inputbox>
type=search
namespaces=Main**,Help
</inputbox>
|
|
| prefix=
|
- Narrow down search to pages beginning with certain prefix. Defaults to empty string (search all pages).
- Create new page beginning with a certain prefix.
- In , the prefix is prepended to the default parameter.
Remark: underscores aren't recognized as spaces.
|
search, fulltext, create
|
?
|
<inputbox>
type=search
prefix={{FULLPAGENAME}}/Archive
</inputbox>
|
The button below prefixes the name with .
|
| placeholder=
|
Define placeholder text that will display in the input box when it is empty.
|
All types
|
<inputbox>
type=search
placeholder= Search this Wiki
</inputbox>
|
|
| page=
|
Page to posts comment to, or page to move.
|
comment, move
|
|
<inputbox>
type=comment
page=Project:Sandbox
</inputbox>
|
|
| minor=
|
Minor edit.
|
comment, create
|
|
<inputbox>
type=comment
page=Project:Sandbox
minor=true
</inputbox>
|
|
| nosummary=
|
Edit summary (headline) not required for new comment.
|
comment
|
|
<inputbox>
type=comment
page=Project:Sandbox
nosummary=true
</inputbox>
|
|
| summary=
|
Edit summary or move reason.
|
create, move
|
|
<inputbox>
type=create
default=Special:Mypage/inputbox test
summary=Foo
</inputbox>
|
|
| id=
|
id attribute for .
|
All types
|
<inputbox>
type=comment
page=Project:Sandbox
summary=Foo
id=bar
</inputbox>
|
|
| inline=
|
Make the InputBox be an inline element (no line break at beginning).
|
search2
|
|
Text here: <inputbox>
type=search2
inline=true
width=10
</inputbox>
|
Text here:
|
| dir=
|
Defaults to directionality of the page's language.
|
All types
|
|
<inputbox>
dir=rtl
type=comment
page=Project:Sandbox
summary=Foo
</inputbox>
|
|
| preloadparams[]=
|
See Creating pages with preloaded text.
|
create, comment, commenttitle
|
|
<inputbox>
type=create
preload=Log
preloadparams[]=param1
preloadparams[]=param2
</inputbox>
|
|
| searchfilter=
|
Specify parameters to append to the search
|
search
|
|
<inputbox>
type=search
searchfilter=insource:foo
</inputbox>
|
|
| useve=
|
When creating a page the input box will use the new visual editor, if the extension is installed, and this parameter is set to true.
|
create, comment
|
|
<inputbox>
type=create
break=no
useve=true
</inputbox>
|
|