Template:Date link/doc

From Tardis Wiki, the free Doctor Who reference
< Template:Date link
Revision as of 23:43, 24 April 2024 by MrKingPenguin (talk | contribs) (Added Template documentation category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{date link}}, or {{dl}}, is a template used in infoboxes to autolink date variables. This template is not to be confused with {{d}}, which simply makes a link to a singular date article, like 2008 or 23 November.

Use of the template is very simple.

{{dl|27 November 2024}} (in this instance, the current date) will automatically link to that release date (27 November 2024). It will also set SMW for that page to recognise that release date.

If you do not wish to also call on SMW, please use {{dl/text}} or {{dl/link}}, rather than {{dl}} direct. {{dl/link}} will exclude notes; in all other versions, parentheticals will be retained, and given in small text beside the release date, often, of course, within an infobox. Such an infobox can be seen on the right.

For cover dates[[edit source]]

Ranges[[edit source]]

With notes[[edit source]]

  • {{dl|27 November 2024 (today)}} => 27 November 2024 (today) (SMW: 2024-11-27)
  • {{dl|19 December 1996 (VHS)}} => 19 December 1996 (VHS) (SMW: 1996-12-19)
  • {{dl|8 March 2010 (AudioGO)}} => 8 March 2010 (AudioGO) (SMW: 2010-03-08)
  • {{dl|11 - 14 March 1974 (n)}} => 11 - 14 March 1974 (n) (SMW: 1974-03-11 / end date: 1974-03-14)