模板:Citation Style documentation/date

来自侠行天下-维基百科
< 模板:Citation Style documentation
Findsky讨论 | 贡献2019年7月11日 (四) 03:19的版本 (导入1个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航 跳到搜索
  • 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.[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. {{#invoke:Hatnote inline|hatnote}}
For approximate year, precede with "c. ", like this: |date=c. 1900.

{{safesubst:#invoke:anchor|main}}

For no date, or "undated", use |date=n.d.
  • year: Year of source being referenced. Use of |date= is recommended unless all of the following conditions are met:
    1. The |date= format is YYYY-MM-DD.
    2. The citation requires a CITEREF disambiguator.
    3. The template uses |ref=harv or |mode=cs2, or the template is {{citation}}.
  • 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. 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 format
    ymd – as above for year initial numeric format YYYY-MM-DD
    dmy-all – set publication, access-, and archive-dates to day month year format;
    mdy-all – as above for month day, year format
    ymd-all – as above for year initial numeric format YYYY-MM-DD
  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. {{#invoke:Hatnote inline|hatnote}}

{{#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Reflist with unknown parameter "_VALUE_"|ignoreblank=y| 1 | colwidth | group | liststyle | refs }}