Parameters[edit]
All parameters to template are optional.
- namespace: Specifies a Namespace, which the new page will belong to.
- prefix: Specifies a title fragment, which will prefix the submitted title.
- pad: The pad parameters returns the given string extended to a given width. The default value is "5".
- width: Sets the width of the input box.
- preload: Specifies a page title. The contents of the given page will be preloaded into the submission form.
- buttonlabel: Sets the text of the Create button.
- default: Sets the default text of the input box.
- editintro: Specifies a page title. The given page will be included prior to the submission form in the Edit screen.
- break: If set to "yes", this inserts a line break between the text field and button.
Example[edit]
{{DPL Page Name S/N Maker
|width=30
|editintro=
|namespace=Help
|editintro=New Issue (Intro)
|preload=ECP (Form)
|pad=5
}}
Install[edit]
- Download DPL , special version Inputbox extension and StringFunctions extension from the page and install them(Please use Version 1.7.6 of DPL ZIP archive).
require_once("$IP/extensions/Inputbox/inputbox.php");
- Copy the code to your wiki.
See also[edit]