Misplaced Pages

Template:Db-meta: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 09:54, 18 August 2006 view sourceMarkGallagher (talk | contribs)Extended confirmed users9,550 edits current wording inadvertantly implies that {{hangon}} should be used by anyone, not just author, if they disagree with speedy deletion. This is Wrong, and the distinction is Important.← Previous edit Latest revision as of 17:34, 3 September 2024 view source Paine Ellsworth (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, File movers, New page reviewers, Pending changes reviewers, Rollbackers, Template editors255,936 edits one more place and done 
(195 intermediate revisions by 76 users not shown)
Line 1: Line 1:
{{#ifeq: {{{raw|}}} | yes<!--
<div name="Deletion notice" class="notice" id="delete" style="margin:0 5%; padding:.5em; background:{{{bgcolor|#FEE}}}; border:1px solid #999; text-align:left; font-size:95%;">'''This page may meet Misplaced Pages's ]. The given reason is: ''{{{1}}} {{{reason|}}}'''''


If raw=yes, include a short deletion message with no message box-->
If you agree with the deletion, there is no need to do anything; you do not need to blank this page.
| <b>{{ucfirst:{{{1}}}}}.</b>&#32;<!--
-->{{#if: {{{2|}}} | <i>{{{2}}}</i>.&#32;}}<!--
-->{{#ifeq:{{{criterion}}}| NA
|
| <b>See ].</b>
}}<!--
-->{{#if: {{{rationale|}}}
| &#32;<span style="color:red; font-weight:bold;">{{{rationale}}}</span>
}}<!--


If raw != yes, then include the full deletion template with message box -->
If this page obviously does not meet the criteria for speedy deletion, or you intend to fix it, please remove this notice, but '''do not remove this notice from pages that you have created yourself.''' If you created this page and you disagree with this page's proposed speedy deletion, please explain why on {{#ifeq:{{NAMESPACE}}
|{{mbox
|{{TALKSPACE}}
| class = mbox-db
|this talk page
| type = speedy
|]
| image = none
}}, after adding the text "hangon" with two ''brace brackets'' into the article, following the <tt><nowiki>{{db-reason}}</nowiki></tt> tag at the top of the article:
| style = font-size:95%;
| text =
<b><i>This {{if empty|{{{pagetype_override|}}}|{{pagetype|defaultns=all}}}} {{#if:{{{bot|}}}|was tagged by ], because it}} may meet Misplaced Pages's ]</i>{{{1}}}.</b>&#32;{{#if:{{{2|}}}|<i>{{{2}}}</i>.&#32;}}{{#ifeq:{{{criterion}}}|NA||<b>See ].</b>}}<span id="delete-reason" style="display:none">{{urlencode:{{#ifeq:{{{criterion}}}|NA||]:}} {{{summary|}}}}}</span><span id="delete-criterion" style="display:none">{{uc:{{{criterion}}}}}</span>{{#if:{{{rationale|}}}|&#32;<span style="color:red; font-weight:bold;">{{{rationale}}}</span>}}


<p class="verbose">If this {{if empty|{{{pagetype_override|}}}|{{pagetype|defaultns=all}}}} does not meet the criteria for speedy deletion, {{#ifeq:{{{self}}}|yes|please remove this notice.<br /></p>|or you intend to fix it, please remove this notice, but '''do not remove this notice from {{#ifeq:{{NAMESPACE}}|File|files you have uploaded|pages that you have created yourself}}'''. If you {{#ifeq:{{NAMESPACE}}|File|uploaded this file|created this page}} and you disagree with the given reason for deletion, you can click the button below and leave a message explaining why you believe it should not be deleted. You can {{talk other|check back later to see|also ] to check}} if you have received a response to your message.
:<tt><nowiki>{{hangon}}</nowiki></tt>
</p>


<!-- "Contest this speedy deletion" button -->
This will alert administrators to your intention, and may permit you the time to write your explanation.
{{#tag: inputbox |
type=commenttitle
default=Contested deletion
preload=Template:Hangon preload {{#switch:{{uc:{{{criterion|NA}}}}}|G3|G10|G11|G12|G14|A1|A2|A3|A7|A9|A10|A11|R3|F1|F2|F3|F4|F5|F6|F7|F8|F9|F11|C1={{uc:{{{criterion}}}}}|#default=generic}}
hidden=yes
page={{#titleparts:{{TALKPAGENAME}}|255}}
buttonlabel=Contest this speedy deletion
break=no
editintro=Template:Hangon preload editintro
}}


<p class="verbose">Note that this {{pagetype|defaultns=all}} may be deleted at any time if it unquestionably meets the speedy deletion criteria, or if an explanation {{talk other|added below this notice|posted to the talk page}} is found to be insufficient.</p><!--
<span class="plainlinks">''], remember to check ], the (), the , and any revisions of CSD before ] {{{notes|}}}''</span>
-->{{#ifeq:{{{help}}}|off||
<!--


-- Text for the warning message to substitute on user talk pages --
</div><noinclude>
]
]


-->{{#if: {{{temp|}}}
|
:<small>'''''Nominator''': Please consider placing the ]:''</small>
:<small><code>''<nowiki>{{subst:</nowiki>]<nowiki>|</nowiki>{{FULLPAGENAME}}<nowiki>|header=1</nowiki>{{{temp2|}}}<nowiki>}} </nowiki>{{#ifeq:{{{sig|x}}}|x|<nowiki>~~~~</nowiki>}}''</code></small>
:''<small>on the talk page of the author.</small>''
<!--
-->}}}}<!--


Add notice about using the talk page, or a notice for administrators if the talk page exists -->
]
{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||{{#ifexist:{{TALKPAGENAME}}|{{Hang on/notice3}}|<div class="verbose">{{Hang on/notice2}}</div>}}}}}}
]

]
<!--Space for other notes -->
{{#if:{{{notes|}}}|{{{notes}}}<br />}}<!--

-- Message for admins --

--><small><span class="sysop-show">''Administrators: check ], ], (), and before ]:}} {{{summary|}}}}}&action=delete}} deletion]{{#if:{{{bot|}}}|, as this page was tagged by a ]}}{{#if:{{{anote|}}}|{{{anote}}}|.}} {{#ifeq:{{{self}}}|yes||Consider ].}}''<br/></span>This page was {{#if: {{REVISIONUSER}} | by ] <small>{{toolbar|1=]|2=]}}</small> }} at {{#time:H:i, j F Y (e)|{{REVISIONTIMESTAMP}}}} ()</small><!--


-->}}<!--
-- End main mbox code, start courtesy blanking notices and div blanking tag --

