Template:Daily archive log/doc

From WikiProjectMed
Jump to navigation Jump to search

This template creates a year's worth of links to daily archive logs. This is intended for deletion logs, but could be used by any page that uses such daily log pages.

Usage

Normally this would be placed on the archives page for a discussion venue, under a heading that gives the year - that is, the template might go under ===2024=== in the page code.

The template has the following form:

{{Daily archive log|venue=|year=}}

Venue would be the discussion venue, such as Files for discussion. Some venues require including "/Log" to work, for example Articles for deletion/Log. For leap years, the entry for February 29 is automatically generated.

Dates in the future (i.e., 2024 July 17 and later) are not shown. In particular, if |year= is entirely in the future (i.e., 2025 or later), nothing will be displayed.

Example

{{Daily archive log
|venue=Files for discussion
|year={{CURRENTYEAR}}
}}

creates:


January 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
February 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
March 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
April 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
May 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
June 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
July 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16