Template:Db-notice/doc

From blackwiki
< Template:Db-notice
Revision as of 21:26, 27 May 2019 by imported>Amorymeltzer (→‎See also: Fix template link)
Jump to navigation Jump to search

Template:SubstitutedTemplate:Speedy deletion notices

This template is a meta-template used to create speedy deletion notifications. It is typically transcluded into another template.

All of the speedy deletion notification templates that Twinkle uses are based on this template. Twinkle will automatically add this message to a user's talk page whenever a page that user has created is nominated for Speedy Deletion. As such, users are unlikely to ever have cause to manually add this template to any page.

Usage

Basic usage:

{{SAFESUBST:<noinclude />db-notice
|namespace     = {{{namespace|}}}
|target        = {{{1}}}
|nowelcome     = {{{nowelcome|}}}
|header        = {{{header|}}}
|header-text   = {{{header-text|}}}
|text          = 
}}<!-- Template:Db-XX-notice --> <noinclude>
{{documentation}}
</noinclude>

All fields:

{{SAFESUBST:<noinclude />db-notice
|namespace         = {{{namespace|}}}
|target            = {{{1}}}
|nowelcome         = {{{nowelcome|}}}
|header            = {{{header|}}}
|header-text       = {{{header-text|}}}
|nothanks          = 
|icon              = 
|wizard            = 
|text              = 
|if you think that = 
|button            = 
|willprovide       = 
|additionally      = 
}}<!-- Template:Db-XX-notice --> <noinclude>
{{documentation}}
</noinclude>

The template should usually be used with safesubst, so that the template can be both transcluded and substituted. In most cases templates made with this meta-template will be substituted on user talk pages, but sometimes transclusion is necessary, for example when creating template documentation.

Syntax error in JSON.

See also