Difference between revisions of "Template:Citation Style documentation/date"

From Timelines
Jump to: navigation, search
(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.)
(deprecate "began" and "ended")
Line 6: Line 6:
 
:# 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}}.{{#if:{{{began|}}}|
 
* <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}}.{{#if:{{{began|}}}|
* <span id="csdoc_began" />OR: '''began''': Full date the first part of the program or episode aired.
+
* {{xtd|'''coauthors'''}}: (deprecated) <s>Names of coauthors. Requires '''author''', '''authors''', or '''last''n'''''</s> Include coauthors in '''author''' or '''authors''' or use separate '''author''n''''' or '''last''n'''''/'''first''n''''' to list coauthors.}}
* <span id="csdoc_ended" />AND: '''ended''': Full date the last part of the program or episode aired.}}{{#if:{{{aliases2|}}}|&#32;Aliases:{{{aliases2}}}}}
+
* <span id="csdoc_began" />OR: {{xtd|'''began'''}}: (deprecated) <s>Full date the first part of the program or episode aired.</s> Use {{para|date}} with a date range.
 +
* <span id="csdoc_ended" />AND: {{xtd|'''ended'''}}: (deprecated) <s>Full date the last part of the program or episode aired.</s> Use {{para|date}} with a date range.}}
 +
{{#if:{{{aliases2|}}}|&#32;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. 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. See: [[MOS:DATEUNIFY]].</ref>}}

Revision as of 22:30, 18 April 2015

  • <span id="csdoc_date" />date: Date of source being referenced. Can be full date (day, month, and year) or partial date (month and year, or year). Use same format as other publication dates in the citations.[date 1] Required when year is used to disambiguate {{sfn}} links to multiple-work citations by the same author in the same year.[more] Do not wikilink. Displays after the authors and is enclosed in parentheses. If there is no author, then displays after publisher.
  • <span id="csdoc_year" />year: Year of source being referenced. Use of |date= is recommended unless all of the following conditions are met:
  1. The template uses |ref=harv, or the template is {{citation}}, or |mode=cs2)
  2. The |date= format is YYYY-MM-DD.
  3. The citation requires a CITEREF disambiguator.
  • <span id="csdoc_origyear" />orig-year: Original publication year; displays after the date or year. For clarity, please supply specifics. For example: |orig-year=First published 1859 or |orig-year=Composed 1904.
  • <span id="csdoc_began" />OR: began: (deprecated) Full date the first part of the program or episode aired. Use |date= with a date range.
  • <span id="csdoc_ended" />AND: ended: (deprecated) Full date the last part of the program or episode aired. Use |date= with a date range.}}
  1. 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. See: MOS:DATEUNIFY.