Content deleted Content added
TRANSWIKI: Copied from Meta:Help:Inputbox. |
TRANSWIKI: Copied from Meta:Help:Inputbox. |
||
Line 28:
!Example
|---
|'''<font id="type_search" />type=search'''
|width="30%"|
Generates a search box with a width of 50 characters. The button labels can be specified, see below; the defaults are [[MediaWiki:Tryexact]] and [[MediaWiki:Searchfulltext]]. The text field specifies the search criteria.
Line 36:
</inputbox>
|---
|'''<font id="type_create" />type=create'''
|width="30%"|
Allows creating a new page. Note especially the preload= and editintro= options below. The button label can be specified, see below; the default is [[MediaWiki:Createarticle]]. The text field specifies which page is to be edited.
Line 44:
</inputbox>
|---
|'''<font id="type_comment" />type=comment'''
|width="30%"|
Add one or more sections to an existing page, or create a page, with an edit summary that is automatically the same as the (first) new section header. The button label can be specified, see below; the default is [[MediaWiki:Postcomment]]; note that this message is also used in the sidebar of the old "Standard" skin. The text field specifies which page is to be edited.
Line 61:
|---
|
'''<font id="par_bgcolor" />bgcolor='''<br/>
''All types''
|width="30%"|
Line 81:
|---
|
'''<font id="par_width" />width='''<br/>
''All types''
|width="30%"|
Line 101:
|---
|
'''<font id="par_default" />default='''<br/>
''All types''
|width="30%"|
Line 120:
</inputbox>
|---
|'''<font id="par_preload" />preload='''<br/>
''comment'', ''create''
Line 140:
</inputbox>
|---
|'''<font id="par_editintro" />editintro='''<br/>''comment'', ''create''
|width="30%"|
The text of the page under this title will be added, as instructions, ''before'' the submission form for new pages or comments. Enter the title of a non-existent page in the example inputbox, and click "Create" to test this effect.
Line 158:
</inputbox>
|---
|'''<font id="par_buttonlabel" />buttonlabel='''<br/>''All types''
|width="30%"|
This label will be used for the main button of the form.
Line 176:
</inputbox>
|---
|'''<font id="par_searchbuttonlabel" />searchbuttonlabel='''<br/>''search''
|width="30%"|
This label will be used for the "Search full text" button of the search form.
Line 192:
type=search
searchbuttonlabel=Dig deeper
</inputbox>
|---
|'''<font id="par_break" />break='''<br/>''yes''
|width="30%"|
Whether or not to insert a line break between the input box and the button(s). Defaults to using the line break unless set to '''no'''.
|
<pre>
<inputbox>
type=create
break=no
</inputbox>
</pre>
''produces:''
<inputbox>
type=create
break=no
</inputbox>
|}
|