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

From Tardis Wiki, the free Doctor Who reference
No edit summary
No edit summary
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable"
{| class="wikitable sortable"
!rowspan=2 width=33%|Number of parts
!rowspan=2 width=33%|Number of parts
!colspan=2|Number of comics with that number of parts
!colspan=2|Number of comics with that number of parts
Line 7: Line 7:
|-
|-
|[[:Category:One part comics|1]]
|[[:Category:One part comics|1]]
|{{#vardefinecho:CC-1-all|{{#dpl:
|{{#vardefineecho:CC-1-all|{{#dpl:
|category=*{{{1|}}}
|category={{{1|}}}
|{{#if:{{{2|}}}|category=*{{{2}}}}}
|category=**One part comics
|category=**One part comics
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
|format=,,,
|format=,,,
}}}}
}}}}{{#if:{{#var:CC-1-all|}}||{{#vardefineecho:CC-1-all|0}}}}
|{{#vardefinecho:CC-1-vo|{{#dpl:
|{{#vardefineecho:CC-1-vo|{{#dpl:
|category=*{{{1|}}}
|category={{{1|}}}
|{{#if:{{{2|}}}|category=*{{{2}}}}}
|category=**One part comics
|category=**One part comics
|notuses=Template:Invalid
|notuses=Template:Invalid
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
|format=,,,
|format=,,,
}}}}
}}}}{{#if:{{#var:CC-1-vo|}}||{{#vardefineecho:CC-1-vo|0}}}}
|-
|-
|[[:Category:Two part comics|2]]
|[[:Category:Two part comics|2]]
|{{#vardefinecho:CC-2-all|{{#dpl:
|{{#vardefineecho:CC-2-all|{{#dpl:
|category=*{{{1|}}}
|category={{{1|}}}
|{{#if:{{{2|}}}|category=*{{{2}}}}}
|category=**Two part comics
|category=**Two part comics
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
|format=,,,
|format=,,,
}}}}
}}}}{{#if:{{#var:CC-2-all|}}||{{#vardefineecho:CC-2-all|0}}}}
|{{#vardefinecho:CC-2-vo|{{#dpl:
|{{#vardefineecho:CC-2-vo|{{#dpl:
|category=*{{{1|}}}
|category={{{1|}}}
|{{#if:{{{2|}}}|category=*{{{2}}}}}
|category=**Two part comics
|category=**Two part comics
|notuses=Template:Invalid
|notuses=Template:Invalid
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
|format=,,,
|format=,,,
}}}}
}}}}{{#if:{{#var:CC-2-vo|}}||{{#vardefineecho:CC-2-vo|0}}}}
|-
|-
|[[:Category:Three part comics|3]]
|[[:Category:Three part comics|3]]
|{{#vardefinecho:CC-3-all|{{#dpl:
|{{#vardefineecho:CC-3-all|{{#dpl:
|category=*{{{1|}}}
|category={{{1|}}}
|{{#if:{{{2|}}}|category=*{{{2}}}}}
|category=**Three part comics
|category=**Three part comics
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
|format=,,,
|format=,,,
}}}}
}}}}{{#if:{{#var:CC-3-all|}}||{{#vardefineecho:CC-3-all|0}}}}
|{{#vardefinecho:CC-3-vo|{{#dpl:
|{{#vardefineecho:CC-3-vo|{{#dpl:
|category=*{{{1|}}}
|category={{{1|}}}
|{{#if:{{{2|}}}|category=*{{{2}}}}}
|category=**Three part comics
|category=**Three part comics
|notuses=Template:Invalid
|notuses=Template:Invalid
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
|format=,,,
|format=,,,
}}}}
}}}}{{#if:{{#var:CC-3-vo|}}||{{#vardefineecho:CC-3-vo|0}}}}
|-
|-
|[[:Category:Four part comics|4]]
|[[:Category:Four part comics|4]]
|{{#vardefinecho:CC-4-all|{{#dpl:
|{{#vardefineecho:CC-4-all|{{#dpl:
|category=*{{{1|}}}
|category={{{1|}}}
|{{#if:{{{2|}}}|category=*{{{2}}}}}
|category=**Four part comics
|category=**Four part comics
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
|format=,,,
|format=,,,
}}}}
}}}}{{#if:{{#var:CC-4-all|}}||{{#vardefineecho:CC-4-all|0}}}}
|{{#vardefinecho:CC-4-vo|{{#dpl:
|{{#vardefineecho:CC-4-vo|{{#dpl:
|category=*{{{1|}}}
|category={{{1|}}}
|{{#if:{{{2|}}}|category=*{{{2}}}}}
|category=**Four part comics
|category=**Four part comics
|notuses=Template:Invalid
|notuses=Template:Invalid
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
|format=,,,
|format=,,,
}}}}
}}}}{{#if:{{#var:CC-4-vo|}}||{{#vardefineecho:CC-4-vo|0}}}}
|-
|-
|[[:Category:Five part comics|5]]
|[[:Category:Five part comics|5]]
|{{#vardefinecho:CC-5-all|{{#dpl:
|{{#vardefineecho:CC-5-all|{{#dpl:
|category=*{{{1|}}}
|category={{{1|}}}
|{{#if:{{{2|}}}|category=*{{{2}}}}}
|category=**Five part comics
|category=**Five part comics
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
|format=,,,
|format=,,,
}}}}
}}}}{{#if:{{#var:CC-5-all|}}||{{#vardefineecho:CC-5-all|0}}}}
|{{#vardefinecho:CC-5-vo|{{#dpl:
|{{#vardefineecho:CC-5-vo|{{#dpl:
|category=*{{{1|}}}
|category={{{1|}}}
|{{#if:{{{2|}}}|category=*{{{2}}}}}
|category=**Five part comics
|category=**Five part comics
|notuses=Template:Invalid
|notuses=Template:Invalid
|resultsheader=%TOTALPAGES%
|resultsheader=%TOTALPAGES%
|format=,,,
|format=,,,
}}}}
}}}}{{#if:{{#var:CC-5-vo|}}||{{#vardefineecho:CC-5-vo|0}}}}
|-
|[[:Category:Six part comics|6]]
|{{#vardefineecho:CC-6-all|{{#dpl:
|category={{{1|}}}
|category=**Six part comics
|resultsheader=%TOTALPAGES%
|format=,,,
}}}}{{#if:{{#var:CC-6-all|}}||{{#vardefineecho:CC-6-all|0}}}}
|{{#vardefineecho:CC-6-vo|{{#dpl:
|category={{{1|}}}
|category=**Six part comics
|notuses=Template:Invalid
|resultsheader=%TOTALPAGES%
|format=,,,
}}}}{{#if:{{#var:CC-6-vo|}}||{{#vardefineecho:CC-6-vo|0}}}}
|-
|[[:Category:Seven part comics|7]]
|{{#vardefineecho:CC-7-all|{{#dpl:
|category={{{1|}}}
|category=**Seven part comics
|resultsheader=%TOTALPAGES%
|format=,,,
}}}}{{#if:{{#var:CC-7-all|}}||{{#vardefineecho:CC-7-all|0}}}}
|{{#vardefineecho:CC-7-vo|{{#dpl:
|category={{{1|}}}
|category=**Seven part comics
|notuses=Template:Invalid
|resultsheader=%TOTALPAGES%
|format=,,,
}}}}{{#if:{{#var:CC-7-vo|}}||{{#vardefineecho:CC-7-vo|0}}}}
|-
|[[:Category:Eight part comics|8]]
|{{#vardefineecho:CC-8-all|{{#dpl:
|category={{{1|}}}
|category=**Eight part comics
|resultsheader=%TOTALPAGES%
|format=,,,
}}}}{{#if:{{#var:CC-8-all|}}||{{#vardefineecho:CC-8-all|0}}}}
|{{#vardefineecho:CC-8-vo|{{#dpl:
|category={{{1|}}}
|category=**Eight part comics
|notuses=Template:Invalid
|resultsheader=%TOTALPAGES%
|format=,,,
}}}}{{#if:{{#var:CC-8-vo|}}||{{#vardefineecho:CC-8-vo|0}}}}
|-
|[[:Category:Nine part comics|9]]
|{{#vardefineecho:CC-9-all|{{#dpl:
|category={{{1|}}}
|category=**Nine part comics
|resultsheader=%TOTALPAGES%
|format=,,,
}}}}{{#if:{{#var:CC-9-all|}}||{{#vardefineecho:CC-9-all|0}}}}
|{{#vardefineecho:CC-9-vo|{{#dpl:
|category={{{1|}}}
|category=**Nine part comics
|notuses=Template:Invalid
|resultsheader=%TOTALPAGES%
|format=,,,
}}}}{{#if:{{#var:CC-9-vo|}}||{{#vardefineecho:CC-9-vo|0}}}}
|-
|[[:Category:Ten part comics|10]]
|{{#vardefineecho:CC-10-all|{{#dpl:
|category={{{1|}}}
|category=**Ten part comics
|resultsheader=%TOTALPAGES%
|format=,,,
}}}}{{#if:{{#var:CC-10-all|}}||{{#vardefineecho:CC-10-all|0}}}}
|{{#vardefineecho:CC-10-vo|{{#dpl:
|category={{{1|}}}
|category=**Ten part comics
|notuses=Template:Invalid
|resultsheader=%TOTALPAGES%
|format=,,,
}}}}{{#if:{{#var:CC-10-vo|}}||{{#vardefineecho:CC-10-vo|0}}}}
|-
|[[:Category:Eleven part comics|11]]
|{{#vardefineecho:CC-11-all|{{#dpl:
|category={{{1|}}}
|category=**Eleven part comics
|resultsheader=%TOTALPAGES%
|format=,,,
}}}}{{#if:{{#var:CC-11-all|}}||{{#vardefineecho:CC-11-all|0}}}}
|{{#vardefineecho:CC-11-vo|{{#dpl:
|category={{{1|}}}
|category=**Eleven part comics
|notuses=Template:Invalid
|resultsheader=%TOTALPAGES%
|format=,,,
}}}}{{#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
!{{#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}}+{{#var:CC-12-vo}}}}}}
|-
!Mean number of parts per comic
!{{#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}}}}}}
!{{#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.