Template:Archive header/doc

From Wikisource
Jump to navigation Jump to search

Usage[edit]

{{archive header}}

This template is placed at the top of a discussion archive page.

This template will automatically add the date the archive page was created if the archive page title is either <current discussion page>/Archives/<date>, or (if there is no index) <current discussion page>/<date>. The date format is yyyy-mm-dd (one of 2021, 2021-10, or 2021-10-14). For example, Wikisource:Scriptorium/Archives/2020-01.

Parameters[edit]

  • 1, date: date of the archive page's creation
  • description: description of the archive page

date[edit]

Optional parameter to change what date the header says the archive page was created. Date must be in yyyy-mm-dd format.

{{archive header|2001}}

produces

Warning Please do not post any new comments on this page.
This is a discussion archive first created in , although the comments contained were likely posted before and after this date.
See current discussion.
{{archive header|2019-1}}

produces

Warning Please do not post any new comments on this page.
This is a discussion archive first created in , although the comments contained were likely posted before and after this date.
See current discussion.
{{archive header|2021-03-10}}

produces

Warning Please do not post any new comments on this page.
This is a discussion archive first created on , although the comments contained were likely posted before and after this date.
See current discussion.

description[edit]

Optional parameter to change the description of the archive page.

{{archive header|description = first created in October 2012, although the comments contained were likely posted before and after this date}}

produces

Warning Please do not post any new comments on this page.
This is a discussion archive first created in October 2012, although the comments contained were likely posted before and after this date.
See current discussion.
{{archive header|description = which contains no comments because it's an example}}

produces

Warning Please do not post any new comments on this page.
This is a discussion archive which contains no comments because it's an example.
See current discussion.

See also[edit]