Template:Db doc

From FOG Project
Revision as of 21:43, 28 September 2011 by Chad-bisd (talk | contribs) (Created page with "<!-- This template, {{Db doc}}, serves as the documentation for all of the speedy deletion templates. The speedy deletion criterion, e.g. G1, is passed into this template as a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{#ifeq: Db doc | sandbox

|
Template:Template sandbox notice

}}Template:Template otherTemplate:Documentation/start box2 {{#switch: {{#if:Template:Speedy deletion templatesTemplate:Template shortcut This template is used to tag pages for speedy deletion under the speedy deletion criteria{{#ifeq:{{{1}}}|DB||, specifically [[Wikipedia:Criteria for speedy deletion#{{{1}}}|CSD {{{1}}}]]}}. There is a separate template for each criterion – see the table to the right.

This template places the page into the {{#switch:{{{1}}}|G1|G3|G7|G10|G11|G12|A7|R1|F1|F2|F3|F9|U1|T1|T2|T3|T4|A1|A3=categories: Candidates for speedy deletion, and [[:Category:Template:Db doc/othercats|Template:Db doc/othercats]]|C1= [[:Category:Template:Db doc/othercats]]|category: Candidates for speedy deletion}}{{#switch:{{{1}}} |T3= seven days after they are tagged |C1= four days after they are tagged }}.

{{#switch:{{{1}}}|C2= Please note that this template is not the correct process for requesting a speedy-rename of a category. Use Template:Tl for that purpose; this template will be used in the process of completing a request posted through that procedure. }}

Usage

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

Parameters

{{#switch:{{{1}}}|G4=

{{#switch:{{{1}}}

|G4=Please note that this template is only to be used for reposting of content previously deleted via an XfD-type discussion. |#default= }}
}} {{db-{{{1}}}{{#switch:{{{1}}} |A2=|source=SourceProject:SourcePageName |A10=|article=existing article title |G6=|rationale=The reason for deletion |G12=|url=sourceurl |T3=|~~~~~|TemplateName |F1=|ImageName |P1=|Criterion }}}}

{{#switch:{{{1}}}

|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.) |G6=If the Template:Para 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 below. |unpatrolled=The need for this template is only temporary. Once Bugzilla case 17463 gets fixed, this specific template may be deleted. A page that must be recreated with this template should contain only this template |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

{{db-t3|~~~~~|rationale=ExampleReason}} |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 }}.

{{db-{{{1}}}|bot=ExampleBot{{#switch:{{{1}}} |A2=|source=SourceProject:SourcePageName |A10=|article=existing article title |G6=|rationale=The reason for deletion |G12=|url=sourceurl |T3=|~~~~~|TemplateName |F1=|ImageName |P1=|Criterion }}}}

Bot accounts will specify the |bot= parameter to notify the reviewing admin that the page was tagged by an automated process.{{#switch:{{{1}}}|G4|G7|G8|A5|A7|C3|F8|F9|U1|C2=


{{db-{{{1}}}{{#switch:{{{1}}} |A2=|source=SourceProject:SourcePageName |A10=|article=existing article title |G6=|rationale=The reason for deletion |G12=|url=sourceurl |T3=|~~~~~|TemplateName |F1=|ImageName |P1=|Criterion }}|{{#switch:{{{1}}} |G4=DeletionDiscussionLink |G7=rationale=DeletionRationale |G8=rationale=DeletionRationale |A5=TranswikiLocation |A7=TypeOfEntity |C3=Template |F8=NameOnCommons |F9=url=URL |U1=difflink=DiffLink |C2=name=NewCategory }}}}}}{{#switch:{{{1}}}|G8=

{{db-{{{1}}}{{#switch:{{{1}}} |A2=|source=SourceProject:SourcePageName |A10=|article=existing article title |G6=|rationale=The reason for deletion |G12=|url=sourceurl |T3=|~~~~~|TemplateName |F1=|ImageName |P1=|Criterion }}|{{#switch:{{{1}}} |G8=~~~~~ }}}}}}

{{#switch:{{{1}}}

|G4=Where DeletionDiscussionLink is the pagename of the most recent 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}} |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 CSD criterion, and consider instead using one of the more specific templates listed below. Note that books, albums, software etc., or 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, 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 DiffLink is a URL for 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 |C2=Where NewCategory is the name of the new category that the page is being speedily-renamed to. }}{{#if:Template:Db doc/warningtemps|

Author notification

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

Template:Tlsp

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:{{{1}}}|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 image copyright tag used on the image}}. This will display the following user warning template:

{{ Template:Db doc/warning templates }}

}}

See also

{{#switch:{{{1}}} |G6= Please consider using one of these more specific templates:

|A7= Please consider using one of these more specific templates:

  • Template:Tlx for articles about real people
  • Template:Tlx for articles about bands, singers, musicians, or musical groups
  • Template:Tlx for articles about clubs or groups
  • Template:Tlx for articles about companies, corporations or organisations
  • Template:Tlx for articles about websites, blogs, forums, or other web content
  • Template:Tlx for articles about individual animals such as pets
  • Note that books, albums, software etc., or schools, are specifically not allowed under the A7 criterion.

}}

 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:Template:Documentation/template page/doc|1|0}} | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = Template:Speedy deletion templatesTemplate:Template shortcut This template is used to tag pages for speedy deletion under the speedy deletion criteria{{#ifeq:{{{1}}}|DB||, specifically [[Wikipedia:Criteria for speedy deletion#{{{1}}}|CSD {{{1}}}]]}}. There is a separate template for each criterion – see the table to the right.

This template places the page into the {{#switch:{{{1}}}|G1|G3|G7|G10|G11|G12|A7|R1|F1|F2|F3|F9|U1|T1|T2|T3|T4|A1|A3=categories: Candidates for speedy deletion, and [[:Category:Template:Db doc/othercats|Template:Db doc/othercats]]|C1= [[:Category:Template:Db doc/othercats]]|category: Candidates for speedy deletion}}{{#switch:{{{1}}} |T3= seven days after they are tagged |C1= four days after they are tagged }}.

{{#switch:{{{1}}}|C2= Please note that this template is not the correct process for requesting a speedy-rename of a category. Use Template:Tl for that purpose; this template will be used in the process of completing a request posted through that procedure. }}

Usage

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

Parameters

{{#switch:{{{1}}}|G4=

{{#switch:{{{1}}}

|G4=Please note that this template is only to be used for reposting of content previously deleted via an XfD-type discussion. |#default= }}
}} {{db-{{{1}}}{{#switch:{{{1}}} |A2=|source=SourceProject:SourcePageName |A10=|article=existing article title |G6=|rationale=The reason for deletion |G12=|url=sourceurl |T3=|~~~~~|TemplateName |F1=|ImageName |P1=|Criterion }}}}

{{#switch:{{{1}}}

|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.) |G6=If the Template:Para 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 below. |unpatrolled=The need for this template is only temporary. Once Bugzilla case 17463 gets fixed, this specific template may be deleted. A page that must be recreated with this template should contain only this template |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

{{db-t3|~~~~~|rationale=ExampleReason}} |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 }}.

{{db-{{{1}}}|bot=ExampleBot{{#switch:{{{1}}} |A2=|source=SourceProject:SourcePageName |A10=|article=existing article title |G6=|rationale=The reason for deletion |G12=|url=sourceurl |T3=|~~~~~|TemplateName |F1=|ImageName |P1=|Criterion }}}}

Bot accounts will specify the |bot= parameter to notify the reviewing admin that the page was tagged by an automated process.{{#switch:{{{1}}}|G4|G7|G8|A5|A7|C3|F8|F9|U1|C2=


{{db-{{{1}}}{{#switch:{{{1}}} |A2=|source=SourceProject:SourcePageName |A10=|article=existing article title |G6=|rationale=The reason for deletion |G12=|url=sourceurl |T3=|~~~~~|TemplateName |F1=|ImageName |P1=|Criterion }}|{{#switch:{{{1}}} |G4=DeletionDiscussionLink |G7=rationale=DeletionRationale |G8=rationale=DeletionRationale |A5=TranswikiLocation |A7=TypeOfEntity |C3=Template |F8=NameOnCommons |F9=url=URL |U1=difflink=DiffLink |C2=name=NewCategory }}}}}}{{#switch:{{{1}}}|G8=

{{db-{{{1}}}{{#switch:{{{1}}} |A2=|source=SourceProject:SourcePageName |A10=|article=existing article title |G6=|rationale=The reason for deletion |G12=|url=sourceurl |T3=|~~~~~|TemplateName |F1=|ImageName |P1=|Criterion }}|{{#switch:{{{1}}} |G8=~~~~~ }}}}}}

{{#switch:{{{1}}}

|G4=Where DeletionDiscussionLink is the pagename of the most recent 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}} |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 CSD criterion, and consider instead using one of the more specific templates listed below. Note that books, albums, software etc., or 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, 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 DiffLink is a URL for 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 |C2=Where NewCategory is the name of the new category that the page is being speedily-renamed to. }}{{#if:Template:Db doc/warningtemps|

Author notification

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

Template:Tlsp

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:{{{1}}}|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 image copyright tag used on the image}}. This will display the following user warning template:

{{ Template:Db doc/warning templates }}

}}

See also

{{#switch:{{{1}}} |G6= Please consider using one of these more specific templates:

|A7= Please consider using one of these more specific templates:

  • Template:Tlx for articles about real people
  • Template:Tlx for articles about bands, singers, musicians, or musical groups
  • Template:Tlx for articles about clubs or groups
  • Template:Tlx for articles about companies, corporations or organisations
  • Template:Tlx for articles about websites, blogs, forums, or other web content
  • Template:Tlx for articles about individual animals such as pets
  • Note that books, albums, software etc., or schools, are specifically not allowed under the A7 criterion.

}}

| 0110 | 0111 = Template loop detected: Template:Documentation | 0001 | 0011 = {{ {{#switch: Template

 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:Template:Documentation/template page/doc }} | 0000 | 0100 | 0010 | 0101 = }} Template:Documentation/end box2