Difference between revisions of "Template:DPL Page Name S/N Maker"

From FollowTheScore
Jump to: navigation, search
(See install guide in the mediawiki.org)
Line 69: Line 69:
  
 
==Install==
 
==Install==
*Download [http://semeb.com/dpldemo/index.php?title=DPL:Manual_-_Source_and_Installation#Installation DPL]
+
*See [http://www.mediawiki.org/wiki/Extension:DPL_Page_Name_S/N_Maker#Install this page].
*Download [http://semeb.com/dpldemo/index.php?title=Inputbox_extension Inputbox extension special version]
 
*Copy the [http://semeb.com/dpldemo/index.php?title=Template:DPL_Page_Name_S/N_Maker&action=edit code] to your wiki.
 
 
 
  
 
== Demo ==
 
== Demo ==
 
*See the [http://semeb.com/dpldemo/index.php?title=ECP_List page] and the [http://semeb.com/dpldemo/index.php?title=Template:DPL_Page_Name_S/N_Maker template].
 
*See the [http://semeb.com/dpldemo/index.php?title=ECP_List page] and the [http://semeb.com/dpldemo/index.php?title=Template:DPL_Page_Name_S/N_Maker template].
 
</noinclude>
 
</noinclude>

Revision as of 16:21, 21 March 2009

The next serial number is {{#pad:

     Expression error: Unrecognized punctuation character "{".                     
    |5|0}}        

{{#inputbox:

 |type=create
 |buttonlabel=creat
 |width=25
 |editintro=
 |preload=
 |break=no
 |default={{#pad:
     Expression error: Unrecognized punctuation character "{".                     
    |5|0}}           

}}

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.

Example

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

Install

Demo