This template is used to create a table cell with a date range that will sort correctly based on the first parameter (the "from" date). A line break is inserted
This template is used to create a table cell with a date range that will sort correctly based on the first parameter (the "from" date). A line break is inserted before the "to" date unless a third parameter is given (any value will work).
{{Sort date range |from_date |to_date [|y] }}{{Sort date range|April 1, 2016|March 31, 2018}}data-sort-value="April 1, 2016" | April 1, 2016 –
March 31, 2018{{Sort date range|April 1, 2016|March 31, 2018|y}}data-sort-value="April 1, 2016" | April 1, 2016 – March 31, 2018{| class="wikitable sortable"
! Name
! In office
! Party
|-
| Bob
| {{Sdr|May 1, 2016|April 30, 2018}}
| Yes!
|-
| (Vacant)
| {{Sdr|May 1, 2018|May 31, 2018}}
| –
|-
| Fred
| {{Sdr|June 1, 2018|April 30, 2020}}
| No!
|}
| Name | In office | Party |
|---|---|---|
| Bob | May 1, 2016 – April 30, 2018 |
Yes! |
| (Vacant) | May 1, 2018 – May 31, 2018 |
– |
| Fred | June 1, 2018 – April 30, 2020 |
No! |
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.