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

From Timelines
Jump to: navigation, search
(Updating documentation per July 2014 RFC)
(Made year usage much more explicit based on this discussion User talk:Tom.Reding#Year vs. date citation parameter preference. (basically: date is preferred under normal (simple) circumstances))
Line 3: Line 3:
 
* <span id="csdoc_year" />OR:
 
* <span id="csdoc_year" />OR:
 
** '''year''': Year of source being referenced. Required with some types of {{tld|sfn}} citations;{{sup|[[Template:Sfn#More_than_one_work_in_a_year|[more]]]}} otherwise use '''date'''.
 
** '''year''': Year of source being referenced. Required with some types of {{tld|sfn}} citations;{{sup|[[Template:Sfn#More_than_one_work_in_a_year|[more]]]}} otherwise use '''date'''.
 +
** '''year''': is required when <code>|ref=harv</code> is used ''and'' when the value in '''date''' is non-numeric in DMYYYY, MDYYYY, YYYYMD, etc. format. For example: citations with <code>|ref=harv</code> and <code>|date=Winter 2012</code> or <code>|date=23–24 Sep 2012</code>, etc. require <code>|year=2012</code>.
 +
** '''year''': is required when a <code>CITEREF</code> disambiguator is needed ''and'' the CS1 template is: {{t1|cite episode}} or {{t1|cite mailing list}} or {{t1|cite map}} or {{t1|cite report}} or {{t1|cite serial}} only. These templates are those ''not'' marked with a green check mark in the table at the top of [[Help:CS1 errors]]. For example, if <code>|date=1 December 2014a</code>, then <code>|year=2014a</code> is required only for the above templates.
 
* <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.
 
* <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|}}}|&#32;Aliases:{{{aliases2}}}}}
 
* <span id="csdoc_ended" />AND: '''ended''': Full date the last part of the program or episode aired.}}{{#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 11:27, 4 December 2014

  • <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" />OR:
    • year: Year of source being referenced. Required with some types of {{sfn}} citations;[more] otherwise use date.
    • year: is required when |ref=harv is used and when the value in date is non-numeric in DMYYYY, MDYYYY, YYYYMD, etc. format. For example: citations with |ref=harv and |date=Winter 2012 or |date=23–24 Sep 2012, etc. require |year=2012.
    • year: is required when a CITEREF disambiguator is needed and the CS1 template is: Template:T1 or Template:T1 or Template:T1 or Template:T1 or Template:T1 only. These templates are those not marked with a green check mark in the table at the top of Help:CS1 errors. For example, if |date=1 December 2014a, then |year=2014a is required only for the above templates.
  • <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.
  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.