Template:Db-meta/doc

Usage
This template is a meta-template used to create the other speedy deletion templates used for nominating pages for speedy deletion. Do not attempt to use this template directly on articles. For a generic speedy deletion template, see.

Syntax
Basic syntax:

Extended syntax:

Parameters

 * Required parameters


 * is the Criterion number from WikiDevi:Speedy deletion criteria. Do not create a CSD template which does not already have a CSD criterion, or it will itself be deleted under CSD T2!
 * is the text which will go in bold immediately after "may qualify for speedy deletion". Note that there is no space between the word "deletion" and the parameter - if you want to continue the sentence without punctuation, use an HTML space (&amp;#32;) to prevent the template 'eating' the leading space.  A trailing full stop is already included in db-meta, so don't add it to this parameter

These parameters are generally used in all speedy deletion templates based on db-meta, and some may break other templates/scripts if they are omitted.
 * Recommended parameters


 * is the text which appears in italics after .  This should be a complete sentence, minus trailing punctuation (a full stop is included in db-meta).
 * is the user warning template which corresponds to the CSD criterion. For instance,  uses Template:empty-warn, so passes the parameter empty-warn. All such warning templates should be categorised at Category:CSD warning templates
 * is the brief summary which will be preloaded into the deletion confirmation screen. There is no need to include the CSD criterion as this is added automatically.
 * is the name of the bot account that tagged the page for deletion, if applicable. This should be passed through to the specific deletion template, using . It should not be called directly from db-meta.
 * is used for generating a simple deletion message with no message box. It should be passed through to the specific deletion template, using . This parameter is used by db-multiple to generate the notices about individual speedy deletion criteria.


 * Optional parameters


 * adds a custom deletion rationale in red after the speedy deletion criterion number.
 * : if this parameter exists, there is no message about not removing speedy deletion templates from things you have created/uploaded yourself.
 * is a space for notes. It appears after the notice about using the talk page for contesting speedy deletions, and before the message only visible to admins.
 * adds an extra custom note to the message only visible to admins.
 * allows the addition of extra parameters to the end of the user warning template specified in temp.
 * : if this exists, the four tildes normally appended to the user warning template text are removed.
 * adds an image to the right-hand side of the template. Include only the image name; do not add "File:" or "Image:".
 * is the interwikimedia link for the image named in image, if it is not on the English WikiDevi.
 * : if this exists, a message box is shown beneath the main deletion template that says "This page has been blanked as a courtesy."
 * is the custom text for the "blanked" message box. blanked must exist for this to work.
 * : if this exists, a message box is shown beneath the main deletion template that says "Please blank this page so that it only contains the deletion template."
 * : if this parameter exists, the code  is added to the end of the deletion template, which prevents all subsequent content on the page from being displayed.

Other notes

 * All CSD templates based directly on db-meta should ideally use for centralised documentation.
 * For templates which have variants, like and, it is recommended to base the variants on those templates, rather than directly on db-meta.  For instance,  calls  which in turn calls db-meta, rather than db-band calling db-meta directly.
 * All CSD templates using db-meta produce two invisible spans which may be useful for client-side java script:
 * contains only the CSD criterion ("A1", "P2", "R3", etc)
 * contains a complete, legible deletion log summary which is suitable for preloading into the deletion confirmation screen.