Template:Magazine count: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
No edit summary Tag: sourceedit |
No edit summary Tag: sourceedit |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifexpr:{{{1|}}} > {{#explode:{{#dpl:|category={{{2|}}}|ordermethod=title|order=descending|count=1|format=,,%PAGE%,}}| |1}} + {{#ifexist:{{#explode:{{{ | <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> |