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

From blackwiki
Jump to navigation Jump to search
imported>Mr. Stradivarius
(Substitute {{db doc|G1}})
 
imported>Mr. Stradivarius
(Try again)
Line 1: Line 1:
<!-- This template, {{Db doc}}, serves as the documentation for all of the
+
{{Speedy deletion templates}}{{Twinkle standard installation}}{{template shortcut|db-g1|db-nonsense}}
speedy deletion templates.  The speedy deletion criterion, e.g. G1, is  
+
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#G1|CSD G1]]. There is a separate template for each criterion &ndash; see the table to the right.
passed into this template as a parameter, and it displays the documentation
 
appropriate for that template.  It's transcluded into each template as
 
a documentation page seen at, for example, [[Template:db-g1]] but not
 
displayed when the template is used.  
 
  
It begins by turning the documentation green, putting the heading "Template documentation" (with a little image) and the notice "This documentation is transcluded from Template:db doc."
+
This template places the page into the categories: [[:Category:Candidates for speedy deletion|Candidates for speedy deletion]], and [[:Category:Candidates for speedy deletion as nonsense pages|Candidates for speedy deletion as nonsense pages]].
-->
 
{{documentation|Template:Db doc|content={{Speedy deletion templates}}<!--
 
  
Include Twinkle usage notice, unless the notwinkle parameter is passed
 
-->{{ #if:
 
  | <!-- do nothing -->
 
  | {{Twinkle standard installation}}
 
}}<!--
 
  
Display the little "shortcuts" box.
 
-->{{template shortcut|{{lcfirst:{{BASEPAGENAME}}}}|{{#switch:G1|<!--THESE ARE THE MOST POPULAR REDIRECTS TO EACH CRITERION-->
 
|G1=db-nonsense
 
|G2=db-test
 
|G3=db-vandalism
 
|G4=db-repost
 
|G5=db-banned
 
|G6=db-maintenance
 
|G7=db-author
 
|G10=db-attack
 
|G11=db-spam
 
|G12=db-copyvio
 
|A1=db-nocontext
 
|A2=db-foreign
 
|A3=db-nocontent
 
|A5=db-transwiki
 
|A9=db-album
 
|A10=db-same
 
|F1=db-redundantimage
 
|F2=db-noimage
 
|F3=db-noncom
 
|F4=db-unksource
 
|F5=db-unfree
 
|F6=db-norat
 
|F7=db-badfairuse
 
|F8=db-nowcommons
 
|F9=db-filecopyvio
 
|F10=db-badfiletype
 
|F11=db-nopermission
 
|C1=db-catempty
 
|C2=db-speedyrename
 
|C3=db-catfd
 
|U1=db-userreq
 
|U2=db-nouser
 
|U3=db-gallery
 
|R1=db-redirnone
 
|R2=db-rediruser
 
|R3=db-redirtypo
 
|T1=db-divisive
 
|T2=db-policy
 
|P2=db-emptyportal
 
}}}}<!--
 
 
-->
 
This template is used to tag pages for speedy deletion under the [[Wikipedia:Criteria for speedy deletion|speedy deletion criteria]]{{#ifeq:G1|DB||, specifically [[Wikipedia:Criteria for speedy deletion#G1|CSD G1]]}}.  There is a separate template for each criterion &ndash; see the table to the right.
 
 
<!-- Categories mentioned here should correspond with the
 
categories in the corresponding CSD templates.
 
-->This template places the page into the {{#switch:G1|G1|G3|G7|G10|G11|G12|A7|R1|F1|F2|F3|F9|U1|T1|T2|T3|T4|A1|A3=categories: [[:Category:Candidates for speedy deletion|Candidates for speedy deletion]], and [[:Category:{{db doc/othercats|G1}}|{{db doc/othercats|G1}}]]|C1= [[:Category:{{db doc/othercats|G1}}]]|category&#058; [[:Category:Candidates for speedy deletion|Candidates for speedy deletion]]}}{{#switch:G1
 
|T3=&#32;seven days after they are tagged
 
|C1=&#32;four days after they are tagged
 
}}.
 
 
{{#switch:G1|C2=
 
Please note that this template is not the correct process for ''requesting'' a speedy-rename of a category. Use {{tl|cfr-speedy}} for that purpose; this template will be used in the process of ''completing'' a request posted through that procedure.
 
}}
 
  
 
== Usage ==
 
== Usage ==
Line 79: Line 12:
 
===Parameters===
 
===Parameters===
  
{{#switch:G1|G4=
 
:{{#switch:G1
 
|G4=Please note that this template is '''only''' to be used for reposting of content previously deleted via an XfD-type discussion.
 
|#default=
 
}}
 
<br>
 
}}
 
<tt><nowiki>{{</nowiki>db-{{lc:G1}}{{db doc/compulsory|G1 }}<nowiki>}}</nowiki></tt>
 
 
:{{#switch:G1
 
|A2=Where "SourceProject" is the project or language code and ''SourcePageName'' is the name of the page from which the content was taken.
 
|A10=Where ''article'' is the title of the existing article which has been duplicated. A first unnamed parameter may be used instead of the ''article'' parameter. (Note, an error message is displayed if the article is not specified.)
 
|F7=The {{para|rationale}} parameter is optional and left blank. Nevertheless, if used, the text will appear red except [[WP:blue link|blue link]]s
 
|G6=If the {{para|rationale}} parameter is not specified, the default is "This page needs to be deleted to merge histories, reverse a redirect, or perform other non-controversial housekeeping tasks." Unless you need to delete the page for one of these reasons, please specify in this parameter why the page needs to be deleted.  Consider also using one of the alternative templates listed [[#See also|below]].
 
|G12=Where ''sourceurl'' is the full URL of the page from which the content was taken.
 
|T3=Where ''TemplateName'' is the name of the template which has been duplicated or hardcoded
 
 
<tt><nowiki>{{db-t3|~~~~~|</nowiki>rationale=''ExampleReason''<nowiki>}}</nowiki></tt>
 
|F3=
 
|P1=Where ''Criterion'' is the g- or a-series CSD criterion for which the portal page would be eligible if it were in the article namespace
 
|#default=This is the most basic form of the template
 
}}.
 
  
<tt><nowiki>{{</nowiki>db-{{lc:G1}}<nowiki>|bot=ExampleBot</nowiki>{{db doc/compulsory|G1 }}<nowiki>}}</nowiki></tt>
+
<tt><nowiki>{{</nowiki>db-g1<nowiki>}}</nowiki></tt>
  
:[[WP:BOT|Bot accounts]] will specify the <code><nowiki>|bot=</nowiki></code> parameter to notify the reviewing admin that the page was tagged by an automated process.<!--
+
:This is the most basic form of the template.
  
The following lists alternative usage suggestions for those templates that
+
<tt><nowiki>{{</nowiki>db-g1<nowiki>|bot=ExampleBot</nowiki><nowiki>}}</nowiki></tt>
have such specific alternative usages.
 
-->{{#switch:G1|G4|G7|G8|A5|A7|C3|F8|F9|U1|C2=
 
<br>
 
<tt><nowiki>{{</nowiki>db-{{lc:G1}}{{db doc/compulsory|G1 }}<nowiki>|</nowiki>{{#switch:G1
 
|G4=''DeletionDiscussionLink''
 
|G7=rationale=''DeletionRationale''
 
|G8=rationale=''DeletionRationale''
 
|A5=''TranswikiLocation''
 
|A7=''TypeOfEntity''
 
|C3=''Template''
 
|F8=''NameOnCommons''
 
|F9=url=''URL''
 
|U1=diff=''Diff#''
 
|C2=name=''NewCategory''
 
}}<nowiki>}}</nowiki></tt>}}<!--
 
  
The following lists additional alternative usage suggestions for those templates that
+
:[[WP:BOT|Bot accounts]] will specify the <code><nowiki>|bot=</nowiki></code> parameter to notify the reviewing admin that the page was tagged by an automated process.
have more than one.
 
-->{{#switch:G1|G8=
 
<br><br>
 
<tt><nowiki>{{</nowiki>db-{{lc:G1}}{{db doc/compulsory|G1 }}<nowiki>|</nowiki>{{#switch:G1
 
|G8=<nowiki>~~~~~</nowiki>
 
}}<nowiki>}}</nowiki></tt>}}
 
  
:{{#switch:G1
+
:<br>
|G4=Where ''DeletionDiscussionLink'' is the pagename of the most recent [[Wikipedia:Deletion process|XfD]] discussion. This parameter should be specified if the page was previously deleted under a different name, or in a non-obvious location (such as a 2nd or subsequent nomination).  If this parameter is not specified, the default is [[Wikipedia:Articles for deletion/{{PAGENAME}}|Wikipedia:Articles for deletion/<nowiki>{{PAGENAME}}</nowiki>]]
 
|G7=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
 
|G8=If the current date is passed to the template using five tildes, the template will incorporate a delay, and only list the page in [[:Category:Candidates for speedy deletion]] after seven days.  Consider doing this if the talk page has been recently edited, as there may be useful discussions ongoing there
 
|G10=Please also blank the page when applying this tag.
 
|A5=Where ''TranswikiLocation'' is the URL of the page to which the article has been transwiki'd.
 
|A7=Where ''TypeOfEntity'' is the type of subject the article is about (band, company, website, etc).  Please ensure that the entity is one of those listed in the [[Wikipedia:Criteria for speedy deletion#A7|CSD criterion]], and consider instead using one of the more specific templates listed [[#See also|below]]. Note that books, albums, software etc., or [[Wikipedia talk:WikiProject Schools/Criteria for Speedy Deletion A7|schools]], are specifically not allowed under this criterion.
 
|C3=Where ''Template'' is the name of the template which used to populate the category
 
|F8=Where ''NameOnCommons'' is the name of the duplicate image at [[commons:Main page|commons]], '''if''' this is different to the name on Wikipedia.  If this parameter is not specified, it is assumed that the image name is the same
 
|F9=Where ''URL'' is the complete URL of the webpage from which the image appears to have been copied
 
|U1=Where ''Diff#'' is a [[Help:Diff|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
 
|C2=Where ''NewCategory'' is the name of the new category that the page is being speedily-renamed to.
 
}}{{#if:{{db doc/warning templates|G1}}|
 
<br>
 
  
 
== Author notification ==
 
== Author notification ==
Line 150: Line 27:
 
If you nominate a page for deletion under this criterion, please consider placing the following code:
 
If you nominate a page for deletion under this criterion, please consider placing the following code:
  
{{tlsp|{{db doc/warning templates|G1}}|2=''PageName''<nowiki>|</nowiki>header=1{{#switch:G1
+
{{tlsp|nonsensepage|2=''PageName''<nowiki>|</nowiki>header=1}}
|A2=<nowiki>|source=</nowiki>''SourceProject:SourcePageName''
 
|G12|F9=<nowiki>|url=</nowiki>''URL''
 
|F7=<nowiki>|</nowiki>''CurrentTag''
 
}}}}
 
  
...on the User talk page of the main contributor(s) to the page, replacing ''PageName'' with the name of the page being marked for deletion{{#switch:G1|A2=, ''SourceProject'' with the project or language code and ''SourcePageName'' with the name of the page from which the content was taken|G12|F9=, and ''URL'' with the URL from which the material was plagiarised|F7=, and ''CurrentTag'' with the name of the [[Wikipedia:Image copyright tags|image copyright]] tag used on the image}}.  This will display the following [[Wikipedia:User warning templates|user warning template]]:
+
...on the User talk page of the main contributor(s) to the page, replacing ''PageName'' with the name of the page being marked for deletion.  This will display the following [[Wikipedia:User warning templates|user warning template]]:
  
<div style="background:white; border:thin forestgreen;">{{ {{db doc/warning templates|G1}} }}</div>
+
<div style="background:white; border:thin forestgreen;">{G1}</div>
  
}}
+
==See also==
  
==See also==
 
  
{{#switch:G1
 
|G6=
 
''Please consider using one of these more specific templates:''
 
*{{tl|db-disambig}} &ndash; Orphaned, useless [[Wikipedia:Disambiguation pages|disambiguation pages]]
 
*{{tl|db-move}} &ndash; Uncontroversial moves
 
*{{tl|db-copypaste}} &ndash; Fixing copy-and-paste-moves that have no subsequent edits
 
*{{tl|histmerge}} &ndash; Fixing copy-and-paste-moves that have one or more subsequent edits
 
|A7=
 
''Please consider using one of these more specific templates:''
 
*{{tl|db-person}} for articles about real people
 
*{{tl|db-band}} for articles about bands, singers, musicians, or musical groups
 
*{{tl|db-club}} for articles about clubs or groups
 
*{{tl|db-inc}} for articles about companies, corporations or organisations
 
*{{tl|db-web}} for articles about websites, blogs, forums, or other web content
 
*{{tl|db-animal}} for articles about individual animals such as pets
 
*Note that books, albums, software etc., or [[Wikipedia talk:WikiProject Schools/Criteria for Speedy Deletion A7|schools]], are specifically not allowed under the A7 criterion.
 
}}
 
  
 
*[[Wikipedia:Criteria for speedy deletion]]
 
*[[Wikipedia:Criteria for speedy deletion]]
Line 187: Line 42:
 
*[[Wikipedia:Deletion review]]
 
*[[Wikipedia:Deletion review]]
 
*[[Wikipedia:Template messages/User talk namespace]]
 
*[[Wikipedia:Template messages/User talk namespace]]
[[Category:Speedy deletion templates|{{#switch:G1
+
<includeonly>
|G1=G01 |G2=G02 |G3=G03
+
 
|G4=G04 |G5=G05 |G6=G06
+
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
|G7=G07 |G8=G08
+
[[Category:Speedy deletion templates|G01]]
|#default=G1
 
}}]]{{#switch:G1|<!--ADD INTERWIKI LINKS HERE -->
 
|
 
}}
 
}}
 
  
 
[[ms:Templat:Db-g1]]
 
[[ms:Templat:Db-g1]]
 
[[or:ଟେମ୍ପଲେଟ:Db-g1]]
 
[[or:ଟେମ୍ପଲେଟ:Db-g1]]
 
[[ro:Format:Db-g1]]
 
[[ro:Format:Db-g1]]
 +
</includeonly>
 +
}}

Revision as of 07:17, 30 July 2012

Template:Speedy deletion templates

This template is used to tag pages for speedy deletion under the speedy deletion criteria, specifically CSD G1. 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 as nonsense pages.


Usage

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

Parameters

{{db-g1}}

This is the most basic form of the template.

{{db-g1|bot=ExampleBot}}

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

Author notification

If you nominate a page for deletion under this criterion, please consider placing the following code:

{{subst:nonsensepage|PageName|header=1}}

...on the User talk page of the main contributor(s) to the page, replacing PageName with the name of the page being marked for deletion. This will display the following user warning template:

{G1}

See also

}}