Difference between revisions of "Template:Db-deleted/doc"

From blackwiki
Jump to navigation Jump to search
imported>Amorymeltzer
 
imported>ST47
(Use the right template navigation box to show the templates that are based on this one)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
{{substituted}}{{speedy deletion notices}}
+
{{substituted}}{{speedy deletion deleted}}
  
 
This template is a meta-template used to create speedy deletion notifications. It is typically [[WP:TRANSCLUDE|transcluded]] into another template.
 
This template is a meta-template used to create speedy deletion notifications. It is typically [[WP:TRANSCLUDE|transcluded]] into another template.

Revision as of 21:29, 25 May 2019

Template:SubstitutedTemplate:Speedy deletion deleted

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

All of the post-deletion speedy deletion notification templates that use the Wikipedia tool known as Twinkle 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 deleted under Speedy Deletion. As such, sysops are unlikely to ever have cause to manually add this template to any page.

Usage

Basic usage:

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

All fields:

{{SAFESUBST:<noinclude />db-deleted
|namespace         = {{{namespace|}}}
|target            = {{{1}}}
|nowelcome         = {{{nowelcome|}}}
|header            = {{{header|}}}
|header-text       = {{{header-text|}}}
|nothanks          = 
|icon              = 
|wizard            = 
|text              = 
|if you think that = 
|willprovide       = 
|additionally      = 
}}<!-- Template:Db-XX-deleted --> <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