Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a44b2d872cad231f

Jump to content

Template:OldStyleDate/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template is used for displaying a date in both Old Style and New Style, including a discreet link to the article Old Style and New Style dates, in cases where the year is the same in both Styles.

{{OldStyleDate|NS day and month|year|OS day and month}}

If it helps you remember the order of the parameters, you may optionally choose to think of it like this:

{{OldStyleDate|NS day and month|NS year|OS day and month|OS year}}

Note that in this usage the fourth parameter will be ignored when the template is rendered (since the year is the same, otherwise use {{OldStyleDateDY}}).

When using this template, the editor must pre-calculate the conversion between systems as this template does not do so. In particular, it does not handle cases where the Old Style date and the New Style date are in different years. Editors may find the more recent {{Gregorian to Julian}} template (which does these calculations correctly and automatically) to be a more convenient solution.

Also, when handling dates of events in England and its colonies (where the civil year started on 25 March rather than 1 January until 1752), editors must be careful about dates in this quarter. Many (but not all) sources ignore the legal rule and treat the year as having started on 1 January – which is the convention used by {{Gregorian to Julian}}  – but others do not. For use in the latter case, the companion template {{New Style to Annunciation Style}} will again do the calculations correctly and automatically. In either case, it is advisable to use a footnote to clarify which convention is being used,

Examples

[edit]
  • Usage: {{OldStyleDate|2 February|1905|20 January}}
    • Result: 2 February [O.S. 20 January] 1905
  • Usage: {{OldStyleDate|February 2|1905|January 20}}
    • Result: February 2 [O.S. January 20] 1905

See also

[edit]
  • {{OldStyleDateDY}} – for dates where the year in the Old Style is different from the New Style
    • Example: 17 January 1706 [O.S. 6 January 1705]
  • {{OldStyleDateNY}} – for displaying only the day and the month (no year)
    • Example: 13 October [O.S. 2 October]
  • {{Old Style to New Style}} – for displaying the Old Style date first with the new style date in square brackets after
  • {{which calendar}} – for use with dates where it is unclear if New Style or Old Style is used