User:SOTO/test
Instructions: User:SOTO/API#Generate API content
Example:
Livia
Tags[[edit] | [edit source]]
{{subst:clarify test}}
Infobox[[edit] | [edit source]]
Alien Bodies (novel), Doctor Who and the Horror of Coal Hill (short story), Doctor Who: 50 Years (TV story), Doctor Whoah! (DWM 427 comic story), A Dog's Life (short story), The Empty Planet (TV story), The End of Time (TV story), Farewells (short story), The Five Doctors (TV story), The Five Doctors (novelisation), Ground Zero (comic story), Harry Sullivan's War (novel), How to Win Planets and Influence People (audio story), Interference - Book One (novel), Interference - Book Two (novel), Past Lives (audio story), Plants (video game), Return of the Krulius (comic story), SOTO/test, School Reunion (TV story), Sevrin (short story), The Stolen Earth (TV story), Suitors, Inc. (short story), The Threshold (short story), Vortex Butterflies (comic story), Where's the Doctor? (comic story)
{{date link
}} (dl)[[edit] | [edit source]]
Use of {{date link}} is very simple.
{{dl|9 November 2024}} (in this instance, the current date) will automatically link to that release date (9 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.
- {{dl|12 November 2016}} => 12 November 2016 (SMW: 2016-11-12)
- {{dl|9 February 1991}} => 9 February 1991 (SMW: 1991-02-09)
- {{dl|January 1995}} => January 1995 (SMW: 1995-01)
- {{dl|2017}} => 2017 (SMW: 2017)
- {{dl|9 November 2024}} => 9 November 2024 (SMW: 2024-11-09)
For cover dates[[edit] | [edit source]]
Date ranges[[edit] | [edit source]]
- {{dl|2006-January 2007}} => 2006 - January 2007 (SMW: 2006 / end date: 2007-01)
- {{dl|16 September 2016 - 1 January 2017}} => 16 September 2016 - 1 January 2017 (SMW: 2016-09-16 / end date: 2017-01-01)
- {{dl|September 2016 - 1 January 2017}} => September 2016 - 1 January 2017 (SMW: 2016-09 / end date: 2017-01-01)
- {{dl|September 2016 - 1 January 2017}} => September 2016 - 1 January 2017 (SMW: 2016-09–2017-01-01)
- {{dl|1 January - 3 February 2018}} => 1 January - 3 February 2018 (SMW: 2018-01-01 / end date: 2018-02-03)
- {{dl|16 December 1994 - February 1995}} => 16 December 1994 - February 1995 (SMW: 1994-12-16 / end date: 1995-02)
- {{dl|January 2006 - 2007}} => January 2006 - 2007 (SMW: 2006-01 / end date: 2007)
- {{dl|October-November 2007}} => October - November 2007 (SMW: 2007-10 / end date: 2007-11)
- {{dl|1 October 2006-November 2007}} => 1 October 2006 - November 2007 (SMW: 2006-10-01 / end date: 2007-11)
- {{dl|11-14 March 1974}} => 11 - 14 March 1974 (SMW: 1974-03-11 / end date: 1974-03-14)
- {{dl|11 - 14 March 1974}} => 11 - 14 March 1974 (SMW: 1974-03-11 / end date: 1974-03-14)
With notes[[edit] | [edit source]]
- {{dl|9 November 2024 (today)}} => 9 November 2024 (today) (SMW: 2024-11-09)
- {{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)
To fix[[edit] | [edit source]]
- {{dl|September-9 December 2017}} => September - 9 December 2017 (SMW: 2017-09 / end date: 2017-12-09)
SMW solution ({{dl/n}}: (done)
{{#ifeq:{{#explode:{{{1}}}||1}}|-|{{#explode:{{{1}}}||-1}}|{{#explode:{{#explode:{{{1}}}||1}}|-|0}}}}
- ->
{{#ifeq:{{#explode:{{{1}}}||1}}|-|{{#explode:{{{1}}}||-1}}|{{#if:{{#explode:{{#explode:{{{1}}}|-|0}}||1}}|{{#explode:{{#explode:{{{1}}}|-|0}}||1}}|{{#explode:{{{1}}}||-1}}}}}}
Link solution ({{dl/link}}: (done)
{{#ifeq:{{#explode:{{{1}}}||1}}|-||{{d|{{#explode:{{#explode:{{{1}}}||1}}|-|0}}|re}}}}}}
- ->
{{#ifeq:{{#explode:{{{1}}}||1}}|-||{{d|{{#explode:{{#explode:{{{1}}}|-|0}}||1}}|re}}}}}}
September-9 December 2017
-> September December (SMW: December)September - 9 December 2017
-> September (SMW: 2017)September 2016-9 December 2017
-> September 2016 (SMW: 2016)September 2016 - 9 December 2017
-> September 2016 (SMW: 2016)
- ->
September-9 December 2017
-> September (SMW: 2017)September - 9 December 2017
-> September (SMW: 2017)September 2016-9 December 2017
-> September 2016 (SMW: 2016)September 2016 - 9 December 2017
-> September 2016 (SMW: 2016)
- {{dl|16 September-9 December 2017}} => 16 September - 9 December 2017 (SMW: 2017-09-16 / end date: 2017-12-09)
SMW solution ({{dl/n}}: (done)
{{#iferror:{{#ifexpr:{{#explode:{{{1}}}|-|0}}>0}}|{{#ifeq:{{#explode:{{{1}}}||2}}|-|{{#explode:{{{1}}}||-1}}|{{#explode:{{#explode:{{{1}}}||2}}|-|0}}}}}}
- ->
{{#iferror:{{#ifexpr:{{#explode:{{{1}}}|-|0}}>0}}|{{#ifeq:{{#explode:{{{1}}}||2}}|-|{{#explode:{{{1}}}||-1}}|{{#if:{{#explode:{{#explode:{{{1}}}|-|0}}||2}}|{{#explode:{{#explode:{{{1}}}|-|0}}||2}}|{{#explode:{{{1}}}||-1}}}}}}}}
Link solution ({{dl/link}}: (done)
{{d|{{#explode:{{{1}}}||0}} {{#explode:{{#explode:{{{1}}}||1}}|-|0}}|re}} {{#ifeq:{{#explode:{{{1}}}||2}}|-||{{d|{{#explode:{{#explode:{{{1}}}||2}}|-|0}}|re}}}}
- ->
{{d|{{#explode:{{{1}}}||0}} {{#explode:{{#explode:{{{1}}}||1}}|-|0}}|re}} {{#ifeq:{{#explode:{{{1}}}||2}}|-||{{d|{{#explode:{{#explode:{{{1}}}|-|0}}||2}}|re}}}}
16 September-9 December 2017
-> 16 September (SMW: 2017)16 September - 9 December 2017
-> 16 September (SMW: 2017)16 September 2016-9 December 2017
-> 16 September 2016 (SMW: 2016)16 September 2016 - 9 December 2017
-> 16 September 2016 (SMW: 2016)