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

From Timelines
Jump to: navigation, search
(add newline, otherwise the documentation green box terminates immediately after the reflist)
(Revise date; Deprecate month in Lua-based templates;)
Line 1: Line 1:
* <span id="csdoc_date" />'''date''': Full date of source being referenced in the same format as other publication dates in the citations.{{r|date}} 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}}}}}
+
* <span id="csdoc_date" />'''date''': Date of source being referenced. Can be full date (day, month, and year) or partial date (month and year{{#if:{{{lua|}}}|, season and year}}, year). Use same format as other publication dates in the citations.{{r|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}}}}}
* <span id="csdoc_year" />OR: '''year''': Year of source being referenced.
+
* <span id="csdoc_year" />OR:
** <span id="csdoc_month" />'''month''': Name of the month of publication. If you also have the day, use '''date''' instead. Do not wikilink.
+
** '''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'''.
 +
** <span id="csdoc_month" />{{#if:{{{lua|}}}|{{xtd|'''month'''}}: (deprecated) Name of the month or season of publication. Use '''date''' instead.|'''month''': Name of the month or season of publication. If you also have the day, use '''date''' instead. Do not wikilink.}}
 
** <span id="csdoc_origyear" />'''origyear''': Original publication year; displays after the date or year. For clarity, please supply specifics. For example: {{para|origyear|First published 1859}} or {{para|origyear|Composed 1904}}.{{#if:{{{began|}}}|
 
** <span id="csdoc_origyear" />'''origyear''': Original publication year; displays after the date or year. For clarity, please supply specifics. For example: {{para|origyear|First published 1859}} or {{para|origyear|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.

Revision as of 08:19, 16 October 2013

  • <span id="csdoc_date" />date: Date of source being referenced. Can be full date (day, month, and year) or partial date (month and year, year). Use same format as other publication dates in the citations.[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.
    • <span id="csdoc_month" />month: Name of the month or season of publication. If you also have the day, use date instead. Do not wikilink.
    • <span id="csdoc_origyear" />origyear: Original publication year; displays after the date or year. For clarity, please supply specifics. For example: |origyear=First published 1859 or |origyear=Composed 1904.
  1. Publication dates in references within an article should all have the same format. See: MOS:DATEUNIFY.