Template:Delete/doc

From Zoophilia Wiki
Revision as of 18:55, 21 November 2024 by SockyPaws (talk | contribs) (Migrate template documentation to subpage and increase its informational value)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The {{Delete}} template is intended for use by editors to alert wiki administrators of pages they feel should be deleted. Any articles transcluding this template are added into the corresponding Candidates for deletion tracking category.

Usage

The template accepts two parameters, one unnamed/positional and the other named |nocat=. The first is intended to record the rationale behind the editor's decision to place it on the page, and should always be used (as seen below). If the rationale includes an equality symbol anywhere within it, this parameter must be assigned as |1= rather than being unnamed.

{{Delete|Reason for deletion}} or
{{Delete|1=Because this article = pure dumbness.}}

…whose parsed output is…

DELETION CANDIDATE
Relevant discussion regarding this proposal may be found on this article's talk page. Rationale: Reason for deletion
DELETION CANDIDATE
Relevant discussion regarding this proposal may be found on this article's talk page. Rationale: Because this article = pure dumbness.

Categorization

The |nocat= parameter suspends the template's categorization behavior when assigned any non-null value, preventing the transcluding page from being added to the tracking category mentioned above. This is primary meant for use when demonstrating the template's use. In fact, it can be seen in use on this very page in the two examples above, the first of which having the wikitext:

{{Delete|Reason for deletion|nocat=y}}

TemplateData

This is the TemplateData for this template, used by TemplateWizard, VisualEditor and other tools.

TemplateData for Delete

Displays a notice informing visitors that the page has been proposed for deletion and adds it to the Candidates for deletion category

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Rationale1

The reason why you think the page should be deleted

Default
None given.
Example
Unused redirect
Linesuggested
Disable categorizationnocat

Suspends the addition of the transcluding page into the associated tracking category when assigned any non-null value; primarily intended for instances of demonstrating template usage.

Suggested values
true on yes y 1
Example
yes
Lineoptional