Template:Db-spam-notice/doc
This is a documentation subpage for Template:Db-spam-notice (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
This template should always be substituted. |
This template is used to notify users about pages that have been nominated for speedy deletion. Specifically, it is used for pages that have been nominated due to "unambiguous advertising or promotion". This template is usually used in conjunction with {{db-spam}}.
Usage
This template should be substituted on to the user talk page of the author of the page that has been tagged for speedy deletion.
If this template is used on a page that did not previously exist (that is, if the user receiving the notice is new user), the template automatically includes a {{first article}} welcome message. This welcome can be turned off with the |nowelcome=
parameter as described below.
Basic usage
{{subst:db-spam-notice|PageName}}
Where PageName is the name of the page that has been tagged for speedy deletion.
Parameters
- nowelcome:- If this parameter exists, then the {{first article}} welcome message is not included, even if the page the notice is being placed on did not previously exist.
- header:- by default, the template adds a level two section header of "Speedy deletion nomination of PageName". To suppress the header, use
|header=no
. - header-text:- a custom value for the header text.
- demo:- if you are demonstrating the template's functionality, transclude the template rather than substitute it, and use
|demo=yes
. This will prevent the template from being automatically substituted by a bot. - namespace:- this is the namespace of the page tagged for speedy deletion. For example, if the page is in the "Festipedia" namespace then the value would be
Festipedia
. It is not necessary to specify this parameter if the namespace is already included in the page name. If the page is in the main article namespace then this parameter should be omitted.
Examples
- No welcome message
{{subst:db-spam-notice|PageName|nowelcome=yes}}
- No header
{{subst:db-spam-notice|PageName|header=no}}
- Using a custom header
{{subst:db-spam-notice|PageName|header-text=Custom header text}}
- No welcome message and a custom header
{{subst:db-spam-notice|PageName|nowelcome=yes|header-text=Custom header text}}
See also