Template:Citation Style documentation/date: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
imported>Jonesey95
(typo fix)
imported>Doncram
(use "undated" term explicitly and otherwise make "n.d." treatment more prominent; wp:undated to redirect to anchor here.)
Line 1: Line 1:
* <span id="csdoc_date" />'''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.{{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|}}}|&#32;Aliases: {{{aliases}}}}} For acceptable date formats, see [[Help:Citation Style 1#Dates]].
* <span id="csdoc_date" />'''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.{{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|}}}|&#32;Aliases: {{{aliases}}}}} For acceptable date formats, see [[Help:Citation Style 1#Dates]].
:For approximate year, precede with "<code>c. </code>", like this: {{para|date|c. 1900}}; for no date, add as {{para|date|n.d.}}
:For approximate year, precede with "<code>c. </code>", like this: {{para|date|c. 1900}}.
{{anchor|undated}}
:For no date, or "undated", add as {{para|date|n.d.}}
* <span id="csdoc_year" />'''year''': Year of source being referenced. Use of {{para|date}} is recommended unless all of the following conditions are met:
* <span id="csdoc_year" />'''year''': Year of source being referenced. Use of {{para|date}} is recommended unless all of the following conditions are met:
:# The template uses {{para|ref|harv}}, or the template is {{tlx|citation}}, or {{para|mode|cs2}}
:# The template uses {{para|ref|harv}}, or the template is {{tlx|citation}}, or {{para|mode|cs2}}

Revision as of 19:29, 8 July 2015

  • 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 acceptable date formats, see Help:Citation Style 1#Dates.
For approximate year, precede with "c. ", like this: |date=c. 1900.

For no date, or "undated", add as |date=n.d.
  • 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.
  • 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.
Cite error: <ref> tag with name "date" defined in <references> has group attribute "date" which does not appear in prior text.