Template:Citation Style documentation/date: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
imported>Jonesey95 (Simplify after removal of previous indented material. I believe that I have interpreted the previous text correctly, but it was convoluted. Please correct if I got something wrong.) |
m (79 revisions imported) |
||
(29 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
* < |
* <b id="csdoc_date">date</b>: Date of source being referenced. Can be full date (day, month, and year) or partial date (month and year, season and year, or year). Use same format as other publication dates in the citations.{{r|date|group=date}} Required when '''year''' is used to disambiguate {{tlx|sfn}} links to multiple-work citations by the same author in the same year.{{sup|[[Template:Sfn#More_than_one_work_in_a_year|[more]]]}} Do not wikilink. Displays after the authors and is enclosed in parentheses. If there is no author, then displays after publisher.{{#if:{{{aliases|}}}| Aliases: {{{aliases}}}}} {{crossref|For acceptable date formats, see {{section link|Help:Citation Style 1|Dates}}.}} |
||
:For approximate year, precede with "<code>c. </code>", like this: {{para|date|c. 1900}}. |
|||
{{anchor|Undated}} |
|||
⚫ | |||
: |
:For no date, or "undated", use {{para|date|n.d.}} |
||
⚫ | |||
{{Citation Style documentation/auto-date-format}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
* <span id="csdoc_began" />OR: '''began''': Full date the first part of the program or episode aired. |
|||
⚫ | |||
* <span id="csdoc_ended" />AND: '''ended''': Full date the last part of the program or episode aired.}}{{#if:{{{aliases2|}}}| Aliases:{{{aliases2}}}}} |
|||
*# The template uses {{para|ref|harv}} or {{para|mode|cs2}}, or the template is {{tlx|citation}}.{{#if:{{{limited_param_list|}}}|| |
|||
⚫ | |||
⚫ | |||
* <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 |
|||
*:<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}}}}} |
|||
⚫ |
Latest revision as of 20:03, 31 May 2021
- date: Date of source being referenced. Can be full date (day, month, and year) or partial date (month and year, season and year, or year). Use same format as other publication dates in the citations.Template:R Required when year is used to disambiguate
{{sfn}}
links to multiple-work citations by the same author in the same year.Template:Sup Do not wikilink. Displays after the authors and is enclosed in parentheses. If there is no author, then displays after publisher.
- For approximate year, precede with "
c.
", like this:|date=c. 1900
.
- For no date, or "undated", use
|date=n.d.
- Automatic date formatting: Citation Style 1 and 2 templates, including this template, automatically render dates in date parameters (
|date=
,|access-date=
,|archive-date=
, etc.) in the style specified by the article's{{use dmy dates}}
or{{use mdy dates}}
template. See those templates' documentation for details.
- year: Year of source being referenced. Use of
|date=
is recommended unless all of the following conditions are met:- The
|date=
format is YYYY-MM-DD. - The citation requires a
CITEREF
disambiguator. - The template uses
|ref=harv
or|mode=cs2
, or the template is{{citation}}
.
- The
- orig-year: Original publication year; displays in square brackets after the date (or year). For clarity, please supply specifics. For example:
|orig-year=First published 1859
or|orig-year=Composed 1904
. Alias: origyear - df: 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:
dmy
– set publication dates to day month year format; access- and archive-dates are not modified;mdy
– as above for month day, year formatymd
– as above for year initial numeric format YYYY-MM-DDdmy-all
– set publication, access-, and archive-dates to day month year format;mdy-all
– as above for month day, year formatymd-all
– as above for year initial numeric format YYYY-MM-DD
Cite error:
<ref>
tag with name "date" defined in <references>
has group attribute "date" which does not appear in prior text.