Template:Dl/n: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(This is a far more elegant solution.)
No edit summary
Line 5: Line 5:
}}
}}
|<!-- YYYY -->{{#if:{{#explode:{{{1}}}|-|1}}
|<!-- YYYY -->{{#if:{{#explode:{{{1}}}|-|1}}
|<!--  R-R -->{{#explode:{{{1}}}||0}}–{{#iferror:{{#ifexpr:{{#explode:{{#explode:{{{1}}}|-|1}}||0}} <= 31|<!-- R - YYYY-MM-DD -->{{#explode:{{#explode:{{{1}}}|-|1}}||2}}-{{dl/n/m|{{#explode:{{#explode:{{{1}}}|-|1}}||1}}}}-{{dl/n/d|{{#explode:{{#explode:{{{1}}}|-|1}}||0}}}}|<!-- R - YYYY -->{{#explode:{{#explode:{{{1}}}|-|1}}||0}}}}|<!-- R - YYYY-MM -->{{#explode:{{#explode:{{{1}}}|-|1}}||1}}-{{dl/n/m|{{#explode:{{#explode:{{{1}}}|-|1}}||0}}}}}}
|<!--  R-R -->{{#explode:{{{1}}}|-|0}}–{{#iferror:{{#ifexpr:{{#explode:{{#explode:{{{1}}}|-|1}}||0}} <= 31|<!-- R - YYYY-MM-DD -->{{#explode:{{#explode:{{{1}}}|-|1}}||2}}-{{dl/n/m|{{#explode:{{#explode:{{{1}}}|-|1}}||1}}}}-{{dl/n/d|{{#explode:{{#explode:{{{1}}}|-|1}}||0}}}}|<!-- R - YYYY -->{{#explode:{{#explode:{{{1}}}|-|1}}||0}}}}|<!-- R - YYYY-MM -->{{#explode:{{#explode:{{{1}}}|-|1}}||1}}-{{dl/n/m|{{#explode:{{#explode:{{{1}}}|-|1}}||0}}}}}}
|<!--    D -->{{#explode:{{{1}}}||0}}
|<!--    D -->{{#explode:{{{1}}}||0}}
}}}}
}}}}

Revision as of 06:09, 14 January 2018