Parameters
</translate>
<translate> Parameter</translate> | <translate> Description</translate> | <translate> Scope</translate> | <translate> Compatibility</translate> | <translate> Example</translate> | <translate> Result</translate> |
---|---|---|---|---|---|
arialabel= | Supply the aria-label attribute to the inputbox to allow generated markup be accessible to screen readers | <translate> All types</translate> | 틀:MW version | <inputbox>
type=search
arialabel=Search the Wiki
</inputbox>
|
|
bgcolor= | <translate> Sets the table background color (HTML color values).</translate> <translate> Do not use quotes.</translate> | <translate> All types</translate> | ? | <inputbox>
type=search
bgcolor=#eeeeff
</inputbox>
|
|
width= | <translate> Sets the width of the InputBox in characters.</translate> | <translate> All types</translate> | ? | <inputbox>
type=create
width=24
</inputbox>
|
|
default= | <translate> Default text to put in the InputBox.</translate> | <translate> All types</translate> | ? | <inputbox>
type=comment
default=User talk:Eloquence
</inputbox>
|
|
preload= | <translate> The page under this title will be preloaded (see <tvar name=1>틀:Ll</tvar>) into the blank editbox when a new page is created.</translate> | create, comment, commenttitle | ? | <inputbox>
type=create
preload=Log
</inputbox>
|
|
<translate> Enter the title of a non-existent page in the example InputBox above or below, and click "<tvar name=create>틀:Int</tvar>" or "<tvar name=new>틀:Int</tvar>" respectively to test this effect.</translate> | |||||
editintro= | <translate> The page which is given under this parameter will be shown, as instructions, above the editing window.</translate> | create, comment | ? | <inputbox>
type=comment
editintro=MediaWiki:Missingcommenttext
</inputbox>
|
|
buttonlabel= | <translate> This label will be used for the main button of the form.</translate> | <translate> All types</translate> | ? | <inputbox>
type=comment
buttonlabel=<translate nowrap><!--T:127--> Add new rumor</translate>
</inputbox>
|
|
hidden= | <translate> This specifies that there is no InputBox.</translate>
<translate> It is used with parameter "<tvar name=default>default</tvar>", now not being a default, but the fixed value of the name of the page.</translate> |
create, comment | ? | <inputbox>
type=comment
editintro=Extension:InputBox/editintro comment
preload=Extension:InputBox/preload
hidden=yes
default=Extension talk:InputBox
buttonlabel=<translate nowrap><!--T:60--> Post a comment on the talk page</translate>
</inputbox>
|
|
searchbuttonlabel= | <translate> This label will be used for the "Search full text" button of the search form.</translate> | search, fulltext | ? | <inputbox>
type=search
searchbuttonlabel=<translate nowrap><!--T:63--> Dig deeper</translate>
</inputbox>
|
|
fulltextbutton= | <translate> Show the full text search button on search2 form</translate> | search2 | ? | <inputbox>
type=search2
searchbuttonlabel=<translate nowrap><!--T:66--> Dig deeper</translate>
fulltextbutton=true
</inputbox>
|
|
labeltext= | <translate> Text to print beside the button</translate> | search2 | ? | <inputbox>
type=search2
searchbuttonlabel=<translate nowrap><!--T:69--> Dig deeper</translate>
labeltext=<translate nowrap><!--T:70--> Look for:</translate>
</inputbox>
|
|
break= | <translate> Whether or not to insert a line break between the input box and the button(s).</translate> <translate> Defaults to <tvar name=yes>yes</tvar> (use a line break).</translate> | <translate> All types</translate> | ? | <inputbox>
type=create
width=24
break=no
</inputbox>
|
|
namespaces= | <translate> Support for namespace checkboxes in fulltext search.</translate>
<translate> With "<tvar name=main> |
search, fulltext | ? | <inputbox>
type=search
namespaces=Main**,Help
</inputbox>
|
|
prefix= |
<translate>
<translate>
<translate>
Remark: underscores aren't recognized as spaces. </translate> |
search, fulltext, create | ? | <inputbox>
type=search
prefix={{FULLPAGENAME}}/Archive
</inputbox>
|
<translate> The button below prefixes the name with <tvar name=mypage> |
placeholder= | <translate> Define placeholder text that will display in the input box when it is empty.</translate> | <translate> All types</translate> | 틀:MW version | <inputbox>
type=search
placeholder=<translate nowrap><!--T:88--> Search this Wiki</translate>
</inputbox>
|
|
page= | <translate> Page to posts comment to, or page to move.</translate> | comment, move | <inputbox>
type=comment
page=Project:Sandbox
</inputbox>
|
||
minor= | <translate> Minor edit.</translate> | comment, create | <inputbox>
type=comment
page=Project:Sandbox
minor=true
</inputbox>
|
||
nosummary= | <translate> Edit summary (headline) not required for new comment.</translate> | comment | <inputbox>
type=comment
page=Project:Sandbox
nosummary=true
</inputbox>
|
||
summary= | <translate> Edit summary or move reason.</translate> | create, move | <inputbox>
type=create
default=Special:Mypage/inputbox test
summary=Foo
</inputbox>
|
||
id= | <translate> id attribute for <tvar name=form><form></tvar>.</translate> | <translate> All types</translate> | 틀:MW versionfor some types | <inputbox>
type=comment
page=Project:Sandbox
summary=Foo
id=bar
</inputbox>
|
|
inline= | <translate> Make the InputBox be an inline element (no line break at beginning).</translate> | search2 | <translate nowrap><!--T:98--> Text here:</translate> <inputbox>
type=search2
inline=true
width=10
</inputbox>
|
<translate> Text here:</translate> | |
dir= | <translate> Right to left (rtl) or left to right (ltr).</translate> <translate> Defaults to directionality of the page's language.</translate> | <translate> All types</translate> | <inputbox>
dir=rtl
type=comment
page=Project:Sandbox
summary=Foo
</inputbox>
|
||
preloadparams[]= | <translate> Specify parameters to the preload text.</translate> <translate> See [[<tvar name=man>Manual:Creating pages with preloaded text#Using parameters</tvar>|Creating pages with preloaded text]].</translate> | create, comment, commenttitle | 틀:MW version | <inputbox>
type=create
preload=Log
preloadparams[]=param1
preloadparams[]=param2
</inputbox>
|
|
searchfilter= | <translate> Specify parameters to append to the search</translate> | search | 틀:MW version | <inputbox>
type=search
searchfilter=insource:foo
</inputbox>
|
|
useve= | <translate> 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.</translate> | create, comment | <inputbox>
type=create
break=no
useve=true
</inputbox>
|
<translate> Applying <tvar name=create>create</tvar> to an existing page simply gives the edit page.</translate>
<translate> In that case <tvar name=preload>preload
</tvar> is ignored.</translate>
<translate> Applying <tvar name=comment>comment</tvar> for a new page works.</translate>
<translate> The texts taken from the <tvar name=mediawiki>MediaWiki:
</tvar> namespace are of course only examples, any existing page can be used for <tvar name=editintro>editintro
</tvar> or <tvar name=preload>preload
</tvar>.</translate>
<translate> Unfortunately <tvar name=preload>preload
</tvar> does not yet work for the [[<tvar name=special>Special:Upload</tvar>|Upload]] summary.</translate>
<translate>