Template:Citation Style documentation/date: Difference between revisions
Content added Content deleted
imported>SMcCandlish (self-rv; I forgot this parameter does all kinds of checking for certain allowed values; we need to change it to permit "undated" as permissible input (and "undated" as the output in that case)) |
imported>SMcCandlish m (put the more restrictive conditions first) |
||
Line 4: | Line 4: | ||
:For no date, or "undated", add as {{para|date|n.d.}} |
:For no date, or "undated", add as {{para|date|n.d.}} |
||
* <b id="csdoc_year">year</b>: Year of source being referenced. Use of {{para|date}} is recommended unless all of the following conditions are met: |
* <b id="csdoc_year">year</b>: Year of source being referenced. Use of {{para|date}} is recommended unless all of the following conditions are met: |
||
⚫ | |||
*# 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]]. |
||
⚫ | |||
* <b id="csdoc_origyear">orig-year</b>: 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}}. Alias: '''origyear'''}} |
* <b id="csdoc_origyear">orig-year</b>: 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}}. 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. Accepts one value which may be one of these: |
* <b id="csdoc_df">df</b>: 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: |