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

From blackwiki
Jump to navigation Jump to search
imported>Amorymeltzer
 
imported>Amorymeltzer
m (Not tagging)
 
Line 3: Line 3:
 
WARNING - this template affects the documentation for all the post-deletion speedy deletion notification templates! If you only want to edit the documentation for one particular notification template, please go back to the documentation page for that template and add your new text directly after the {{db deleted doc/lead}} text. If you would like to completely change the lead section for one individual template, please see the documentation for instructions on how to substitute this template.
 
WARNING - this template affects the documentation for all the post-deletion speedy deletion notification templates! If you only want to edit the documentation for one particular notification template, please go back to the documentation page for that template and add your new text directly after the {{db deleted doc/lead}} text. If you would like to completely change the lead section for one individual template, please see the documentation for instructions on how to substitute this template.
  
--></noinclude>{{ed right|Db deleted doc/lead}}<!-- If you can see this comment (which means that this template has been substituted), please remove both this comment and the {{ed right}} template to the left. --> This template is used to notify users about pages that have been [[Wikipedia:Criteria for speedy deletion|speedily deleted]]. Specifically, it is used for pages that have been deleted under [[Wikipedia:Criteria for speedy deletion#{{{criterion|}}}|section {{{criterion|}}} of the criteria for speedy deletion]], "{{{criterion-desc|}}}". This template is usually used in conjunction with {{tl|{{{speedy-template|}}}}}; for other post-deletion speedy deletion notification templates see the table to the right.<noinclude>
+
--></noinclude>{{ed right|Db deleted doc/lead}}<!-- If you can see this comment (which means that this template has been substituted), please remove both this comment and the {{ed right}} template to the left. --> This template is used to notify users about pages that have been [[Wikipedia:Criteria for speedy deletion|speedily deleted]]. Specifically, it is used for pages that have been deleted under [[Wikipedia:Criteria for speedy deletion#{{{criterion|}}}|section {{{criterion|}}} of the criteria for speedy deletion]], "{{{criterion-desc|}}}". This template is usually used in lieu of tagging with {{tl|{{{speedy-template|}}}}}; for other post-deletion speedy deletion notification templates see the table to the right.<noinclude>
  
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 09:58, 27 May 2019

This template is used to notify users about pages that have been speedily deleted. Specifically, it is used for pages that have been deleted under section of the criteria for speedy deletion, "". This template is usually used in lieu of tagging with {{[[Template:|]]}}; for other post-deletion speedy deletion notification templates see the table to the right.

Template documentation[view] [edit] [history] [purge]

This template is used to create the lead section for the documentation pages of the different post-deletion speedy deletion notification templates. This template affects all of the notification templates - if you only want to edit the documentation for one particular notification template, please go back to the documentation page for that template and add your new text directly after the {{db deleted doc/lead}} text.

Usage

This template should usually be transcluded. However, it is also possible to substitute it if a customized version is needed for an individual documentation page.

Basic usage

{{db deleted doc/lead
|criterion       = <!-- G1, G3, A7, etc. -->
|criterion-desc  = <!-- patent nonsense, vandalism, etc. -->
|speedy-template = <!-- db-nonsense, db-vandalism, etc. -->
}}

Parameters

  • criterion:- This is the abbreviation of the speedy deletion criterion used by the notice. For example, G1, G3, or A7.
  • criterion-desc:- A short description of the speedy deletion criterion. For example, patent nonsense or vandalism.
  • speedy-template:- The speedy deletion template used in conjunction with the warning template. For example, db-nonsense or db-vandalism.

Substituting

If the text of this template is too restrictive and you want to make a custom version for an individual template documentation page, you can substitute the template. To do this, simply add subst: after the two opening curly braces to the template that already exists on the documentation page:

{{subst:db deleted doc/lead
|criterion       = <!-- G1, G3, A7, etc. -->
|criterion-desc  = <!-- patent nonsense, vandalism, etc. -->
|speedy-template = <!-- db-nonsense, db-vandalism, etc. -->
}}

After you have substituted the template, you can customize the text however you want.

See also

Subpages of {{db deleted doc}}: