User:SOTO/test: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (Reverted edits by SOTO (talk) to last revision by SV7)
Tag: Rollback
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Instructions: [[User:SOTO/API#Generate API content]]
Example:
* https://tardis.fandom.com/api.php?action=query&prop=revisions&titles=Tony|Tony_Tyler|Tony_Blair|Tony_Mack|Tony_Clare|Tony_Curran|Tony_Clark|Tony_Virgo|Tony_Lee|Tony_Hall|Tony_Blair_Regenerates_(TV_story)|Tony%27s_Sandwich_Bar|Tony_Harding|Tony_Millan|Tony_Gardner|Tony_Osoba|Tony_Dow|Tony_Beckley|Tony_Barker|Tony_Jones|Tony_Holland|Tony_Blackburn|Tony_Way|Tony_Starr|Tony_Masero|Tony_Selby|Tony_Caunter|Tony_Adams|Tony_Harwood|Tony_Benn|Tony_Snoaden|Tony_Millier|Tony_Flynn|Tony_Snell|Tony_(Medicine_Man)|Tony_Oxley|Tony_Lucken|Tony_Coburn|Tony_Bennett|Tony_Barton|Tony_Clare_-_list_of_appearances|Tony_Lambden|Tony_Cash|Tony_(Terror_of_the_Autons)|Tony_Pearce|Tony_Auger|Tony_Warner|Tony_Redston|Tony_Wall|Tony_Deek&rvslots=*&rvprop=content&formatversion=2
{{#explode:War Livia Caralis||1}}
= Tags =
= Tags =
<pre>{{subst:clarify test}}</pre>
<pre>{{subst:clarify test}}</pre>
[[Category:June 2017 00:46 cleanups]]


= Infobox =
= Infobox =
Line 47: Line 53:
|beta release date = June 2005
|beta release date = June 2005
|premiere = 1965 (note)
|premiere = 1965 (note)
|release date = 16 October 1996
|release date = 16-19 October 1996
|cover date = Winter 2016
|cover date = Winter 2016
}}{{NOTOC}}
}}{{NOTOC}}
Line 65: Line 71:
* {{tlx|da|Spring 2017}} => {{dl|Spring 2017}} ''(SMW: {{dl/n|Spring 2017}})''
* {{tlx|da|Spring 2017}} => {{dl|Spring 2017}} ''(SMW: {{dl/n|Spring 2017}})''


=== Ranges ===
=== Date ranges ===
* {{tlx|dl|16 September 2016 - 1 January 2017 (note)}} => {{dl|16 September 2016 - 1 January 2017 (note)}} ''(SMW: {{#explode:{{dl/n|16 September 2016 - 1 January 2017 (note)}}|–|0}} / end date: {{#explode:{{dl/n|16 September 2016 - 1 January 2017 (note)}}|–|1}})''
* {{tlx|dl|2006-January 2007}} => {{dl|2006-January 2007}} ''(SMW: {{#explode:{{dl/n|2006-January 2007}}|–|0}} / end date: {{#explode:{{dl/n|2006-January 2007}}|–|1}})''
* {{tlx|dl|16 September 2016 - 1 January 2017}} => {{dl|16 September 2016 - 1 January 2017}} ''(SMW: {{#explode:{{dl/n|16 September 2016 - 1 January 2017}}|–|0}} / end date: {{#explode:{{dl/n|16 September 2016 - 1 January 2017}}|–|1}})''
* {{tlx|dl|September 2016 - 1 January 2017}} => {{dl|September 2016 - 1 January 2017}} ''(SMW: {{#explode:{{dl/n|September 2016 - 1 January 2017}}|–|0}} / end date: {{#explode:{{dl/n|September 2016 - 1 January 2017}}|–|1}})''
* {{tlx|dl|September 2016 - 1 January 2017}} => {{dl|September 2016 - 1 January 2017}} ''(SMW: {{#explode:{{dl/n|September 2016 - 1 January 2017}}|–|0}} / end date: {{#explode:{{dl/n|September 2016 - 1 January 2017}}|–|1}})''
* {{tlx|dl|September 2016 - 1 January 2017}} => {{dl|September 2016 - 1 January 2017}} ''(SMW: {{dl/n|September 2016 - 1 January 2017}})''
* {{tlx|dl|September 2016 - 1 January 2017}} => {{dl|September 2016 - 1 January 2017}} ''(SMW: {{dl/n|September 2016 - 1 January 2017}})''
Line 72: Line 79:
* {{tlx|dl|16 December 1994 - February 1995}} => {{dl|16 December 1994 - February 1995}} ''(SMW: {{#explode:{{dl/n|16 December 1994 - February 1995}}|–|0}} / end date: {{#explode:{{dl/n|16 December 1994 - February 1995}}|–|1}})''
* {{tlx|dl|16 December 1994 - February 1995}} => {{dl|16 December 1994 - February 1995}} ''(SMW: {{#explode:{{dl/n|16 December 1994 - February 1995}}|–|0}} / end date: {{#explode:{{dl/n|16 December 1994 - February 1995}}|–|1}})''
* {{tlx|dl|January 2006 - 2007}} => {{dl|January 2006 - 2007}} ''(SMW: {{#explode:{{dl/n|January 2006 - 2007}}|–|0}} / end date: {{#explode:{{dl/n|January 2006 - 2007}}|–|1}})''
* {{tlx|dl|January 2006 - 2007}} => {{dl|January 2006 - 2007}} ''(SMW: {{#explode:{{dl/n|January 2006 - 2007}}|–|0}} / end date: {{#explode:{{dl/n|January 2006 - 2007}}|–|1}})''
* {{tlx|dl|October-November 2007}} => {{dl|October-November 2007}} ''(SMW: {{#explode:{{dl/n|October-November 2007}}|–|0}} / end date: {{#explode:{{dl/n|October-November 2007}}|–|1}})''
** {{tlx|dl|1 October-November 2007}} => {{dl|1 October-November 2007}} ''(SMW: {{#explode:{{dl/n|1 October-November 2007}}|–|0}} / end date: {{#explode:{{dl/n|1 October-November 2007}}|–|1}})''
** {{tlx|dl|1 October - November 2007}} => {{dl|1 October - November 2007}} ''(SMW: {{#explode:{{dl/n|1 October - November 2007}}|–|0}} / end date: {{#explode:{{dl/n|1 October - November 2007}}|–|1}})''
* {{tlx|dl|1 October 2006-November 2007}} => {{dl|1 October 2006-November 2007}} ''(SMW: {{#explode:{{dl/n|1 October 2006-November 2007}}|–|0}} / end date: {{#explode:{{dl/n|1 October 2006-November 2007}}|–|1}})''
* {{tlx|dl|11-14 March 1974}} => {{dl|11-14 March 1974}} ''(SMW: {{#explode:{{dl/n|11-14 March 1974}}|–|0}} / end date: {{#explode:{{dl/n|11-14 March 1974}}|–|1}})''
* {{tlx|dl|11-14 March 1974}} => {{dl|11-14 March 1974}} ''(SMW: {{#explode:{{dl/n|11-14 March 1974}}|–|0}} / end date: {{#explode:{{dl/n|11-14 March 1974}}|–|1}})''
* {{tlx|dl|11 - 14 March 1974}} => {{dl|11 - 14 March 1974}} ''(SMW: {{#explode:{{dl/n|11 - 14 March 1974}}|–|0}} / end date: {{#explode:{{dl/n|11 - 14 March 1974}}|–|1}})''
* {{tlx|dl|11 - 14 March 1974}} => {{dl|11 - 14 March 1974}} ''(SMW: {{#explode:{{dl/n|{{#explode:11 - 14 March 1974|(|0}}}}|–|0}} / end date: {{#explode:{{dl/n|11 - 14 March 1974}}|–|1}})''


=== With notes ===
=== With notes ===
Line 79: Line 90:
* {{tlx|dl|19 December 1996 (VHS)}} => {{dl|19 December 1996 (VHS)}} ''(SMW: {{dl/n|19 December 1996 (VHS)}})''
* {{tlx|dl|19 December 1996 (VHS)}} => {{dl|19 December 1996 (VHS)}} ''(SMW: {{dl/n|19 December 1996 (VHS)}})''
* {{tlx|dl|8 March 2010 (AudioGO)}} => {{dl|8 March 2010 (AudioGO)}} ''(SMW: {{dl/n|8 March 2010 (AudioGO)}})''
* {{tlx|dl|8 March 2010 (AudioGO)}} => {{dl|8 March 2010 (AudioGO)}} ''(SMW: {{dl/n|8 March 2010 (AudioGO)}})''
* {{tlx|dl|11 - 14 March 1974 (n)}} => {{dl|11 - 14 March 1974 (n)}} ''(SMW: {{#explode:{{dl/n|{{#explode:11 - 14 March 1974 (n)|(|0}}}}|–|0}} / end date: {{#explode:{{dl/n|11 - 14 March 1974 (n)}}|–|1}})''
=== To fix ===
* {{tlx|dl|2006-January 2007}} => {{dl|2006-January 2007}} ''(SMW: {{#explode:{{dl/n|2006-January 2007}}|–|0}} / end date: {{#explode:{{dl/n|2006-January 2007}}|–|1}})''
----
----
* {{tlx|dl|September-9 December 2017}} => {{dl|September-9 December 2017}} ''(SMW: {{#explode:{{dl/n|September-9 December 2017}}|–|0}} / end date: {{#explode:{{dl/n|September 2016-9 December 2017}}|–|1}})''
* {{tlx|dl|September-December 2017}} => {{dl|September-December 2017}} ''(SMW: {{#explode:{{dl/n|September-December 2017}}|–|0}} / end date: {{#explode:{{dl/n|September 2016-December 2017}}|–|1}})''
----
SMW solution ({{tlx|dl/n}}: ('''done''')
* <code><nowiki>{{#ifeq:{{#explode:{{{1}}}||1}}|-|{{#explode:{{{1}}}||-1}}|{{#explode:{{#explode:{{{1}}}||1}}|-|0}}}}</nowiki></code>
*: '''->'''
* <code><nowiki>{{#ifeq:{{#explode:{{{1}}}||1}}|-|{{#explode:{{{1}}}||-1}}|{{#if:{{#explode:{{#explode:{{{1}}}|-|0}}||1}}|{{#explode:{{#explode:{{{1}}}|-|0}}||1}}|{{#explode:{{{1}}}||-1}}}}}}</nowiki></code>
----
Link solution ({{tlx|dl/link}}: ('''done''')
* <code><nowiki>{{#ifeq:{{#explode:{{{1}}}||1}}|-||{{d|{{#explode:{{#explode:{{{1}}}||1}}|-|0}}|re}}}}}}</nowiki></code>
*: '''->'''
* <code><nowiki>{{#ifeq:{{#explode:{{{1}}}||1}}|-||{{d|{{#explode:{{#explode:{{{1}}}|-|0}}||1}}|re}}}}}}</nowiki></code>
----
# <code>September-9 December 2017</code> -> {{d|{{#explode:{{#explode:September-9 December 2017||0}}|-|0}}|re}} {{#ifeq:{{#explode:September-9 December 2017||1}}|-||{{d|{{#explode:{{#explode:September-9 December 2017||1}}|-|0}}|re}}}} (''SMW: {{#ifeq:{{#explode:September-9 December 2017||1}}|-|{{#explode:September-9 December 2017||-1}}|{{#explode:{{#explode:September-9 December 2017||1}}|-|0}}}}'')
# <code>September - 9 December 2017</code> -> {{d|{{#explode:{{#explode:September - 9 December 2017||0}}|-|0}}|re}} {{#ifeq:{{#explode:September - 9 December 2017||1}}|-||{{d|{{#explode:{{#explode:September - 9 December 2017||1}}|-|0}}|re}}}} (''SMW: {{#ifeq:{{#explode:September - 9 December 2017||1}}|-|{{#explode:September - 9 December 2017||-1}}|{{#explode:{{#explode:September - 9 December 2017||1}}|-|0}}}}'')
# <code>September 2016-9 December 2017</code> -> {{d|{{#explode:{{#explode:September 2016-9 December 2017||0}}|-|0}}|re}} {{#ifeq:{{#explode:September 2016-9 December 2017||1}}|-||{{d|{{#explode:{{#explode:September 2016-9 December 2017||1}}|-|0}}|re}}}} (''SMW: {{#ifeq:{{#explode:September 2016-9 December 2017||1}}|-|{{#explode:September 2016-9 December 2017||-1}}|{{#explode:{{#explode:September 2016-9 December 2017||1}}|-|0}}}}'')
# <code>September 2016 - 9 December 2017</code> -> {{d|{{#explode:{{#explode:September 2016 - 9 December 2017||0}}|-|0}}|re}} {{#ifeq:{{#explode:September 2016 - 9 December 2017||1}}|-||{{d|{{#explode:{{#explode:September 2016 - 9 December 2017||1}}|-|0}}|re}}}} (''SMW: {{#ifeq:{{#explode:September 2016 - 9 December 2017||1}}|-|{{#explode:September 2016 - 9 December 2017||-1}}|{{#explode:{{#explode:September 2016 - 9 December 2017||1}}|-|0}}}}'')
::->
# <code>September-9 December 2017</code> -> {{d|{{#explode:{{#explode:September-9 December 2017||0}}|-|0}}|re}} {{#ifeq:{{#explode:September-9 December 2017||1}}|-||{{d|{{#explode:{{#explode:September-9 December 2017|-|0}}||1}}|re}}}} (''SMW: {{#ifeq:{{#explode:September-9 December 2017||1}}|-|{{#explode:September-9 December 2017||-1}}|{{#if:{{#explode:{{#explode:September-9 December 2017|-|0}}||1}}|{{#explode:{{#explode:September-9 December 2017|-|0}}||1}}|{{#explode:September-9 December 2017||-1}}}}}}'')
# <code>September - 9 December 2017</code> -> {{d|{{#explode:{{#explode:September - 9 December 2017||0}}|-|0}}|re}} {{#ifeq:{{#explode:September - 9 December 2017||1}}|-||{{d|{{#explode:{{#explode:September - 9 December 2017|-|0}}||1}}|re}}}} (''SMW: {{#ifeq:{{#explode:September - 9 December 2017||1}}|-|{{#explode:September - 9 December 2017||-1}}|{{#if:{{#explode:{{#explode:September - 9 December 2017|-|0}}||1}}|{{#explode:{{#explode:September - 9 December 2017|-|0}}||1}}|{{#explode:September - 9 December 2017||-1}}}}}}'')
# <code>September 2016-9 December 2017</code> -> {{d|{{#explode:{{#explode:September 2016-9 December 2017||0}}|-|0}}|re}} {{#ifeq:{{#explode:September 2016-9 December 2017||1}}|-||{{d|{{#explode:{{#explode:September 2016-9 December 2017|-|0}}||1}}|re}}}} (''SMW: {{#ifeq:{{#explode:September 2016-9 December 2017||1}}|-|{{#explode:September 2016-9 December 2017||-1}}|{{#if:{{#explode:{{#explode:September 2016-9 December 2017|-|0}}||1}}|{{#explode:{{#explode:September 2016-9 December 2017|-|0}}||1}}|{{#explode:September 2016-9 December 2017||-1}}}}}}'')
# <code>September 2016 - 9 December 2017</code> -> {{d|{{#explode:{{#explode:September 2016 - 9 December 2017||0}}|-|0}}|re}} {{#ifeq:{{#explode:September 2016 - 9 December 2017||1}}|-||{{d|{{#explode:{{#explode:September 2016 - 9 December 2017|-|0}}||1}}|re}}}} (''SMW: {{#ifeq:{{#explode:September 2016 - 9 December 2017||1}}|-|{{#explode:September 2016 - 9 December 2017||-1}}|{{#if:{{#explode:{{#explode:September 2016 - 9 December 2017|-|0}}||1}}|{{#explode:{{#explode:September 2016 - 9 December 2017|-|0}}||1}}|{{#explode:September 2016 - 9 December 2017||-1}}}}}}'')
----
----
* {{tlx|dl|16 September-9 December 2017}} => {{dl|16 September-9 December 2017}} ''(SMW: {{#explode:{{dl/n|16 September-9 December 2017}}|–|0}} / end date: {{#explode:{{dl/n|16 September 2016-9 December 2017}}|–|1}})''
----
SMW solution ({{tlx|dl/n}}: ('''done''')
* <code><nowiki>{{#iferror:{{#ifexpr:{{#explode:{{{1}}}|-|0}}>0}}|{{#ifeq:{{#explode:{{{1}}}||2}}|-|{{#explode:{{{1}}}||-1}}|{{#explode:{{#explode:{{{1}}}||2}}|-|0}}}}}}</nowiki></code>
*: '''->'''
* <code><nowiki>{{#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}}}}}}}}</nowiki></code>
----
Link solution ({{tlx|dl/link}}: ('''done''')
* <code><nowiki>{{d|{{#explode:{{{1}}}||0}} {{#explode:{{#explode:{{{1}}}||1}}|-|0}}|re}} {{#ifeq:{{#explode:{{{1}}}||2}}|-||{{d|{{#explode:{{#explode:{{{1}}}||2}}|-|0}}|re}}}}</nowiki></code>
*: '''->'''
* <code><nowiki>{{d|{{#explode:{{{1}}}||0}} {{#explode:{{#explode:{{{1}}}||1}}|-|0}}|re}} {{#ifeq:{{#explode:{{{1}}}||2}}|-||{{d|{{#explode:{{#explode:{{{1}}}|-|0}}||2}}|re}}}}</nowiki></code>
----
# <code>16 September-9 December 2017</code> -> {{d|{{#explode:16 September-9 December 2017||0}} {{#explode:{{#explode:16 September-9 December 2017||1}}|-|0}}|re}} {{#ifeq:{{#explode:16 September-9 December 2017||2}}|-||{{d|{{#explode:{{#explode:16 September-9 December 2017|-|0}}||2}}|re}}}} (''SMW: {{#iferror:{{#ifexpr:{{#explode:16 September-9 December 2017|-|0}}>0}}|{{#ifeq:{{#explode:16 September-9 December 2017||2}}|-|{{#explode:16 September-9 December 2017||-1}}|{{#if:{{#explode:{{#explode:16 September-9 December 2017|-|0}}||2}}|{{#explode:{{#explode:16 September-9 December 2017|-|0}}||2}}|{{#explode:16 September-9 December 2017||-1}}}}}}}}'')
# <code>16 September - 9 December 2017</code> -> {{d|{{#explode:16 September - 9 December 2017||0}} {{#explode:{{#explode:16 September - 9 December 2017||1}}|-|0}}|re}} {{#ifeq:{{#explode:16 September - 9 December 2017||2}}|-||{{d|{{#explode:{{#explode:16 September - 9 December 2017|-|0}}||2}}|re}}}} (''SMW: {{#iferror:{{#ifexpr:{{#explode:16 September - 9 December 2017|-|0}}>0}}|{{#ifeq:{{#explode:16 September - 9 December 2017||2}}|-|{{#explode:16 September - 9 December 2017||-1}}|{{#if:{{#explode:{{#explode:16 September - 9 December 2017|-|0}}||2}}|{{#explode:{{#explode:16 September - 9 December 2017|-|0}}||2}}|{{#explode:16 September - 9 December 2017||-1}}}}}}}}'')
# <code>16 September 2016-9 December 2017</code> -> {{d|{{#explode:16 September 2016-9 December 2017||0}} {{#explode:{{#explode:16 September 2016-9 December 2017||1}}|-|0}}|re}} {{#ifeq:{{#explode:16 September 2016-9 December 2017||2}}|-||{{d|{{#explode:{{#explode:16 September 2016-9 December 2017|-|0}}||2}}|re}}}} (''SMW: {{#iferror:{{#ifexpr:{{#explode:16 September 2016-9 December 2017|-|0}}>0}}|{{#ifeq:{{#explode:16 September 2016-9 December 2017||2}}|-|{{#explode:16 September 2016-9 December 2017||-1}}|{{#if:{{#explode:{{#explode:16 September 2016-9 December 2017|-|0}}||2}}|{{#explode:{{#explode:16 September 2016-9 December 2017|-|0}}||2}}|{{#explode:16 September 2016-9 December 2017||-1}}}}}}}}'')
# <code>16 September 2016 - 9 December 2017</code> -> {{d|{{#explode:16 September 2016 - 9 December 2017||0}} {{#explode:{{#explode:16 September 2016 - 9 December 2017||1}}|-|0}}|re}} {{#ifeq:{{#explode:16 September 2016 - 9 December 2017||2}}|-||{{d|{{#explode:{{#explode:16 September 2016 - 9 December 2017|-|0}}||2}}|re}}}} (''SMW: {{#iferror:{{#ifexpr:{{#explode:16 September 2016 - 9 December 2017|-|0}}>0}}|{{#ifeq:{{#explode:16 September 2016 - 9 December 2017||2}}|-|{{#explode:16 September 2016 - 9 December 2017||-1}}|{{#if:{{#explode:{{#explode:16 September 2016 - 9 December 2017|-|0}}||2}}|{{#explode:{{#explode:16 September 2016 - 9 December 2017|-|0}}||2}}|{{#explode:16 September 2016 - 9 December 2017||-1}}}}}}}}'')


== {{<code>dl-0</code>}} (legacy) ==
== {{<code>dl-0</code>}} (legacy) ==
Line 95: Line 160:
|columns = 3
|columns = 3
}}-->
}}-->
[[Category:June 2017 00:46 cleanups]]

Latest revision as of 04:57, 24 May 2022

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)

Rani
Rani
the Rani
The Doctor
the Brig
Sarah Jane
Sarah


{{date link}} (dl)[[edit] | [edit source]]

Use of {{date link}} is very simple.

{{dl|8 November 2024}} (in this instance, the current date) will automatically link to that release date (8 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] | [edit source]]

Date ranges[[edit] | [edit source]]

With notes[[edit] | [edit source]]

  • {{dl|8 November 2024 (today)}} => 8 November 2024 (today) (SMW: 2024-11-08)
  • {{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]]




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}}}}}}

  1. September-9 December 2017 -> September December (SMW: December)
  2. September - 9 December 2017 -> September (SMW: 2017)
  3. September 2016-9 December 2017 -> September 2016 (SMW: 2016)
  4. September 2016 - 9 December 2017 -> September 2016 (SMW: 2016)
->
  1. September-9 December 2017 -> September (SMW: 2017)
  2. September - 9 December 2017 -> September (SMW: 2017)
  3. September 2016-9 December 2017 -> September 2016 (SMW: 2016)
  4. September 2016 - 9 December 2017 -> September 2016 (SMW: 2016)



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}}}}

  1. 16 September-9 December 2017 -> 16 September (SMW: 2017)
  2. 16 September - 9 December 2017 -> 16 September (SMW: 2017)
  3. 16 September 2016-9 December 2017 -> 16 September 2016 (SMW: 2016)
  4. 16 September 2016 - 9 December 2017 -> 16 September 2016 (SMW: 2016)

{{dl-0}} (legacy)[[edit] | [edit source]]