Difference between revisions of "Template:Db-u1/doc"
imported>Redrose64 m (Reverted edits by 2600:8800:8D00:5600:FC78:E8C6:70BA:C61D (talk) to last version by Redrose64) |
imported>GreenComputer (Added TemplateData) |
||
| Line 30: | Line 30: | ||
===CSS and Javascript pages=== | ===CSS and Javascript pages=== | ||
To request the deletion of a [[CSS]] or [[JavaScript]] page – a page in User: space whose name ends with '''.css''' or '''.js''' – use the following format: <source lang=javascript>/* {{db-u1}} */</source> 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 page in User: space whose name ends with '''.css''' or '''.js''' – use the following format: <source lang=javascript>/* {{db-u1}} */</source> 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. | ||
| + | |||
| + | ==TemplateData== | ||
| + | {{TemplateData header}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "rationale": { | ||
| + | "label": "Rationale", | ||
| + | "description": "Additional explanation of the request for speedy deletion.", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "bot": { | ||
| + | "label": "Bot", | ||
| + | "description": "The bot that added this template to the page.", | ||
| + | "type": "wiki-user-name" | ||
| + | }, | ||
| + | "raw": { | ||
| + | "label": "Raw", | ||
| + | "description": "Set to yes to generate the message without the message box.", | ||
| + | "type": "line" | ||
| + | }, | ||
| + | "diff": { | ||
| + | "label": "Diff", | ||
| + | "description": "The diff showing where the user requested deletion. Not needed if the user themself places the tempate.", | ||
| + | "type": "line" | ||
| + | }, | ||
| + | "help": { | ||
| + | "label": "Show help", | ||
| + | "description": "Set to off to hide the message to the nominator about notifying the author.", | ||
| + | "type": "line" | ||
| + | }, | ||
| + | "nocat": { | ||
| + | "label": "No category", | ||
| + | "description": "Don't place this page in the maintenance categories.", | ||
| + | "type": "boolean" | ||
| + | }, | ||
| + | "category": { | ||
| + | "label": "Add category", | ||
| + | "description": "Place this page in the maintenance categories.", | ||
| + | "type": "boolean" | ||
| + | } | ||
| + | }, | ||
| + | "description": "Tag this page for speedy deletion under the speedy deletion criteria, specifically CSD U1 (user request).", | ||
| + | "paramOrder": [ | ||
| + | "rationale", | ||
| + | "diff", | ||
| + | "bot", | ||
| + | "help", | ||
| + | "raw", | ||
| + | "nocat", | ||
| + | "category" | ||
| + | ] | ||
| + | } | ||
| + | </templatedata> | ||
==See also== | ==See also== | ||
Revision as of 17:05, 2 January 2020
| 40px | This is a documentation subpage for Template:Db-u1. It contains usage information, categories and other content that is not part of the original template page. |
| 50x40px | If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as this template is used in the standard installation of Twinkle. Thank you! |
Template:Speedy deletion templates
This template is used to tag pages for speedy deletion under the speedy deletion criteria, specifically CSD U1. 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-u1}}
- This is the most basic form of the template.
{{db-u1|bot=ExampleBot}}
- Bot accounts will specify the
|bot=parameter to notify the reviewing admin that the page was tagged by an automated process.
{{db-u1|diff=Diff#}}
- Where Diff# is a diff showing where the user requested deletion. This is obviously not required if the user places the template, or if the deletion request is on the listed page.
{{db-u1|rationale=Additional explanation}}
- The "rationale" parameter allows specifying an additional explanation for the request.
CSS and Javascript pages
To request the deletion of a CSS or JavaScript page – a page in User: space whose name ends with .css or .js – use the following format:
/* {{db-u1}} */
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.
TemplateData
TemplateData for Db-u1
Tag this page for speedy deletion under the speedy deletion criteria, specifically CSD U1 (user request).
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Rationale | rationale | Additional explanation of the request for speedy deletion. | String | optional |
| Diff | diff | The diff showing where the user requested deletion. Not needed if the user themself places the tempate. | Line | optional |
| Bot | bot | The bot that added this template to the page. | User | optional |
| Show help | help | Set to off to hide the message to the nominator about notifying the author. | Line | optional |
| Raw | raw | Set to yes to generate the message without the message box. | Line | optional |
| No category | nocat | Don't place this page in the maintenance categories. | Boolean | optional |
| Add category | category | Place this page in the maintenance categories. | Boolean | optional |
See also
- {{db-author}} / {{db-g7}} – Author requests deletion
- Wikipedia:Criteria for speedy deletion
- Wikipedia:Deletion policy
- Wikipedia:Deletion process
- Wikipedia:Deletion review
- Wikipedia:Template messages/User talk namespace