Template:Old Style to New Style
{{{1}}} [{{{3}}} N.S.]
Usage
[edit]This template displays a date in both Old Style (O.S.) and New Style (N.S.), including a discreet link to Old Style and New Style dates, when the year is the same in both styles. Old Style is shown first and New Style in brackets, allowing historical records to be quoted verbatim. It differs from template:OldStyleDate in that Old Style is displayed first; the other template shows New Style first.
{{Old Style to New Style|OS day and month|year|NS day and month|mdy=}}
Fourth parameter (NS year) is ignored.
---
Parameters
[edit]- 1: OS day and month — Required; Old Style day and month
- 2: Year — Required; year for both dates
- 3: NS day and month — Required; New Style day and month
- 4: NS year — Optional; ignored
- mdy — Optional; set to
yesif input is month/day; adds a comma after the bracketed N.S. date
---
Examples
[edit]{{Old Style to New Style|20 January|1905|2 February}}- Result: 20 January [2 February N.S.] 1905
{{Old Style to New Style|January 20|1905|February 2|mdy=yes}}- Result: January 20 [February 2 N.S.], 1905
- Note: Only set
mdy=yesif input is month/day to add the comma.
---
Shortcut: OS2NS
[edit]The formal name is {{Old Style to New Style}}, but template:OS2NS may be used:
{{OS2NS|20 January|1905|2 February}}- Result: 20 January [2 February N.S.] 1905
{{OS2NS|January 20|1905|February 2|mdy=yes}}- Result: January 20 [February 2 N.S.], 1905
- Note: Only set
mdy=yesif input is month/day to add the comma.
---
Change of year
[edit]{{OS2NS|20 December|1904|2 January}}- Result: 20 December [2 January N.S.] 1904
(not 20 December 1904 [2 January 1905 N.S.])
{{OS2NS|20 December|1904|2 January|1905}}- Result: 20 December [2 January N.S.] 1904
(still not 20 December 1904 [2 January 1905 N.S.]; fourth parameter ignored)
---
Tip for editors
[edit]- Only set
mdy=yesif input is month/day. - Do not use
mdy=yeswith day/month input. - The fourth parameter (NS year) is ignored for same-year dates.
---
See also
[edit]- {{OldStyleDate}} – New Style shown first
- {{OldStyleDateDY}} – Year differs in Old Style vs New Style
- Example: 17 January 1706 [O.S. 6 January 1705]
- {{OldStyleDateNY}} – Only day/month, no year
- Example: 13 October [O.S. 2 October]
- {{Which calendar}} – For unclear New Style vs Old Style