Template:Abandoned

From Wikinews, the free news source you can write!
Jump to navigation Jump to search
[edit] Template documentation

When to use

After four days unedited, unpublished articles may be marked abandoned (per WN:PROD).

Usage

Call in one of the following ways:

  • {{subst:aband}} (Automatically includes the correct date)
  • {{abandoned|March 19, 2024}} (Be sure to use the correct date)
  • {{abandoned}} (Has no date, links to edit history for date)

Dates more than a year in the future or past may cause problems (incorrect number of days).

Examples




Internals

The message is generated by subtemplate {{Abandoned/msg}}, which takes the number of days' warning as a parameter, thereby documenting that constant in the message markup. This template and its subtemplate may put the page in various of the following categories:

At this writing, the software platform does not update categorization that depends on date; so, while the bottom of a tagged page will show a category "Abandoned, to be deleted in 1 day", or whatever, the page will not show up on the list under that category unless the page has been edited on the current date.