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 13:54, 12 April 2022


SG-1000
SG-1000







Action (41) (43.62%)
Adventure (1) (1.06%)
Educational (0) (0%)
Fighting (0) (0%)
Racing (6) (6.38%)
RPG (1) (1.06%)
Shoot-'em-up (22) (23.4%)
Simulation (0) (0%)
Sports (14) (14.89%)
Table (6) (6.38%)
Miscellaneous (3) (3.19%)
Master System
Master System







Action (212) (53%)
Adventure (19) (4.75%)
Educational (3) (0.75%)
Fighting (4) (1%)
Racing (19) (4.75%)
RPG (8) (2%)
Shoot-'em-up (62) (15.5%)
Simulation (4) (1%)
Sports (62) (15.5%)
Table (7) (1.75%)
Miscellaneous (0) (0%)
Mega Drive
Mega Drive







Action (466) (41.98%)
Adventure (26) (2.34%)
Educational (12) (1.08%)
Fighting (21) (1.89%)
Racing (47) (4.23%)
RPG (42) (3.78%)
Shoot-'em-up (98) (8.83%)
Simulation (82) (7.39%)
Sports (231) (20.81%)
Table (63) (5.68%)
Miscellaneous (22) (1.98%)
Game Gear
Game Gear







Action (185) (48.56%)
Adventure (8) (2.1%)
Educational (2) (0.52%)
Fighting (5) (1.31%)
Racing (17) (4.46%)
RPG (20) (5.25%)
Shoot-'em-up (18) (4.72%)
Simulation (18) (4.72%)
Sports (76) (19.95%)
Table (32) (8.4%)
Miscellaneous (0) (0%)
Mega-CD
Mega-CD







Action (66) (29.46%)
Adventure (26) (11.61%)
Educational (2) (0.89%)
Fighting (1) (0.45%)
Racing (8) (3.57%)
RPG (25) (11.16%)
Shoot-'em-up (31) (13.84%)
Simulation (20) (8.93%)
Sports (27) (12.05%)
Table (8) (3.57%)
Miscellaneous (10) (4.46%)
32X
32X







Action (13) (26.53%)
Adventure (0) (0%)
Educational (0) (0%)
Fighting (4) (8.16%)
Racing (3) (6.12%)
RPG (0) (0%)
Shoot-'em-up (9) (18.37%)
Simulation (4) (8.16%)
Sports (16) (32.65%)
Table (0) (0%)
Miscellaneous (0) (0%)
Saturn
Saturn







Action (230) (16.52%)
Adventure (157) (11.28%)
Educational (10) (0.72%)
Fighting (72) (5.17%)
Racing (54) (3.88%)
RPG (98) (7.04%)
Shoot-'em-up (123) (8.84%)
Simulation (243) (17.46%)
Sports (126) (9.05%)
Table (263) (18.89%)
Miscellaneous (16) (1.15%)
Dreamcast
Dreamcast







Action (152) (18.88%)
Adventure (148) (18.39%)
Educational (0) (0%)
Fighting (29) (3.6%)
Racing (58) (7.2%)
RPG (50) (6.21%)
Shoot-'em-up (48) (5.96%)
Simulation (106) (13.17%)
Sports (77) (9.57%)
Table (83) (10.31%)
Miscellaneous (54) (6.71%)