Difference between revisions of "Template:Daily archive log/doc"

From blackwiki
Jump to navigation Jump to search
imported>Oiyarbepsy
(up to 2060)
(Undid revision 719115799 by Oiyarbepsy (talk))
Line 8: Line 8:
 
<pre>{{Daily archive log|venue=|year=}}</pre>
 
<pre>{{Daily archive log|venue=|year=}}</pre>
  
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 29th is automatically generated for years up to 2060 - after that, the template will need to be updated.  
+
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 29th is automatically generated.  
  
 
===Example===
 
===Example===

Revision as of 13:46, 10 May 2016

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 ===2009=== 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 29th is automatically generated.

Example

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

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
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