-->{{#if: {{{blanked|}}} | {{mbox|image=none|text= {{{blanked-text|This page has been ].}}}}} |}}{{#if: {{{pleaseblank|}}} | {{mbox|type=delete|text=<big>{{red|Please ] so that it only contains the deletion template.}}</big>}} |}}{{#if: {{{divblank|}}} | <div id="AttackPage" style="display:none"><!--do not close this div tag; it is there to ensure that any content remaining on the page does not display --> |}}

}}<!-- End if statement for "raw" parameter-->{{NOINDEX}}<noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
</noinclude> </noinclude>

Latest revision as of 17:34, 3 September 2024

This template may meet Misplaced Pages's criteria for speedy deletion{{{1}}}. See ].%5B%5BWP%3ACSD%23%7B%7B%7BCRITERION%7D%7D%7D%7C%7B%7B%7BCRITERION%7D%7D%7D%5D%5D%3A{{{CRITERION}}}

If this template does not meet the criteria for speedy deletion, or you intend to fix it, please remove this notice, but do not remove this notice from pages that you have created yourself. If you created this page and you disagree with the given reason for deletion, you can click the button below and leave a message explaining why you believe it should not be deleted. You can also visit the talk page to check if you have received a response to your message.

Note that this template may be deleted at any time if it unquestionably meets the speedy deletion criteria, or if an explanation posted to the talk page is found to be insufficient.

Note to administrators: this template has content on its talk page which should be checked before deletion.

Administrators: check links, talk, history (last), and logs before deletion. Consider checking Google.
This page was last edited by Paine Ellsworth (contribs | logs) at 17:34, 3 September 2024 (UTC) (3 months ago)
Template documentation[view] [edit] [history] [purge]

Usage

This template is a meta-template used to create the other speedy deletion templates used for nominating pages for speedy deletion. Do not attempt to use this template directly on articles. For a generic speedy deletion template, see {{db}}.

Syntax

Basic syntax:

{{db-meta
 |bot={{{bot|}}}
 |raw={{{raw|}}}
 |criterion=
 |1=
 |2=
 |temp=
 |summary=
}}

Extended syntax:

{{db-meta
 |bot={{{bot|}}}
 |raw={{{raw|}}}
 |criterion=
 |1=
 |2=
 |rationale=
 |summary=
 |self=
 |notes=
 |anote=
 |temp=
 |temp2=
 |sig=
 |image=
 |wiki=
 |blanked=
 |blanked-text=
 |pleaseblank=
 |divblank=
 |help=
}}

