Difference between revisions of "Template:Adt"
en>SMcCandlish (This should default to the format used by most of the world's people and peoples, not the least-used. This template defaulting to ISO may be why we have so much inappropriate use of ISO dates.) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 02:13, 2 January 2019
accessdate=23 November 2024
This template should always be substituted (i.e., use {{subst:Adt}}). |
Adt creates the 'accessdate' field and value for most Citation templates.
Access dates may be implemented in three formats and should be consistent throughout the article:
- D Month YYYY: 3 November 2024 ("DMY" – day followed by full month name, followed by year; no leading zeros)
- Month D, YYYY: November 3, 2024 ("MDY" – full month name then day; comma separating the day and year; no leading zeros)
- YYYY-MM-DD: 2024-11-03 ("ISO" — all numeric, with 2-digit day and month)
Usage
This template MUST be subst'd.
When subst'd, the template provides the accessdate
parameter name, the =
sign, and the formatted date. You may specify a date format to be consistent with the other citations in the article:
Markup | Generates | Renders as |
---|---|---|
|
|
|
Note that the template does not include the leading pipe (|
); always precede {{subst:adt}}
with a pipe character as in the examples above.
The above documentation is transcluded from Template:Adt/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |