Template:Db-g7/doc

From Eurovision Wiki
Revision as of 13:41, 16 February 2025 by 2a04:4a43:876f:f962:2451:7efe:306f:1d94 (talk) (TemplateData: fixed typo)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

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

Parameters

[edit source]

{{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

[edit source]

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

[edit source]

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

[edit source]


TemplateData

[edit source]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Db-g7 in articles based on its TemplateData.

TemplateData for Db-g7

<templatedata> { "params": { "rationale": { "label": "Rationale", "description": "The reason you want this page you created to be deleted.", "example": "I created this page by mistake.", "aliases": [ "reason" ], "type": "string", "suggested": true }, "bot": { "label": "Bot?", "description": "Set this to any value (usually \"y\" or \"yes\") if you're a bot adding this template. Otherwise, omit this.", "type": "content" }, "raw": {

"description": "Set this to \"yes\" to get rid of the red box surrounding the deletion message. Don't use this unless you're writing another template, such

.",

"type": "line", "label": "Raw?" }, "diff": { "description": "A link to a page diff that may provide the needed context for the deleting admin on why you want the page to be deleted.", "example": "https://en.wikipedia.org/wiki/Special:Diff/1", "type": "url", "label": "Page diff" }, "nocat": { "description": "Set this to \"y\" or \"yes\" if you do not want the page to be added to the speedy deletion category (for example if this template is being used for a demonstration). Usually this is not done, except in rare cases.", "type": "boolean", "label": "Don't add to category?" }, "category": { "description": "A category to add", "type": "string", "example": "",

           "label": "Category to add"

}, "help": {} }, "description": "This template is used to request speedy deletion per CSD G7 (for requests by the sole author in good faith)" } </templatedata>