Extension:DPL Page Name S/N Maker

From MediaWiki.org

(Redirected from DPL Page Name S/N Maker)
Jump to: navigation, search

           

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
DPL Page Name S/N Maker

Release status: stable

Implementation  Parser extension
Description A Template, based around DynamicPageList,StringFunctions extension (a special version) and Inputbox extension special version, that allows users to create new pages with serial number page names easily.
Author(s)  Michael Chang
Last Version  1.0
MediaWiki  > 1.5.x
License No license specified
Download See here
Example  see here

Contents

[edit] Parameters

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.

[edit] Example

{{DPL Page Name S/N Maker
 |width=30
 |editintro=
 |namespace=Help
 |editintro=New Issue (Intro)
 |preload=ECP (Form)
 |pad=5
}}

[edit] Install

  • 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.

[edit] Demo

DPL Page Name SN Maker.png

[edit] See also