Template:Citation Style documentation/date: Difference between revisions
Content added Content deleted
imported>Graham87 (fix list nesting for screen readers) |
imported>Trappist the monk (delete began, ended; add df;) |
||
Line 7: | Line 7: | ||
*# The {{para|date}} format is YYYY-MM-DD. |
*# The {{para|date}} format is YYYY-MM-DD. |
||
*# The citation requires a <code>[[Wikipedia:Citation templates and reference anchors|CITEREF]]</code> [[Template:Sfn#More than one work in a year|disambiguator]]. |
*# The citation requires a <code>[[Wikipedia:Citation templates and reference anchors|CITEREF]]</code> [[Template:Sfn#More than one work in a year|disambiguator]]. |
||
* <span id="csdoc_origyear" />'''orig-year''': Original publication year; displays after the date or year. For clarity, please supply specifics. For example: {{para|orig-year|First published 1859}} or {{para|orig-year|Composed 1904}}. |
* <span id="csdoc_origyear" />'''orig-year''': Original publication year; displays after the date or year. For clarity, please supply specifics. For example: {{para|orig-year|First published 1859}} or {{para|orig-year|Composed 1904}}. |
||
* <span id=" |
* <span id="csdoc_df" />'''df''': date format; sets rendered dates to the specified format; does not support date ranges or seasonal dates. Accepts one value which may be one of these: |
||
*:<code>dmy</code> – set publication dates to day month year format; access- and archive-dates are not modified; |
|||
* <span id="csdoc_ended" />AND: {{xtd|'''ended'''}}: (no longer supported) <s>Full date the last part of the program or episode aired.</s> Use {{para|date}} with a date range.}} |
|||
*:<code>mdy</code> – as above for month day, year format |
|||
*:<code>ymd</code> – as above for year initial numeric format YYYY-MM-DD |
|||
*:<code>dmy-all</code> – set publication, access-, and archive-dates to day month year format; |
|||
*:<code>mdy-all</code> – as above for month day, year format |
|||
*:<code>ymd-all</code> – as above for year initial numeric format YYYY-MM-DD |
|||
{{#if:{{{aliases2|}}}| Aliases:{{{aliases2}}}}} |
{{#if:{{{aliases2|}}}| Aliases:{{{aliases2}}}}} |
||
{{reflist|group=date|refs=<ref name=date>Publication dates in references within an article should all have the same format. This may be a different format from that used for archive and access dates. {{crossref|See [[MOS:DATEUNIFY]].}}</ref>}} |
{{reflist|group=date|refs=<ref name=date>Publication dates in references within an article should all have the same format. This may be a different format from that used for archive and access dates. {{crossref|See [[MOS:DATEUNIFY]].}}</ref>}} |