ਫਰਮਾ:Archive header
Usage
{{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 {{#time:Y}}
, {{#time:Y-m}}
, or {{#time:Y-m-d}}
). For example, Wikisource:Scriptorium/Archives/2020-01.
This template also applies the magic word __ARCHIVEDTALK__
Parameters
- 1, date: date of the archive page's creation
- description: description of the archive page
date
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
{{archive header|2019-1}}
produces
{{archive header|2021-03-10}}
produces
description
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
{{archive header|description = which contains no comments because it's an example}}
produces
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
templatedata
adds a standard header; for use with pages that are talk page archives
ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
---|---|---|---|---|
1 | 1 | no description | Unknown | optional |
description | description | allows for a description of the archive
| String | optional |
date | date 1 | takes a date string YYYY, or YYYY-MM, or YYYY-MM-DD
| Date | suggested |