Template:Citation Style documentation/date: Difference between revisions

add note about auto date formatting
imported>Hildeoc
mNo edit summary
imported>Jonesey95
(add note about auto date formatting)
Line 3:
{{anchor|Undated}}
:For no date, or "undated", use {{para|date|n.d.}}
 
:Automatic date formatting: [[Help:Citation Style 1|Citation Style 1]] and [[Help:Citation Style 2|2]] templates, including this template, automatically render dates in date parameters ({{para|date}}, {{para|access-date}}, {{para|archive-date}}, etc.) in the style specified by the article's {{tlx|use dmy dates}} or {{tlx|use mdy dates}} template. See those templates' documentation for details.
* <b id="csdoc_year">year</b>: Year of source being referenced. Use of {{para|date}} is recommended unless {{em|all}} of the following conditions are met:
*# The {{para|date}} format is YYYY-MM-DD.
Line 8 ⟶ 10:
*# The template uses {{para|ref|harv}} or {{para|mode|cs2}}, or the template is {{tlx|citation}}.{{#if:{{{limited_param_list|}}}||
* <b id="csdoc_origyear">orig-year</b>: Original publication year; displays in square brackets after the '''date''' (or '''year'''). For clarity, please supply specifics. For example: {{para|orig-year|First published 1859}} or {{para|orig-year|Composed 1904}}. Alias: '''origyear'''}}
* <b id="csdoc_df">df</b>: date format; sets rendered dates to the specified format; does not support date ranges or seasonal dates; overrides the automatic date formatting described above. 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;
*:<code>mdy</code> – as above for month day, year format
Anonymous user