Template:Date link/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Created page with "{{User:SOTO/Infobox Story |broadcast date = 17 June 2017 |beta release date = June 2005 |premiere = 1965 (note) |release date = 16 October 1996 |cover date = Winter 2016 }}{{N...")
 
No edit summary
Line 6: Line 6:
|cover date = Winter 2016
|cover date = Winter 2016
}}{{NOTOC}}
}}{{NOTOC}}
{{tlx|date link}} is a template used in infoboxes to autolink date variables. Use of the template is very simple.
{{tlx|date link}}, or {{tlx|dl}}, is a template used in infoboxes to autolink date variables. Use of the template is very simple.


{{tlx|dl|{{CURRENTDATE}}}} (in this instance, the current date) will automatically link to that release date ({{dl/text|{{CURRENTDATE}}}}). It will also set SMW for that page to recognise that release date.
{{tlx|dl|{{CURRENTDATE}}}} (in this instance, the current date) will automatically link to that release date ({{dl/text|{{CURRENTDATE}}}}). It will also set SMW for that page to recognise that release date.

Revision as of 23:57, 13 January 2018

{{date link}}, or {{dl}}, is a template used in infoboxes to autolink date variables. Use of the template is very simple.

{{dl|4 October 2024}} (in this instance, the current date) will automatically link to that release date (4 October 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

With notes