Difference between revisions of "PieChartGenre"

From Sega Retro

(Created page with "{{#vardefine:actPageCount|{{CategoryPageCount | cat1=Mega Drive action games | nocat1=Mega Drive aftermarket games }}}} {{#vardefine:advPageCount|{{CategoryPageCount | cat1=Me...")
 
m (Text replacement - "| nocat1" to "| notcat1")
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:actPageCount|{{CategoryPageCount
+
<includeonly><div style="display:none;">{{{system|}}}{{#vardefine:actPageCount|{{CategoryPageCount
| cat1=Mega Drive action games
+
| cat1={{{system|}}} action games
| nocat1=Mega Drive aftermarket games
+
| notcat1={{{system|}}} aftermarket games
 
}}}}
 
}}}}
 
{{#vardefine:advPageCount|{{CategoryPageCount
 
{{#vardefine:advPageCount|{{CategoryPageCount
| cat1=Mega Drive adventure games
+
| cat1={{{system|}}} adventure games
| nocat1=Mega Drive aftermarket games
+
| notcat1={{{system|}}} aftermarket games
 
}}}}
 
}}}}
 
{{#vardefine:eduPageCount|{{CategoryPageCount
 
{{#vardefine:eduPageCount|{{CategoryPageCount
| cat1=Mega Drive educational games
+
| cat1={{{system|}}} educational games
| nocat1=Mega Drive aftermarket games
+
| notcat1={{{system|}}} aftermarket games
 
}}}}
 
}}}}
 
{{#vardefine:fgtPageCount|{{CategoryPageCount
 
{{#vardefine:fgtPageCount|{{CategoryPageCount
| cat1=Mega Drive fighting games
+
| cat1={{{system|}}} fighting games
| nocat1=Mega Drive aftermarket games
+
| notcat1={{{system|}}} aftermarket games
 
}}}}
 
}}}}
 
{{#vardefine:racPageCount|{{CategoryPageCount
 
{{#vardefine:racPageCount|{{CategoryPageCount
| cat1=Mega Drive racing games
+
| cat1={{{system|}}} racing games
| nocat1=Mega Drive aftermarket games
+
| notcat1={{{system|}}} aftermarket games
 
}}}}
 
}}}}
 
{{#vardefine:rpgPageCount|{{CategoryPageCount
 
{{#vardefine:rpgPageCount|{{CategoryPageCount
| cat1=Mega Drive RPGs
+
| cat1={{{system|}}} RPGs
| nocat1=Mega Drive aftermarket games
+
| notcat1={{{system|}}} aftermarket games
 
}}}}
 
}}}}
 
{{#vardefine:shtPageCount|{{CategoryPageCount
 
{{#vardefine:shtPageCount|{{CategoryPageCount
| cat1=Mega Drive shoot-'em-up games
+
| cat1={{{system|}}} shoot-'em-up games
| nocat1=Mega Drive aftermarket games
+
| notcat1={{{system|}}} aftermarket games
 
}}}}
 
}}}}
 
{{#vardefine:slgPageCount|{{CategoryPageCount
 
{{#vardefine:slgPageCount|{{CategoryPageCount
| cat1=Mega Drive simulation games
+
| cat1={{{system|}}} simulation games
| nocat1=Mega Drive aftermarket games
+
| notcat1={{{system|}}} aftermarket games
 
}}}}
 
}}}}
 
{{#vardefine:sptPageCount|{{CategoryPageCount
 
{{#vardefine:sptPageCount|{{CategoryPageCount
| cat1=Mega Drive sports games
+
| cat1={{{system|}}} sports games
| nocat1=Mega Drive aftermarket games
+
| notcat1={{{system|}}} aftermarket games
 
}}}}
 
}}}}
 
{{#vardefine:tblPageCount|{{CategoryPageCount
 
{{#vardefine:tblPageCount|{{CategoryPageCount
| cat1=Mega Drive table games
+
| cat1={{{system|}}} table games
| nocat1=Mega Drive aftermarket games
+
| notcat1={{{system|}}} aftermarket games
 
}}}}
 
}}}}
 
