参数
类型范围 |
描述 |
样例 |
|
bgcolor=
所有类型
|
设置背景色。不要设置引用。 |
<inputbox>
type=search
bgcolor=#eeeeff
</inputbox>
得到:
|
|
width=
所有类型
|
设置输入框宽度。 |
<inputbox>
type=create
width=6
</inputbox>
得到:
|
|
default=
所有类型
|
在输入框中放置默认文字。 |
<inputbox>
type=comment
default=User talk:Mountain
</inputbox>
得到:
|
preload=
comment, create
|
在新创建的页面文字框中预装文字。 |
<inputbox>
type=create
width=20
preload=MediaWiki:Editthispage
</inputbox>
得到:
|
editintro=
comment, create |
(不清楚) |
<inputbox>
type=comment
width=20
editintro=MediaWiki:Missingcommenttext
</inputbox>
得到:
|
buttonlabel=
All types |
按钮文字。 |
<inputbox>
type=comment
buttonlabel=来造谣
</inputbox>
得到:
|
searchbuttonlabel=
search |
此标示用作搜索全文。 |
<inputbox>
type=search
searchbuttonlabel=深度优先搜索
</inputbox>
得到:
|
break=
yes |
输入框和按钮之间是否换行。 |
<inputbox>
type=create
break=yes
</inputbox>
得到
|