Template:Magazine count: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
m (SOTO moved page Template:Issue count to Template:Magazine count) |
No edit summary Tag: sourceedit |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifexpr:{{{1|}}} > {{#explode:{{#dpl:|category={{{2|}}}|ordermethod=title|order=descending|count=1|format=,,%PAGE%,}}| |1}}|{{{1|}}}|{{#explode:{{#dpl:|category={{{2|}}}|ordermethod=title|order=descending|count=1|format=,,%PAGE%,}}| |1}}}}</includeonly><noinclude>[[Category:Coding utility templates]]</noinclude> | <includeonly>{{#ifexpr:{{{1|}}} > {{#explode:{{#dpl:|category={{{2|}}}|ordermethod=title|order=descending|count=1|format=,,%PAGE%,}}| |1}} + {{#ifexist:{{#explode:{{{2|}}}||0}} 2.1|{{#explode:{{#explode:{{#dpl:|category={{#explode:{{{2|}}}||0}} issues|titlematch={{#explode:{{{2|}}}||0}} 2.%|ordermethod=title|order=descending|count=1|format=,,%PAGE%,}}| |1}}|.|1}}|0}} + {{#ifexist:{{#explode:{{{2|}}}||0}} 3.1|{{#explode:{{#explode:{{#dpl:|category={{#explode:{{{2|}}}||0}} issues|titlematch={{#explode:{{{2|}}}||0}} 3.%|ordermethod=title|order=descending|count=1|format=,,%PAGE%,}}| |1}}|.|1}}|0}} + {{#if:{{{3|}}}|{{#explode:{{#dpl:|category={{{3|}}}|ordermethod=title|order=descending|count=1|format=,,%PAGE%,}}| |1}}|0}}|{{{1|}}}|{{#expr:{{#explode:{{#dpl:|category={{{2|}}}|ordermethod=title|order=descending|count=1|format=,,%PAGE%,}}| |1}} + {{#ifexist:{{#explode:{{{2|}}}||0}} 2.1|{{#explode:{{#explode:{{#dpl:|category={{#explode:{{{2|}}}||0}} issues|titlematch={{#explode:{{{2|}}}||0}} 2.%|ordermethod=title|order=descending|count=1|format=,,%PAGE%,}}| |1}}|.|1}}|0}} + {{#ifexist:{{#explode:{{{2|}}}||0}} 3.1|{{#explode:{{#explode:{{#dpl:|category={{#explode:{{{2|}}}||0}} issues|titlematch={{#explode:{{{2|}}}||0}} 3.%|ordermethod=title|order=descending|count=1|format=,,%PAGE%,}}| |1}}|.|1}}|0}} + {{#if:{{{3|}}}|{{#explode:{{#dpl:|category={{{3|}}}|ordermethod=title|order=descending|count=1|format=,,%PAGE%,}}| |1}}|0}}}}}}</includeonly><noinclude>[[Category:Coding utility templates]]</noinclude> |