User:Bongolium500/Data experiments/Comic parts counter: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
|[[:Category:One part comics|1]]
|[[:Category:One part comics|1]]
|{{#vardefineecho:CC-1-all|{{#dpl:
|{{#vardefineecho:CC-1-all|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**One part comics
|category=**One part comics
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
Line 14: Line 14:
}}}}{{#if:{{#var:CC-1-all|}}||{{#vardefineecho:CC-1-all|0}}}}
}}}}{{#if:{{#var:CC-1-all|}}||{{#vardefineecho:CC-1-all|0}}}}
|{{#vardefineecho:CC-1-vo|{{#dpl:
|{{#vardefineecho:CC-1-vo|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**One part comics
|category=**One part comics
|notuses=Template:Invalid
|notuses=Template:Invalid
Line 23: Line 23:
|[[:Category:Two part comics|2]]
|[[:Category:Two part comics|2]]
|{{#vardefineecho:CC-2-all|{{#dpl:
|{{#vardefineecho:CC-2-all|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Two part comics
|category=**Two part comics
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
Line 29: Line 29:
}}}}{{#if:{{#var:CC-2-all|}}||{{#vardefineecho:CC-2-all|0}}}}
}}}}{{#if:{{#var:CC-2-all|}}||{{#vardefineecho:CC-2-all|0}}}}
|{{#vardefineecho:CC-2-vo|{{#dpl:
|{{#vardefineecho:CC-2-vo|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Two part comics
|category=**Two part comics
|notuses=Template:Invalid
|notuses=Template:Invalid
Line 38: Line 38:
|[[:Category:Three part comics|3]]
|[[:Category:Three part comics|3]]
|{{#vardefineecho:CC-3-all|{{#dpl:
|{{#vardefineecho:CC-3-all|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Three part comics
|category=**Three part comics
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
Line 44: Line 44:
}}}}{{#if:{{#var:CC-3-all|}}||{{#vardefineecho:CC-3-all|0}}}}
}}}}{{#if:{{#var:CC-3-all|}}||{{#vardefineecho:CC-3-all|0}}}}
|{{#vardefineecho:CC-3-vo|{{#dpl:
|{{#vardefineecho:CC-3-vo|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Three part comics
|category=**Three part comics
|notuses=Template:Invalid
|notuses=Template:Invalid
Line 53: Line 53:
|[[:Category:Four part comics|4]]
|[[:Category:Four part comics|4]]
|{{#vardefineecho:CC-4-all|{{#dpl:
|{{#vardefineecho:CC-4-all|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Four part comics
|category=**Four part comics
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
Line 59: Line 59:
}}}}{{#if:{{#var:CC-4-all|}}||{{#vardefineecho:CC-4-all|0}}}}
}}}}{{#if:{{#var:CC-4-all|}}||{{#vardefineecho:CC-4-all|0}}}}
|{{#vardefineecho:CC-4-vo|{{#dpl:
|{{#vardefineecho:CC-4-vo|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Four part comics
|category=**Four part comics
|notuses=Template:Invalid
|notuses=Template:Invalid
Line 68: Line 68:
|[[:Category:Five part comics|5]]
|[[:Category:Five part comics|5]]
|{{#vardefineecho:CC-5-all|{{#dpl:
|{{#vardefineecho:CC-5-all|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Five part comics
|category=**Five part comics
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
Line 74: Line 74:
}}}}{{#if:{{#var:CC-5-all|}}||{{#vardefineecho:CC-5-all|0}}}}
}}}}{{#if:{{#var:CC-5-all|}}||{{#vardefineecho:CC-5-all|0}}}}
|{{#vardefineecho:CC-5-vo|{{#dpl:
|{{#vardefineecho:CC-5-vo|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Five part comics
|category=**Five part comics
|notuses=Template:Invalid
|notuses=Template:Invalid
Line 83: Line 83:
|[[:Category:Six part comics|6]]
|[[:Category:Six part comics|6]]
|{{#vardefineecho:CC-6-all|{{#dpl:
|{{#vardefineecho:CC-6-all|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Six part comics
|category=**Six part comics
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
Line 89: Line 89:
}}}}{{#if:{{#var:CC-6-all|}}||{{#vardefineecho:CC-6-all|0}}}}
}}}}{{#if:{{#var:CC-6-all|}}||{{#vardefineecho:CC-6-all|0}}}}
|{{#vardefineecho:CC-6-vo|{{#dpl:
|{{#vardefineecho:CC-6-vo|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Six part comics
|category=**Six part comics
|notuses=Template:Invalid
|notuses=Template:Invalid
Line 98: Line 98:
|[[:Category:Seven part comics|7]]
|[[:Category:Seven part comics|7]]
|{{#vardefineecho:CC-7-all|{{#dpl:
|{{#vardefineecho:CC-7-all|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Seven part comics
|category=**Seven part comics
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
Line 104: Line 104:
}}}}{{#if:{{#var:CC-7-all|}}||{{#vardefineecho:CC-7-all|0}}}}
}}}}{{#if:{{#var:CC-7-all|}}||{{#vardefineecho:CC-7-all|0}}}}
|{{#vardefineecho:CC-7-vo|{{#dpl:
|{{#vardefineecho:CC-7-vo|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Seven part comics
|category=**Seven part comics
|notuses=Template:Invalid
|notuses=Template:Invalid
Line 113: Line 113:
|[[:Category:Eight part comics|8]]
|[[:Category:Eight part comics|8]]
|{{#vardefineecho:CC-8-all|{{#dpl:
|{{#vardefineecho:CC-8-all|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Eight part comics
|category=**Eight part comics
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
Line 119: Line 119:
}}}}{{#if:{{#var:CC-8-all|}}||{{#vardefineecho:CC-8-all|0}}}}
}}}}{{#if:{{#var:CC-8-all|}}||{{#vardefineecho:CC-8-all|0}}}}
|{{#vardefineecho:CC-8-vo|{{#dpl:
|{{#vardefineecho:CC-8-vo|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Eight part comics
|category=**Eight part comics
|notuses=Template:Invalid
|notuses=Template:Invalid
Line 128: Line 128:
|[[:Category:Nine part comics|9]]
|[[:Category:Nine part comics|9]]
|{{#vardefineecho:CC-9-all|{{#dpl:
|{{#vardefineecho:CC-9-all|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Nine part comics
|category=**Nine part comics
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
Line 134: Line 134:
}}}}{{#if:{{#var:CC-9-all|}}||{{#vardefineecho:CC-9-all|0}}}}
}}}}{{#if:{{#var:CC-9-all|}}||{{#vardefineecho:CC-9-all|0}}}}
|{{#vardefineecho:CC-9-vo|{{#dpl:
|{{#vardefineecho:CC-9-vo|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Nine part comics
|category=**Nine part comics
|notuses=Template:Invalid
|notuses=Template:Invalid
Line 143: Line 143:
|[[:Category:Ten part comics|10]]
|[[:Category:Ten part comics|10]]
|{{#vardefineecho:CC-10-all|{{#dpl:
|{{#vardefineecho:CC-10-all|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Ten part comics
|category=**Ten part comics
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
Line 149: Line 149:
}}}}{{#if:{{#var:CC-10-all|}}||{{#vardefineecho:CC-10-all|0}}}}
}}}}{{#if:{{#var:CC-10-all|}}||{{#vardefineecho:CC-10-all|0}}}}
|{{#vardefineecho:CC-10-vo|{{#dpl:
|{{#vardefineecho:CC-10-vo|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Ten part comics
|category=**Ten part comics
|notuses=Template:Invalid
|notuses=Template:Invalid
Line 158: Line 158:
|[[:Category:Eleven part comics|11]]
|[[:Category:Eleven part comics|11]]
|{{#vardefineecho:CC-11-all|{{#dpl:
|{{#vardefineecho:CC-11-all|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Eleven part comics
|category=**Eleven part comics
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
Line 164: Line 164:
}}}}{{#if:{{#var:CC-11-all|}}||{{#vardefineecho:CC-11-all|0}}}}
}}}}{{#if:{{#var:CC-11-all|}}||{{#vardefineecho:CC-11-all|0}}}}
|{{#vardefineecho:CC-11-vo|{{#dpl:
|{{#vardefineecho:CC-11-vo|{{#dpl:
|category=*{{{1|}}}{{#if:{{{2|}}}|¦*{{{2}}}}}
|category={{{1|}}}
|category=**Eleven part comics
|category=**Eleven part comics
|notuses=Template:Invalid
|notuses=Template:Invalid
Line 170: Line 170:
|format=,,,
|format=,,,
}}}}{{#if:{{#var:CC-11-vo|}}||{{#vardefineecho:CC-11-vo|0}}}}
}}}}{{#if:{{#var:CC-11-vo|}}||{{#vardefineecho:CC-11-vo|0}}}}
|-
|[[:Category:Twelve part comics|12]]
|{{#vardefineecho:CC-12-all|{{#dpl:
|category={{{1|}}}
|category=**Twelve part comics
|resultsheader=%TOTALPAGES%
|format=,,,
}}}}{{#if:{{#var:CC-12-all|}}||{{#vardefineecho:CC-12-all|0}}}}
|{{#vardefineecho:CC-12-vo|{{#dpl:
|category={{{1|}}}
|category=**Twelve part comics
|notuses=Template:Invalid
|resultsheader=%TOTALPAGES%
|format=,,,
}}}}{{#if:{{#var:CC-12-vo|}}||{{#vardefineecho:CC-12-vo|0}}}}
|-
|-
!Total
!Total
!{{#vardefineecho:CC-sum-all|{{#expr:{{#var:CC-1-all}}+{{#var:CC-2-all}}+{{#var:CC-3-all}}+{{#var:CC-4-all}}+{{#var:CC-5-all}}+{{#var:CC-6-all}}+{{#var:CC-7-all}}+{{#var:CC-8-all}}+{{#var:CC-9-all}}+{{#var:CC-10-all}}+{{#var:CC-11-all}}}}}}
!{{#vardefineecho:CC-sum-all|{{#expr:{{#var:CC-1-all}}+{{#var:CC-2-all}}+{{#var:CC-3-all}}+{{#var:CC-4-all}}+{{#var:CC-5-all}}+{{#var:CC-6-all}}+{{#var:CC-7-all}}+{{#var:CC-8-all}}+{{#var:CC-9-all}}+{{#var:CC-10-all}}+{{#var:CC-11-all}}+{{#var:CC-12-all}}}}}}
!{{#vardefineecho:CC-sum-vo|{{#expr:{{#var:CC-1-vo}}+{{#var:CC-2-vo}}+{{#var:CC-3-vo}}+{{#var:CC-4-vo}}+{{#var:CC-5-vo}}+{{#var:CC-6-vo}}+{{#var:CC-7-vo}}+{{#var:CC-8-vo}}+{{#var:CC-9-vo}}+{{#var:CC-10-vo}}+{{#var:CC-11-vo}}}}}}
!{{#vardefineecho:CC-sum-vo|{{#expr:{{#var:CC-1-vo}}+{{#var:CC-2-vo}}+{{#var:CC-3-vo}}+{{#var:CC-4-vo}}+{{#var:CC-5-vo}}+{{#var:CC-6-vo}}+{{#var:CC-7-vo}}+{{#var:CC-8-vo}}+{{#var:CC-9-vo}}+{{#var:CC-10-vo}}+{{#var:CC-11-vo}}+{{#var:CC-12-vo}}}}}}
|-
!Mean number of comics per length
!{{#expr:(1*{{#var:CC-1-all}}+2*{{#var:CC-2-all}}+3*{{#var:CC-3-all}}+4*{{#var:CC-4-all}}+5*{{#var:CC-5-all}}+6*{{#var:CC-6-all}}+7*{{#var:CC-7-all}}+8*{{#var:CC-8-all}}+9*{{#var:CC-9-all}}+10*{{#var:CC-10-all}}+11*{{#var:CC-11-all}})/66}}
!{{#expr:(1*{{#var:CC-1-vo}}+2*{{#var:CC-2-vo}}+3*{{#var:CC-3-vo}}+4*{{#var:CC-4-vo}}+5*{{#var:CC-5-vo}}+6*{{#var:CC-6-vo}}+7*{{#var:CC-7-vo}}+8*{{#var:CC-8-vo}}+9*{{#var:CC-9-vo}}+10*{{#var:CC-10-vo}}+11*{{#var:CC-11-vo}})/66}}
|-
|-
!Mean number of parts per comic
!Mean number of parts per comic
!{{#expr:(1*{{#var:CC-1-all}}+2*{{#var:CC-2-all}}+3*{{#var:CC-3-all}}+4*{{#var:CC-4-all}}+5*{{#var:CC-5-all}}+6*{{#var:CC-6-all}}+7*{{#var:CC-7-all}}+8*{{#var:CC-8-all}}+9*{{#var:CC-9-all}}+10*{{#var:CC-10-all}}+11*{{#var:CC-11-all}})/{{#var:CC-sum-all}}}}
!{{#ifeq:{{#var:CC-sum-all}}|0|N/A|{{#expr:(1*{{#var:CC-1-all}}+2*{{#var:CC-2-all}}+3*{{#var:CC-3-all}}+4*{{#var:CC-4-all}}+5*{{#var:CC-5-all}}+6*{{#var:CC-6-all}}+7*{{#var:CC-7-all}}+8*{{#var:CC-8-all}}+9*{{#var:CC-9-all}}+10*{{#var:CC-10-all}}+11*{{#var:CC-11-all}}+12*{{#var:CC-12-all}})/{{#var:CC-sum-all}}}}}}
!{{#expr:(1*{{#var:CC-1-vo}}+2*{{#var:CC-2-vo}}+3*{{#var:CC-3-vo}}+4*{{#var:CC-4-vo}}+5*{{#var:CC-5-vo}}+6*{{#var:CC-6-vo}}+7*{{#var:CC-7-vo}}+8*{{#var:CC-8-vo}}+9*{{#var:CC-9-vo}}+10*{{#var:CC-10-vo}}+11*{{#var:CC-11-vo}})/{{#var:CC-sum-vo}}}}
!{{#ifeq:{{#var:CC-sum-vo}}|0|N/A|{{#expr:(1*{{#var:CC-1-vo}}+2*{{#var:CC-2-vo}}+3*{{#var:CC-3-vo}}+4*{{#var:CC-4-vo}}+5*{{#var:CC-5-vo}}+6*{{#var:CC-6-vo}}+7*{{#var:CC-7-vo}}+8*{{#var:CC-8-vo}}+9*{{#var:CC-9-vo}}+10*{{#var:CC-10-vo}}+11*{{#var:CC-11-vo}}+12*{{#var:CC-12-vo}})/{{#var:CC-sum-vo}}}}}}
|}
|}

Latest revision as of 22:06, 25 February 2022

Number of parts Number of comics with that number of parts
All Excluding invalid
1

Extension:DynamicPageList3 (DPL3), version 3.5.2: Error: Too many categories! Maximum: 6. Help: increase $wgDplSettings['maxCategoryCount'] to specify more categories or set $wgDplSettings['allowUnlimitedCategories'] = true; for no limitation. (Set the variable in the wiki's LocalSettings.php configuration file.)

Extension:DynamicPageList3 (DPL3), version 3.5.2: Error: Too many categories! Maximum: 6. Help: increase $wgDplSettings['maxCategoryCount'] to specify more categories or set $wgDplSettings['allowUnlimitedCategories'] = true; for no limitation. (Set the variable in the wiki's LocalSettings.php configuration file.)

2 130 128
3 81 81
4 106 106
5 48 48
6 25 25
7 27 27
8 25 25
9 2 2
10 10 10
11 3 3
12 1 1
Total Expression error: Unexpected < operator. Expression error: Unexpected < operator.
Mean number of parts per comic Expression error: Unexpected < operator. Expression error: Unexpected < operator.