Difference between revisions of "Template:Db-g7/doc"
imported>TanyaH7 (New Page) |
imported>Nardog (Lua instruction) |
||
| (5 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
| − | { | + | {{Documentation subpage}} |
| − | + | {{Twinkle standard installation}} | |
| − | + | {{Speedy deletion templates}} | |
| − | + | {{template shortcut|db-author|db-blanked|db-self}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |- | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |} | ||
| − | + | This template is used to tag pages for speedy deletion under the [[Wikipedia:Criteria for speedy deletion|speedy deletion criteria]], specifically [[Wikipedia:Criteria for speedy deletion#G7|CSD G7]]. There is a separate template for each criterion – see the table to the right. | |
| − | + | This template places the page into the categories: [[:Category:Candidates for speedy deletion|Candidates for speedy deletion]], and [[:Category:Candidates for speedy deletion by user|Candidates for speedy deletion by user]]. | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | == Usage == | |
| − | + | The template should be placed at the top of the page to be deleted. | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | ===Parameters=== | |
| − | + | {{tlc|db-g7}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | + | :This is the most basic form of the template. | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | {{tlc|db-g7|2=bot=ExampleBot}} | |
| − | {| | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | :[[WP:BOT|Bot accounts]] will specify the {{para|bot}} parameter to notify the reviewing admin that the page was tagged by an automated process. | |
| − | + | {{tlc|db-g7|2=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: <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== | ||
| + | *[[Wikipedia:Criteria for speedy deletion]] | ||
| + | *[[Wikipedia:Deletion policy]] | ||
| + | *[[Wikipedia:Deletion process]] | ||
| + | *[[Wikipedia:Deletion review]] | ||
| + | *[[Wikipedia:Template messages/User talk namespace]] | ||
| + | |||
| + | <includeonly>{{sandbox other|| | ||
| + | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| + | [[Category:Speedy deletion templates|G07]] | ||
| + | }}</includeonly> | ||
Latest revision as of 04:35, 5 October 2020
| This is a documentation subpage for Template:Db-g7. It contains usage information, categories and other content that is not part of the original template page. |
| 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 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
- Wikipedia:Criteria for speedy deletion
- Wikipedia:Deletion policy
- Wikipedia:Deletion process
- Wikipedia:Deletion review
- Wikipedia:Template messages/User talk namespace