{{#vardefine:etcPageCount|{{CategoryPageCount
 
{{#vardefine:etcPageCount|{{CategoryPageCount
| cat1=Mega Drive miscellaneous software
+
| cat1={{{system|}}} miscellaneous software
| nocat1=Mega Drive aftermarket games
+
| notcat1={{{system|}}} aftermarket games
 
}}}}
 
}}}}
  
 
{{#vardefine:allPageCount|{{#expr:{{#var:actPageCount}} + {{#var:advPageCount}} + {{#var:eduPageCount}} + {{#var:fgtPageCount}} + {{#var:racPageCount}} + {{#var:rpgPageCount}} + {{#var:shtPageCount}} + {{#var:slgPageCount}} + {{#var:sptPageCount}} + {{#var:tblPageCount}} + {{#var:etcPageCount}}}}}}
 
{{#vardefine:allPageCount|{{#expr:{{#var:actPageCount}} + {{#var:advPageCount}} + {{#var:eduPageCount}} + {{#var:fgtPageCount}} + {{#var:racPageCount}} + {{#var:rpgPageCount}} + {{#var:shtPageCount}} + {{#var:slgPageCount}} + {{#var:sptPageCount}} + {{#var:tblPageCount}} + {{#var:etcPageCount}}}}}}
  
{{PieChart|diameter={{{diameter|400}}}|
+
</div>{{PieChart|diameter={{{diameter|400}}}|
 
{{PieChartSegment
 
{{PieChartSegment
 
| angle={{#expr:({{#var:actPageCount}}/{{#var:allPageCount}})*360}}
 
| angle={{#expr:({{#var:actPageCount}}/{{#var:allPageCount}})*360}}
| caption=Action
+
| caption=Action ({{#var:actPageCount}})
 
}}
 
}}
 
{{PieChartSegment
 
{{PieChartSegment
 
| angle={{#expr:({{#var:advPageCount}}/{{#var:allPageCount}})*360}}
 
| angle={{#expr:({{#var:advPageCount}}/{{#var:allPageCount}})*360}}
| caption=Adventure
+
| caption=Adventure ({{#var:advPageCount}})
 
}}
 
}}
 
{{PieChartSegment
 
{{PieChartSegment
 
| angle={{#expr:({{#var:eduPageCount}}/{{#var:allPageCount}})*360}}
 
| angle={{#expr:({{#var:eduPageCount}}/{{#var:allPageCount}})*360}}
| caption=Educational
+
| caption=Educational ({{#var:eduPageCount}})
 
}}
 
}}
 
{{PieChartSegment
 
{{PieChartSegment
 
| angle={{#expr:({{#var:fgtPageCount}}/{{#var:allPageCount}})*360}}
 
| angle={{#expr:({{#var:fgtPageCount}}/{{#var:allPageCount}})*360}}
| caption=Fighting
+
| caption=Fighting ({{#var:fgtPageCount}})
 
}}
 
}}
 
{{PieChartSegment
 
{{PieChartSegment
 
| angle={{#expr:({{#var:racPageCount}}/{{#var:allPageCount}})*360}}
 
| angle={{#expr:({{#var:racPageCount}}/{{#var:allPageCount}})*360}}
| caption=Racing
+
| caption=Racing ({{#var:racPageCount}})
 
}}
 
}}
 
{{PieChartSegment
 
{{PieChartSegment
 
| angle={{#expr:({{#var:rpgPageCount}}/{{#var:allPageCount}})*360}}
 
| angle={{#expr:({{#var:rpgPageCount}}/{{#var:allPageCount}})*360}}
| caption=RPG
+
| caption=RPG ({{#var:rpgPageCount}})
 
}}
 
}}
 
{{PieChartSegment
 
{{PieChartSegment
 
| angle={{#expr:({{#var:shtPageCount}}/{{#var:allPageCount}})*360}}
 
| angle={{#expr:({{#var:shtPageCount}}/{{#var:allPageCount}})*360}}
| caption=Shoot-'em-up
+
| caption=Shoot-'em-up ({{#var:shtPageCount}})
 
}}
 
}}
 
{{PieChartSegment
 
{{PieChartSegment
 
| angle={{#expr:({{#var:slgPageCount}}/{{#var:allPageCount}})*360}}
 
| angle={{#expr:({{#var:slgPageCount}}/{{#var:allPageCount}})*360}}
| caption=Simulation
+
| caption=Simulation ({{#var:slgPageCount}})
 
}}
 
}}
 
{{PieChartSegment
 
{{PieChartSegment
 
| angle={{#expr:({{#var:sptPageCount}}/{{#var:allPageCount}})*360}}
 
| angle={{#expr:({{#var:sptPageCount}}/{{#var:allPageCount}})*360}}
| caption=Sports
+
| caption=Sports ({{#var:sptPageCount}})
 
}}
 
}}
 
{{PieChartSegment
 
{{PieChartSegment
 
| angle={{#expr:({{#var:tblPageCount}}/{{#var:allPageCount}})*360}}
 
| angle={{#expr:({{#var:tblPageCount}}/{{#var:allPageCount}})*360}}
| caption=Table
+
| caption=Table ({{#var:tblPageCount}})
 
}}
 
}}
 
{{PieChartSegment
 
{{PieChartSegment
 
| angle={{#expr:({{#var:etcPageCount}}/{{#var:allPageCount}})*360}}
 
| angle={{#expr:({{#var:etcPageCount}}/{{#var:allPageCount}})*360}}
| caption=Miscellaneous
+
| caption=Miscellaneous ({{#var:etcPageCount}})
}}
 
 
}}
 
}}
 +
}}{{clearvar|allPageCount}}</includeonly><noinclude>
 +
 +
 +
<div style="display:inline-block;">SG-1000
 +
{{PieChartGenre|diameter=200|system=SG-1000}}</div>
 +
<div style="display:inline-block;">Master System
 +
{{PieChartGenre|diameter=200|system=Master System}}</div>
 +
<div style="display:inline-block;">Mega Drive
 +
{{PieChartGenre|diameter=200|system=Mega Drive}}</div>
 +
<div style="display:inline-block;">Game Gear
 +
{{PieChartGenre|diameter=200|system=Game Gear}}</div>
 +
<div style="display:inline-block;">Mega-CD
 +
{{PieChartGenre|diameter=200|system=Mega-CD}}</div>
 +
<div style="display:inline-block;">32X
 +
{{PieChartGenre|diameter=200|system=32X}}</div>
 +
<div style="display:inline-block;">Saturn
 +
{{PieChartGenre|diameter=200|system=Saturn}}</div>
 +
<div style="display:inline-block;">Dreamcast
 +
{{PieChartGenre|diameter=200|system=Dreamcast}}</div>
 +
 +
</noinclude>

Latest revision as of 12:54, 12 April 2022


SG-1000
SG-1000







Action (43) (40.95%)
Adventure (1) (0.95%)
Educational (0) (0%)
Fighting (0) (0%)
Racing (6) (5.71%)
RPG (1) (0.95%)
Shoot-'em-up (22) (20.95%)
Simulation (0) (0%)
Sports (23) (21.9%)
Table (6) (5.71%)
Miscellaneous (3) (2.86%)
Master System
Master System







Action (192) (51.61%)
Adventure (19) (5.11%)
Educational (3) (0.81%)
Fighting (4) (1.08%)
Racing (17) (4.57%)
RPG (0) (0%)
Shoot-'em-up (62) (16.67%)
Simulation (4) (1.08%)
Sports (64) (17.2%)
Table (7) (1.88%)
Miscellaneous (0) (0%)
Mega Drive
Mega Drive







Action (422) (40.42%)
Adventure (26) (2.49%)
Educational (11) (1.05%)
Fighting (21) (2.01%)
Racing (43) (4.12%)
RPG (37) (3.54%)
Shoot-'em-up (91) (8.72%)
Simulation (82) (7.85%)
Sports (225) (21.55%)
Table (64) (6.13%)
Miscellaneous (22) (2.11%)
Game Gear
Game Gear







Action (151) (44.81%)
Adventure (7) (2.08%)
Educational (1) (0.3%)
Fighting (5) (1.48%)
Racing (15) (4.45%)
RPG (18) (5.34%)
Shoot-'em-up (17) (5.04%)
Simulation (18) (5.34%)
Sports (73) (21.66%)
Table (32) (9.5%)
Miscellaneous (0) (0%)
Mega-CD
Mega-CD







Action (58) (27.75%)
Adventure (26) (12.44%)
Educational (0) (0%)
Fighting (1) (0.48%)
Racing (8) (3.83%)
RPG (22) (10.53%)
Shoot-'em-up (30) (14.35%)
Simulation (20) (9.57%)
Sports (26) (12.44%)
Table (8) (3.83%)
Miscellaneous (10) (4.78%)
32X
32X







Action (6) (14.63%)
Adventure (0) (0%)
Educational (0) (0%)
Fighting (4) (9.76%)
Racing (3) (7.32%)
RPG (0) (0%)
Shoot-'em-up (8) (19.51%)
Simulation (4) (9.76%)
Sports (16) (39.02%)
Table (0) (0%)
Miscellaneous (0) (0%)
Saturn
Saturn







Action (91) (8.62%)
Adventure (125) (11.84%)
Educational (1) (0.09%)
Fighting (72) (6.82%)
Racing (37) (3.5%)
RPG (45) (4.26%)
Shoot-'em-up (105) (9.94%)
Simulation (242) (22.92%)
Sports (108) (10.23%)
Table (214) (20.27%)
Miscellaneous (16) (1.52%)
Dreamcast
Dreamcast







Action (69) (10.21%)
Adventure (138) (20.41%)
Educational (0) (0%)
Fighting (29) (4.29%)
Racing (54) (7.99%)
RPG (33) (4.88%)
Shoot-'em-up (44) (6.51%)
Simulation (106) (15.68%)
Sports (69) (10.21%)
Table (76) (11.24%)
Miscellaneous (58) (8.58%)