Parameters

Required parameters

  • |criterion= is the Criterion number from Misplaced Pages:Speedy deletion criteria. Do not create a CSD template which does not already have a CSD criterion.
  • |1= is the text which will go in bold immediately after "may qualify for speedy deletion". Note that there is no space between the word "deletion" and the parameter – if you want to continue the sentence without punctuation, use an HTML space (&#32;) to prevent the template 'eating' the leading space. A trailing full stop is already included in db-meta, so don't add it to this parameter
Recommended parameters
These parameters are generally used in all speedy deletion templates based on db-meta, and some may break other templates/scripts if they are omitted.
  • |2= is the text which appears in italics after |1=. This should be a complete sentence, minus trailing punctuation (a full stop is included in db-meta).
  • |temp= is the user warning template which corresponds to the CSD criterion. For instance, {{db-a1}} uses Template:empty-warn, so passes the parameter |temp=empty-warn. All such warning templates should be categorised at Category:Speedy deletion warning templates
  • |summary= is the brief summary which will be preloaded into the deletion confirmation screen. There is no need to include the CSD criterion as this is added automatically.
  • |bot= is the name of the bot account that tagged the page for deletion, if applicable. This should be passed through to the specific deletion template, using |bot={{{bot|}}}. It should not be called directly from db-meta.
  • |raw= is used for generating a simple deletion message with no message box. It should be passed through to the specific deletion template, using |raw={{{raw|}}}. This parameter is used by {{db-multiple}} to generate the notices about individual speedy deletion criteria.

Optional parameters

  • |rationale= adds a custom deletion rationale in red after the speedy deletion criterion number.
  • |self=: if this parameter exists, there is no message about not removing speedy deletion templates from things you have created/uploaded yourself.
  • |notes= is a space for notes. It appears after the notice about using the talk page for contesting speedy deletions, and before the message only visible to admins.
  • |anote= adds an extra custom note to the message only visible to admins.
  • |temp2= allows the addition of extra parameters to the end of the user warning template specified in |temp=.
  • |sig=: if this exists, the four tildes normally appended to the user warning template text are removed.
  • |image= adds an image to the right-hand side of the template. Include only the image name; do not add "File:" or "Image:".
  • |wiki= is the interwikimedia link for the image named in |image=, if it is not on the English Misplaced Pages.
  • |blanked=: if this exists, a message box is shown beneath the main deletion template that says "This page has been blanked as a courtesy."
  • |blanked-text= is the custom text for the "blanked" message box. |blanked= must exist for this to work.
  • |pleaseblank=: if this exists, a message box is shown beneath the main deletion template that says "Please blank this page so that it only contains the deletion template."
  • |divblank=: if this parameter exists, the code <div id="AttackPage" style="display:none"> is added to the end of the deletion template, which prevents all subsequent content on the page from being displayed.
  • |help=: pass |help=off to hide the message to the nominator about notifying the author.

Other notes

  • For templates which have variants, like {{db-g6}} and {{db-a7}}, it is recommended to base the variants on those templates, rather than directly on db-meta. For instance, {{db-band}} calls {{db-a7}} which in turn calls db-meta, rather than db-band calling db-meta directly.
  • All CSD templates using db-meta produce two invisible spans which may be useful for client-side JavaScript:
    • <div id="delete-criterion"></div> contains only the CSD criterion ("A1", "P2", "R3", etc.)
    • <div id="delete-reason"></div> contains a complete, legible deletion log summary which is suitable for preloading into the deletion confirmation screen.

TemplateData

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

TemplateData for Db-meta

A meta template, used for various speedy deletion templates. Don't transclude this template directly.

Template parameters

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
22

no description

Unknownoptional
rawraw

Set to any value to remove the red box around the deletion message (used for {{db-multiple}}). Don't use this directly.

Unknownoptional
criterioncriterion

no description

Unknownoptional
rationalerationale

Rationale

Example
Why the page should be deleted.
Unknownoptional
botbot

Bot?

Unknownoptional
summarysummary

no description

Unknownoptional
selfself

no description

Unknownoptional
helphelp

no description

Unknownoptional
temptemp

no description

Unknownoptional
temp2temp2

no description

Unknownoptional
sigsig

no description

Unknownoptional
notesnotes

no description

Unknownoptional
anoteanote

no description

Unknownoptional
blankedblanked

no description

Unknownoptional
blanked-textblanked-text

no description

Unknownoptional
pleaseblankpleaseblank

no description

Unknownoptional
divblankdivblank

no description

Unknownoptional
The above documentation is transcluded from Template:Db-meta/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: