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: a449eb162a16dafe

Jump to content

Template:OldStyleDate/testcases

From Wikipedia, the free encyclopedia

Output comparisons

[edit]
DMY format
{{OldStyleDate|2 February|1905|20 January}}

{{OldStyleDate}}

2 February [O.S. 20 January] 1905
<span class="nowrap">2 February</span> <span class="nowrap">&#91;[[Old Style and New Style dates|O.S.]] 20 January&#93;</span>&#32;1905

{{OldStyleDate/sandbox}}

2 February [O.S. 20 January] 1905
<span class="nowrap">2 February</span> <span class="nowrap">&#91;[[Old Style and New Style dates|O.S.]] 20 January&#93;</span>&#32;1905
MDY format
{{OldStyleDate|February 2|1905|January 20}}

{{OldStyleDate}}

February 2 [O.S. January 20] 1905
<span class="nowrap">February 2</span> <span class="nowrap">&#91;[[Old Style and New Style dates|O.S.]] January 20&#93;</span>&#32;1905

{{OldStyleDate/sandbox}}

February 2 [O.S. January 20] 1905
<span class="nowrap">February 2</span> <span class="nowrap">&#91;[[Old Style and New Style dates|O.S.]] January 20&#93;</span>&#32;1905
With fourth unnamed parameter (redundant year)
{{OldStyleDate|2 February|1905|20 January|1905}}

{{OldStyleDate}}

2 February [O.S. 20 January] 1905
<span class="nowrap">2 February</span> <span class="nowrap">&#91;[[Old Style and New Style dates|O.S.]] 20 January&#93;</span>&#32;1905

{{OldStyleDate/sandbox}}

2 February [O.S. 20 January] 1905
<span class="nowrap">2 February</span> <span class="nowrap">&#91;[[Old Style and New Style dates|O.S.]] 20 January&#93;</span>&#32;1905

In-text example

[edit]

Example text taken from Saint Petersburg Declaration of 1868 (12:45 UTC, 27 August 2026):

Live template

[edit]

Uses {{OldStyleDate}}:

The treaty, also known in full as the Declaration Renouncing the Use, in Time of War, of Explosive Projectiles Under 400 Grammes Weight, was agreed in Saint Petersburg, Russian Empire, 11 December [O.S. 29 November] 1868. It succeeded the First Geneva Convention of 1864. It was a predecessor of the well-known Hague Conventions of 1899 and 1907. It was signed by the members of the International Military Commission convened for this purpose in the presence of the Imperial Cabinet of Russia.

Sandbox template

[edit]

Uses {{OldStyleDate/sandbox}}:

The treaty, also known in full as the Declaration Renouncing the Use, in Time of War, of Explosive Projectiles Under 400 Grammes Weight, was agreed in Saint Petersburg, Russian Empire, 11 December [O.S. 29 November] 1868. It succeeded the First Geneva Convention of 1864. It was a predecessor of the well-known Hague Conventions of 1899 and 1907. It was signed by the members of the International Military Commission convened for this purpose in the presence of the Imperial Cabinet of Russia.