Difference between revisions of "Template:Db-attack-notice/doc"

From blackwiki
Jump to navigation Jump to search
imported>Callanecc
imported>Mr. Stradivarius
(Add relevant parameters & examples)
Line 17: Line 17:
  
 
=== Parameters ===
 
=== Parameters ===
This template has no parameters.
+
{{ed right|Db notice doc/parameters}}<!-- 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. -->
 +
*'''header''':- by default, the template adds a level two section header of "[[Wikipedia:Criteria for speedy deletion|Speedy deletion]] nomination of ''[[PageName]]''". To suppress the header, use {{para|header|no}}.
 +
*'''header-text''':- a custom value for the header text.
 +
*'''demo''':- if you are demonstrating the template's functionality, [[Wikipedia:Transclusion|transclude]] the template rather than [[Wikipedia:Substitution|substitute]] it, and use {{para|demo|yes}}. This will prevent the template from being automatically substituted by a bot.
 +
 
 +
=== Examples ===
 +
{{db notice doc/examples
 +
|nowelcome =
 +
|header = yes
 +
|header-text = yes
 +
|warning-template =
 +
}}
  
 
== See also ==
 
== See also ==

Revision as of 12:14, 18 October 2012

Template:Speedy deletion notices

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 under section G10 of the criteria for speedy deletion, "pages that disparage, threaten, intimidate or harass their subject or some other entity, and serve no other purpose". This template is usually used in conjunction with {{db-attack}}; for other speedy deletion notification templates see the table to the right.

This template is used to warn users who have created attack pages.

Usage

Template:Tlsd

Parameters

  • 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.

Examples

No header

{{subst:db-attack-notice|PageName|header=no}}

Using a custom header

{{subst:db-attack-notice|PageName|header-text=Custom header text}}

See also


Template:Speedy deletion navbox