Template:Citation Style documentation/date: Difference between revisions
Content added Content deleted
imported>Tom.Reding m (Wikified the other instance of CITEREF for symmetry (not duplicating links is for articles, not for useful directions, I'm gonna say)) |
Krisrs1128 (talk | contribs) m (79 revisions imported from templatewiki:Template:Citation_Style_documentation/date) |
||
(34 intermediate revisions by 13 users not shown) | |||
Line 1: | Line 1: | ||
* < |
* <b id="csdoc_date">date</b>: 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|}}}| Aliases: {{{aliases}}}}} {{crossref|For acceptable date formats, see {{section link|Help:Citation Style 1|Dates}}.}} |
||
:For approximate year, precede with "<code>c. </code>", like this: {{para|date|c. 1900}}. |
|||
{{anchor|Undated}} |
|||
* <span id="csdoc_year" />OR: |
|||
:For no date, or "undated", use {{para|date|n.d.}} |
|||
** '''year''': Year of source being referenced ... |
|||
**: Is the template {{t1|cite episode}} or {{t1|cite mailing list}} or {{t1|cite map}} or {{t1|cite report}} or {{t1|cite serial}}? |
|||
{{Citation Style documentation/auto-date-format}} |
|||
⚫ | |||
* <b id="csdoc_year">year</b>: Year of source being referenced. Use of {{para|date}} is recommended unless {{em|all}} of the following conditions are met: |
|||
:::::NO: use {{para|date}}. |
|||
*# The {{para|date}} format is YYYY-MM-DD. |
|||
⚫ | |||
::::::NO: use {{para|date}}. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
:::::::NO: use {{para|date}}. |
|||
* <b id="csdoc_df">df</b>: 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: |
|||
:::::::YES: {{para|year}} ''required''. |
|||
*:<code>dmy</code> – set publication dates to day month year format; access- and archive-dates are not modified; |
|||
::::YES: Does the citation use {{para|ref|harv}}? |
|||
*:<code>mdy</code> – as above for month day, year format |
|||
:::::NO: use {{para|date}}. |
|||
*:<code>ymd</code> – as above for year initial numeric format YYYY-MM-DD |
|||
:::::YES: Is the date format in {{para|date}} DD Month YYYY or Month YYYY or YYYY or Month DD, YYYY or YYYY-MM-DD? |
|||
*:<code>dmy-all</code> – set publication, access-, and archive-dates to day month year format; |
|||
::::::NO: {{para|year}} ''required''. |
|||
*:<code>mdy-all</code> – as above for month day, year format |
|||
::::::YES: Does the citation require a <code>[[Wikipedia:Citation templates and reference anchors|CITEREF]]</code> [[Template:Sfn#More than one work in a year|disambiguator]]? |
|||
*:<code>ymd-all</code> – as above for year initial numeric format YYYY-MM-DD |
|||
:::::::NO: use {{para|date}}. |
|||
{{#if:{{{aliases2|}}}| Aliases:{{{aliases2}}}}} |
|||
:::::::YES: {{para|year}} ''required''. |
|||
⚫ | |||
⚫ | |||
* <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|}}}| Aliases:{{{aliases2}}}}} |
|||
⚫ |
Latest revision as of 01:59, 16 September 2020
- 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 Template:Tlx 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. Template:Hatnote inline
- For approximate year, precede with "
c.
", like this: Template:Para.
Script error: No such module "anchor".
- For no date, or "undated", use Template:Para
- Automatic date formatting: Citation Style 1 and 2 templates, including this template, automatically render dates in date parameters (Template:Para, Template:Para, Template:Para, etc.) in the style specified by the article's Template:Tlx or Template:Tlx template. See those templates' documentation for details.
- year: Year of source being referenced. Use of Template:Para is recommended unless Template:Em of the following conditions are met:
- The Template:Para format is YYYY-MM-DD.
- The citation requires a
CITEREF
disambiguator. - The template uses Template:Para or Template:Para, or the template is Template:Tlx.
- orig-year: Original publication year; displays in square brackets after the date (or year). For clarity, please supply specifics. For example: Template:Para or Template:Para. 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 formatymd
– as above for year initial numeric format YYYY-MM-DDdmy-all
– set publication, access-, and archive-dates to day month year format;mdy-all
– as above for month day, year formatymd-all
– as above for year initial numeric format YYYY-MM-DD