Template:Adate
Appearance
This template creates a table cell with a sortable, centered, and monospaced time stamp in United States Postal Service format.
Use
[edit]{{adate|month|day|year}}
Where:
monthis the optional month number. Ifmonthis empty, this template will display "open". Ifmonth=open, closed, rescinded, nop, unknown, or NA, this template will display that word. Ifmonth=?, this template will display appropriate blanks.dayis the optional day of the month number. Ifday=?, this template will display appropriate blanks.yearis the optional year number. Ifyear=?, this template will display appropriate blanks.
Examples
[edit]| Wikitext | Result |
|---|---|
{{adate}} |
open |
{{adate|closed}} |
closed |
{{adate|rescinded}} |
rescinded |
{{adate|nop}} |
no operation |
{{adate|unknown}} |
unknown |
{{adate|NA}} |
NA |
{{adate|08|01|1876}} |
Aug 01, 1876 |
{{adate|12|31|1899}} |
Dec 31, 1899 |
{{adate|7|4|1976}} |
Jul 04, 1976 |
{{adate|4|?|1998}} |
Apr 1998 |
{{adate|?|?|2023}} |
2023 |
{{adate|?|?|?}} |
See examples at the List of post offices in Colorado.
Note
[edit]- For help with this template, please post a comment on the template talk page with a
{{reply to}}one or more of the previous editors.