Mal:OldStyleDate
{{{1}}} [g.s. {{{3}}}]
Denne dokumentasjonen er inkludert frå Mal:OldStyleDate/dok. (endra | historikk)
Denne malen har ingen sandkasse og ingen døme der brukarar kan eksperimentera.
Denne malen har ingen sandkasse og ingen døme der brukarar kan eksperimentera.
UsageEndra
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.
ExamplesEndra
- Usage:
{{OldStyleDate|2 February|1905|20 January}}
- Result: 2 February [g.s. 20 January] 1905
- Usage:
{{OldStyleDate|February 2|1905|January 20}}
- Result: February 2 [g.s. January 20] 1905
See alsoEndra
- {{OldStyleDateDY}} – for cases where the year is different in the Old Style and the New Style
- Example: Mal:OldStyleDateDY
- {{OldStyleDateNY}} – for cases that require only the day and month, not the year
- Example: Mal:OldStyleDateNY