Template:Which calendar/doc

From CAPipedia
Revision as of 13:09, 23 January 2024 by Mclarty (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[[Category:Template documentation pages{{#translation:}}]]

Usage

The {{Which calendar}} template is a variant of {{Clarify}} to be used specifically when the clarification that is needed is the calendar in which a particular date is expressed.

At various times in modern history, multiple calendars were in use at the same time. Therefore, in an article on Russian history, a date such as "March 1, 1881" may be ambiguous: it might mean March 1 [O.S. March 13] 1881, or it might mean February 17 [O.S. March 1] 1881.

You may use either of the following formats:

{{which calendar|{{subst:DATE}}}}

or

{{which calendar|date=November 2024}}

This template will place articles into Category:Articles containing ambiguous dates.

To fix the issue, use the {{OldStyleDate}} template to clarify the meaning of the date:

{{OldStyleDate|March 1|1881|March 13}}

which produces

March 1 [O.S. March 13] 1881

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Which calendar in articles based on its TemplateData.

TemplateData for Which calendar

<templatedata> {

   "params": {
       "link": {
           "label": "Link target",
           "description": "Change what \"which calendar?\" text links to",
           "type": "wiki-page-name",
           "default": "MOS:OSNS"
       },
       "date": {
           "suggested": true,
           "label": "Month and year",
           "description": "Month and year of tagging; e.g., 'January 2013', but not 'jan13'",
           "type": "string",
           "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}"
       }
   },
   "format": "inline",
   "description": "For tagging ambiguous dates which might plausibly be interpreted differently according to multiple calendars in use at the time."

} </templatedata>

Redirects

See also