Template:Delmon/doc

Delmon (short for deletion monitor) is used to monitor articles that have been proposed or nominated for deletion. It shows at a glance:
 * Whether a particular page exists, and whether it is a redirect
 * Pages which do not exist, or are redirects, are indicated with a small marker (■ or R respectively).
 * For pages that exist and are not redirects:
 * Whether the page is tagged for AfD, proposed deletion , or speedy deletion
 * Whether the page has been edited since being tagged for deletion
 * Whether the page has an expired prod and may be deleted

Example use
Delmon called repeatedly to monitor several pages at a glance:

■■ R ■■■ R ■■ R ■ Made up article 1AfD •  R ■■ Made up article 2overdue • ■ Made up article 3 recreated/untagged • Made up article 4(ed) • Made up article 5 • Made up article 6 prev nom!

Parameters
The template may be used with all parameters empty, useful for when article titles will be inserted later.

Logical flow


The template performs a branching series of conditional checks to determine page status, as shown in the adjacent flowchart:


 * If page does not exist:
 * A "■" marker is shown
 * If timestamp is valid and less than [linkfor] days old, the marker is linked to the page
 * If page is a redirect:
 * An " R " marker is shown
 * If timestamp is valid and less than [linkfor] days old, the marker is linked to the page
 * If page exists and is not a redirect:
 * A link to the page is shown
 * If no prod or CSD template is present:
 * If the page is tagged with an AfD template, AfD is shown, linked to the latest AfD
 * Otherwise, recreated/untagged is shown
 * If the page is tagged with a prod or CSD template:
 * If page has been to AfD before, prev nom! is shown, indicating that proposed deletion is not allowed
 * Otherwise:
 * If the most recent editor differs from that of the page where this template is deployed, (ed) is shown ("nocheck" argument disables this)
 * If timestamp is valid and greater than 7 days old, or text indicating expired prod is present, overdue is shown