Template:Citation access-date/doc: Difference between revisions
SMcCandlish (talk | contribs) m tweak |
cat was renamed |
||
Line 35: | Line 35: | ||
<includeonly> |
<includeonly> |
||
<!-- Categories and interwikis go here: --> |
<!-- Categories and interwikis go here: --> |
||
[[Category:Citation |
[[Category:Citation utility templates]] |
||
[[Category:ISO date templates]] |
[[Category:ISO date templates]] |
||
</includeonly> |
</includeonly> |
Revision as of 02:02, 24 November 2015
This is a documentation subpage for Template:Citation access-date. It may contain usage information, categories and other content that is not part of the original template page. |
This template should always be substituted (i.e., use {{subst:Citation access-date}} ). |
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 January 2025 ("DMY" – day followed by full month name, followed by year; no leading zeros)
- Month D, YYYY: January 3, 2025 ("MDY" – full month name then day; comma separating the day and year; no leading zeros)
- YYYY-MM-DD: 2025-01-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.