Usage

This template generates an abbreviation for reign (or the Latin rexit): r.

Typical example:

produces:

Default output

In all such cases, the following is true:

  1. The "r." is marked up with <abbr>...</abbr> to provide a mouse-over tooltip that explains that the abbreviation means "reign"
  2. The space after the "r." and any between dates and dash are non-breaking spaces, while the values of the date parameters are also non-breaking, in case they contain any spaces. I.e., no line-wrapping will occur anywhere within "r. c. 23 BCE – 5 CE".

Additional notes:

Parameters

For use in tables and such

Some of these could also be used, for clarity, in lead sections of articles that are confusingly thick with abbreviations and other markup.

For use in non-royalty contexts

Notes on table sorting

If the parameter "sortable=yes" is specified, the template generates invisible text that will cause the column to sort correctly in sortable tables. However, it is at the cost of having that invisible text read out audibly by many screen readers. "Col 1" without the template does not sort correctly. "Col 2" with the template and sortable=yes sorts correctly.

Title Col 1 Col 2
Foo 1066 1066
Bar c. 1510 1510 c. 1510
Baz 1956 1956
Jaz c. 410 0410 c. 410
{| class="sortable wikitable" style=text-align:right;
|-
! Title!!Col 1!!Col 2
|-
| style=text-align:left; | Foo|| 1066|| 1066
|-
| style=text-align:left; | Bar|| c. 1510|| ((circa|1510|sortable=yes))
|-
| style=text-align:left; | Baz|| 1956|| 1956
|-
| style=text-align:left; | Jaz|| c. 410|| ((circa|410|sortable=yes))
|}

Examples

Code Output Works?
((Reign)) 1207–1272 r. 1207–1272 checkY
((Reign|1207|1272)) r. 1207–1272 checkY
((Reign |1 October 1207 |1272)) r. 1 October 1207 – 1272 checkY
((Reign |1 October 1207 |16 November 1272)) r. 1 October 120 – 16 November 1272 checkY
((Reign |1207 |16 November 1272)) r. 1207 – 16 November 1272 checkY
((Reign |c. 1207 |1272)) r. c. 1207 – 1272 checkY
((Reign |1207 |present)) r. 1207–present checkY
((Reign |July 27, 2016 |present)) r. July 27, 2016 – present checkY
((Reign |1207 |1272)) r. 1207–1272 checkY
((Reign |1207| 1272)) r. 1207–1272 checkY
((Reign | 1207 | 1272 )) r. 1207–1272 checkY
((Reign |c.1207 |1272)) r. c.1207–1272 ☒N[1]
((Reign |1962|present |show=word)) reigned 1962–present checkY
((Reign |1962|present |show=word |cap=y)) Reigned 1962–present checkY
((Reign |1962|present |show=colon)) reign: 1962–present checkY
((Reign |1962|present |show=colon |cap=y)) Reign: 1962–present checkY
((Reign |1962|present |show=lword)) reigned 1962–present checkY
((Reign |1962|present |show=lword |cap=y)) Reigned 1962–present checkY
((Reign |1962|present |show=lcolon)) reign: 1962–present checkY
((Reign |1962|present |show=lcolon |cap=y)) Reign: 1962–present checkY
((Reign |1962|present |show=blank)) 1962–present checkY
((Reign |1985)) r. 1985–  checkY
((Reign ||c. 320 BC)) r. ? – c. 320 BC checkY
((Reign ||940)) r. ?–940 checkY
((Reign)) r. checkY
((Reign |89|67 BCE)) r. 89 – 67 BCE ☒N[2]
((Reign |89|67 |era=BCE)) r. 89–67 BCE checkY
((Reign |c. 89|67 |era=BCE)) r. c. 89 – 67 BCE checkY[3]
((Reign |label=ruled|1967|1969)) ruled 1967–1969 checkY
((Reign |label=[[World Snooker Championship|World Champion]]:|1967|1969)) World Champion: 1967–1969 checkY
((Reign |1267 |1272 |post-date=1275)) r. 1267–1272, 1275 checkY
((Reign |c. 1267 |1272 |post-date=1275)) r. c. 1267 – 1272, 1275 checkY
((Reign |pre-date=1265 |1267 |1272 )) r. 1265, 1267–1272 checkY
((Reign |pre-date=1265 |c. 1267 |1272 |post-date=1275)) r. 1265, c. 1267 – 1272, 1275 checkY
((Reign |pre-date=c. 54 |43 |post-date=37 |era=BCE)) r. c. 54, 43– , 37 BCE checkY
((Reign |pre-date=1265 |post-date=1277)) r. 1265, 1277 checkY
((Reign |single=43 CE)) r. 43 CE checkY
((Reign|512|514|520|522)) r. 512–514, 520–522 checkY
((Reign |1 May 1995|30 April 1996 |1 May 1999|30 April 2000 |wrap=y)) r. 1 May 1995 – 30 April 1996, ​1 May 1999 – 30 April 2000 checkY
((Reign |pre-date=January |1=March|2=May |3=August|4=September |post-date=November |era=2017 |wrap=y)) r. January, ​March–May, ​August–September, ​November 2017 checkY
((Reign|512|514|mid-date=517|520|522)) r. 512–514, 517, 520–522 checkY
((Reign |1= 512 |2= 514 | mid-date=517 |3= 520 |4= c. 522 )) r. 512–514, 517, 520 – c. 522 checkY
  1. ^ c.1207 is invalid style (should be c. 1207), and it consequently is wrongly parsed as a simple date, so the en dash in turn is incorrectly unspaced.
  2. ^ 89|69 BCE produces a spaced en dash, incorrect in this case because the date range is simple and "BCE" applies to both; this should instead be done with 89|69|era=BCE.
  3. ^ "r. c. 89 – 67 BCE" is correct because c. (circa) applies only to a single date. Using c. 89–67 is invalid, as ambiguous. To show two uncertain dates: "r. c. 89 – c. 67 BCE".

Redirects

((Reign)) also can be called with the redirects:

See also