Template:Citation Style documentation/date

From EcoliseWiki
  • date: Date of referenced source. 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]{{#if:|:}}{{#if:|[date 2]{{#if:|:}}{{#if:|[date 3]{{#if:|:}}{{#if:|[date 4]{{#if:|:}}{{#if:|[date 5]{{#if:|:}}{{#if:|[date 6]{{#if:|:}}{{#if:|[date 7]{{#if:|:}}{{#if:|[date 8]{{#if:|:}}{{#if:|[date 9]{{#if:|:}}{{#if:|The template only supports up to 9 references (edit it!). }}}}}}}}}}}}}}}}}} Required when year is used to disambiguate {{{{#if: |subst:}}sfn{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}} 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.{{#if:| Aliases: {{{aliases}}}}}. Script error: No such module "Hatnote inline".
For approximate year, precede with "c. ", like this: |{{SAFESUBST:#if:date|date=}}c. 1900.

Script error: No such module "anchor".

For no date, or "undated", use |{{SAFESUBST:#if:date|date=}}n.d.
Automatic date formatting: Citation Style 1 and 2 templates, including this template, automatically render dates in date parameters (|{{SAFESUBST:#if:date|date=}}, |{{SAFESUBST:#if:access-date|access-date=}}, |{{SAFESUBST:#if:archive-date|archive-date=}}, etc.) in the style specified by the article's {{{{#if: |subst:}}use dmy dates{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}} or {{{{#if: |subst:}}use mdy dates{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}} template. See those templates' documentation for details.
  • year: Year of source being referenced. Use of |{{SAFESUBST:#if:date|date=}} is recommended unless all of the following conditions are met:
    1. The |{{SAFESUBST:#if:date|date=}} format is YYYY-MM-DD.
    2. The citation requires a CITEREF disambiguator.
  • orig-year: Original publication year; displays in square brackets after the date (or year). For clarity, please supply specifics. For example: |{{SAFESUBST:#if:orig-year|orig-year=}}First published 1859 or |{{SAFESUBST:#if:orig-year|orig-year=}}Composed 1904. Alias: origyear}}
  • df: date format; sets rendered dates to the specified format; does not support date ranges or seasonal dates; overrides the automatic date formatting described above. 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 }}
     | Template:Column-width
     | {{#switch:|1=|2=Template:Column-width|#default=Template:Column-width}} }}
   | {{#if: 
     | Template:Column-width }} }} list-style-type: {{#switch: date
   | upper-alpha
   | upper-roman
   | lower-alpha
   | lower-greek
   | lower-roman = date
   | #default = decimal}};">
  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. Script error: No such module "Hatnote inline".
  2. Cite error: Invalid <ref> tag; no text was provided for refs named {{{2}}}
  3. Cite error: Invalid <ref> tag; no text was provided for refs named {{{3}}}
  4. Cite error: Invalid <ref> tag; no text was provided for refs named {{{4}}}
  5. Cite error: Invalid <ref> tag; no text was provided for refs named {{{5}}}
  6. Cite error: Invalid <ref> tag; no text was provided for refs named {{{6}}}
  7. Cite error: Invalid <ref> tag; no text was provided for refs named {{{7}}}
  8. Cite error: Invalid <ref> tag; no text was provided for refs named {{{8}}}
  9. Cite error: Invalid <ref> tag; no text was provided for refs named {{{9}}}

Script error: No such module "Check for unknown parameters".