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

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
m (change source to syntaxhighlight)
imported>Nardog
(Lua instruction)
 
Line 25: Line 25:
 
===CSS and Javascript pages===
 
===CSS and Javascript pages===
 
To request the deletion of a [[CSS]] or [[JavaScript]] page – a non-talk page whose name ends with '''.css''' or '''.js''' – use the following format: <syntaxhighlight lang=javascript>/* {{db-g7}} */</syntaxhighlight> The deletion message will not be displayed, but the page will be categorised into {{cl|Candidates for speedy deletion by user}}, where an administrator will be able to find it.
 
To request the deletion of a [[CSS]] or [[JavaScript]] page – a non-talk page whose name ends with '''.css''' or '''.js''' – use the following format: <syntaxhighlight lang=javascript>/* {{db-g7}} */</syntaxhighlight> The deletion message will not be displayed, but the page will be categorised into {{cl|Candidates for speedy deletion by user}}, where an administrator will be able to find it.
 +
 +
===Lua modules===
 +
To request the deletion of a [[WP:Lua|Lua module]] – a non-talk page whose name starts with '''Module:''' – use the following format:
 +
<syntaxhighlight lang="lua">require('Module:Module wikitext')._addText('{{db-g7}}')</syntaxhighlight>
  
 
==See also==
 
==See also==

Latest revision as of 04:35, 5 October 2020

Template:Speedy deletion templates

This template is used to tag pages for speedy deletion under the speedy deletion criteria, specifically CSD G7. There is a separate template for each criterion – see the table to the right.

This template places the page into the categories: Candidates for speedy deletion, and Candidates for speedy deletion by user.

Usage

The template should be placed at the top of the page to be deleted.

Parameters

{{db-g7}}

This is the most basic form of the template.

{{db-g7|bot=ExampleBot}}

Bot accounts will specify the |bot= parameter to notify the reviewing admin that the page was tagged by an automated process.

{{db-g7|rationale=DeletionRationale}}

Where DeletionRationale is a specific explanation of why the page should be deleted, which will be displayed in red after the standard text. A rationale must be provided to delete user talk pages.

CSS and Javascript pages

To request the deletion of a CSS or JavaScript page – a non-talk page whose name ends with .css or .js – use the following format:

/* {{db-g7}} */

The deletion message will not be displayed, but the page will be categorised into Category:Candidates for speedy deletion by user, where an administrator will be able to find it.

Lua modules

To request the deletion of a Lua module – a non-talk page whose name starts with Module: – use the following format:

require('Module:Module wikitext')._addText('{{db-g7}}')

See also