Template:Sdate

From Broadcast for Schools.co.uk.co.uk
Jump to: navigation, search
{{Sdate|}}

Returns a date with a sortable format in a hidden span, followed by a display format like 20 Jun 2015. For use in sortable episode tables.

{{Sdate|2015-06-20}} -> 20 Jun 2015

{{Sdate|2015-12-03|*}} -> 3 Dec 2015* (the * is not processed as a date, but is shown within the same span as the displayed date, so it can be kept on the same line)

{{Sdate|1956-06-30|first broadcast as a preview for teachers on 29th December 1955}} -> 30 Jun 1956[a]

{{Sdate|1999-12-31|several episodes were first broadcast on the CBBC Channel|name=cbbc}} -> 31 Dec 1999[b]

{{Sdate|2000-02-28|name=cbbc}} -> 28 Feb 2000[b]

  1. ↑ first broadcast as a preview for teachers on 29th December 1955
  2. ↑ 2.0 2.1 several episodes were first broadcast on the CBBC Channel