Widget:Createbox

From Guild Wars Wiki
Jump to navigationJump to search

Description

This widget provides the functionality originally provided by mw:Extension:CreateBox, a now defunct mediawiki extension.

Parameters

All parameters are optional.

default
Defines the default page title to display in the box upon page load.
prefix
If set, adds the prefix, e.g. "User:Anonymous/Feedback/", to the page title being typed into the box.
preload
If a valid page title is specified, the content of that page is added to the edit box.
editintro
If a valid page title is specified, the content of that page is displayed above the editing box.
buttonlabel
Changes the label on the "Create" button.
break
If set to yes, displays a line-break between the text field and the button.
width
The width of the text entry field to be displayed. Defaults to "20" (unitless).

Example

{{#Widget:Createbox
| prefix = Feedback:User/
| buttonlabel = I agree
| preload = Feedback:UserPreload
| editintro = Feedback:UserEditintro
}}

See also