Template:OldStyleDate: Difference between revisions
Appearance
Content deleted Content added
Reverted edits by 24.39.1.245 to last version by (HG) |
m Changed protection level for "Template:OldStyleDate": high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)) |
||
(12 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
{{{1}}} |
{{{1}}} [[[Old Style and New Style dates|O.S.]] {{{3}}}]{{#if: {{{2|}}}| {{{2|}}}|}}<noinclude> |
||
{{Documentation}} |
|||
[[Category:Time, date and calendar templates|{{PAGENAME}}]] |
|||
[[af:Sjabloon:OuVormDatum]] |
|||
[[et:Mall:VanaKalendriAeg]] |
|||
[[lv:Veidne:Dat VS]] |
|||
[[mk:Шаблон:Датум по стар стил]] |
|||
[[ml:ഫലകം:OldStyleDate]] |
|||
[[no:mal:OldStyleDate]] |
|||
[[ru:Шаблон:OldStyleDate]] |
|||
[[vi:Tiêu bản:OldStyleDate]] |
|||
[[zh:Template:OldStyleDate]] |
|||
[[tl:Template:OldStyleDate]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 17:02, 23 February 2018
{{{1}}} [O.S. {{{3}}}]
This template is used on approximately 3,900 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
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.
Examples
- 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
- {{OldStyleDateDY}} – for cases where the year is different in the Old Style and the New Style
- Example: 17 January 1706 [O.S. 6 January 1705]
- {{OldStyleDateNY}} – for cases that require only the day and month, not the year
- Example: 13 October [O.S. 2 October]
- {{which calendar}} – for use with dates where it is unclear if New Style or Old Style is used