Difference between revisions of "CriticalReception/Breakdown"

From Sega Retro

 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{{3|}}}|World|{{#vardefine:WorldFlag|true}}|{{#vardefine:WorldFlag|}}}}{{Test3/1|ratings.name="{{{1|}}}" and ratings.format="{{{2|}}}" {{#if:{{#var:WorldFlag}}||and magnames.country="{{{3}}}"}}}}
+
<includeonly>{{#ifeq:{{{3|}}}|World||{{#vardefine:countryFlag|true}}{{#vardefine:flagName|{{{3|}}}{{#switch:{{{3|}}}
{{#if:{{#var:count}}|
+
| YU=_1992
{{!}}{{#if:{{#var:WorldFlag}}|World||{{flag|{{{3}}}}}}} {{{3|}}}
+
| #default=
 +
}}}}||{{#vardefine:countryFlag|}}{{#vardefine:flagName|}}}}{{#vardefine:query|ratings.name="{{{1|}}}" and ratings.format="{{{2|}}}" {{#if:{{#var:countryFlag}}|and (magnames.country="{{{3}}}" or videonames.country="{{{3}}}")}}}}{{CriticalReception/Breakdown/Query|{{#var:query}}}}{{
 +
#ifexpr:{{#var:count}} > 0|
 +
{{!}}{{#if:{{#var:countryFlag}}|{{flag|{{#var:flagName}}|border=silver}}}} {{{3|World}}}
 
{{!}}All
 
{{!}}All
{{!}}{{#var:count}}
+
{{!}}style="text-align:right;"{{!}}{{#var:count}}
 
{{!}}style="{{ScoreColour|{{#var:score}}}}; text-align:center;"{{!}}{{#expr:{{#var:score}} round 0}}
 
{{!}}style="{{ScoreColour|{{#var:score}}}}; text-align:center;"{{!}}{{#expr:{{#var:score}} round 0}}
 
{{!}}style="{{ScoreColour|{{#var:lowest}}}}; text-align:center;"{{!}}{{#expr:{{#var:lowest}} round 0}}
 
{{!}}style="{{ScoreColour|{{#var:lowest}}}}; text-align:center;"{{!}}{{#expr:{{#var:lowest}} round 0}}
 
{{!}}style="{{ScoreColour|{{#var:highest}}}}; text-align:center;"{{!}}{{#expr:{{#var:highest}} round 0}}
 
{{!}}style="{{ScoreColour|{{#var:highest}}}}; text-align:center;"{{!}}{{#expr:{{#var:highest}} round 0}}
 
{{!}}style="{{RangeColour|{{#var:range}}}}; text-align:center;"{{!}}{{#expr:{{#var:range}} round 0}}
 
{{!}}style="{{RangeColour|{{#var:range}}}}; text-align:center;"{{!}}{{#expr:{{#var:range}} round 0}}
{{!}}views
+
{{!}}{{CriticalReception/Breakdown/ViewsText|{{#var:score}}|{{#var:range}}}}
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
{{Test3/1|ratings.name="{{{1|}}}" and ratings.format="{{{2|}}}" {{#if:{{#var:WorldFlag}}||and magnames.country="{{{3}}}"}} and ratings.version="NTSC-J"}}
+
{{#vardefine:query|ratings.name="{{{1|}}}" and ratings.format="{{{2|}}}" {{#if:{{#var:countryFlag}}|and magnames.country="{{{3}}}"}} and ratings.version="NTSC-J"}}{{CriticalReception/Breakdown/Query|{{#var:query}}}}{{
|{{#if:{{#var:WorldFlag}}|World||{{flag|{{{3}}}}}}} {{{3|}}}
+
#ifexpr:{{#var:count}} > 0|
|NTSC-J
+
{{!}}{{#if:{{#var:countryFlag}}|{{flag|{{#var:flagName}}|border=silver}}}} {{{3|World}}}
|no
+
{{!}}NTSC-J
|avg
+
{{!}}style="text-align:right;"{{!}}{{#var:count}}
|low
+
{{!}}style="{{ScoreColour|{{#var:score}}}}; text-align:center;"{{!}}{{#expr:{{#var:score}} round 0}}
|high
+
{{!}}style="{{ScoreColour|{{#var:lowest}}}}; text-align:center;"{{!}}{{#expr:{{#var:lowest}} round 0}}
|range
+
{{!}}style="{{ScoreColour|{{#var:highest}}}}; text-align:center;"{{!}}{{#expr:{{#var:highest}} round 0}}
|views
+
{{!}}style="{{RangeColour|{{#var:range}}}}; text-align:center;"{{!}}{{#expr:{{#var:range}} round 0}}
|-
+
{{!}}{{CriticalReception/Breakdown/ViewsText|{{#var:score}}|{{#var:range}}}}
{{Test3/1|ratings.name="{{{1|}}}" and ratings.format="{{{2|}}}" {{#if:{{#var:WorldFlag}}||and magnames.country="{{{3}}}"}} and ratings.version="NTSC-U"}}
+
{{!}}-
|{{#if:{{#var:WorldFlag}}|World||{{flag|{{{3}}}}}}} {{{3|}}}
+
|}}
|NTSC-U
+
{{#vardefine:query|ratings.name="{{{1|}}}" and ratings.format="{{{2|}}}" {{#if:{{#var:countryFlag}}|and magnames.country="{{{3}}}"}} and ratings.version="NTSC-U"}}{{CriticalReception/Breakdown/Query|{{#var:query}}}}{{
|no
+
#ifexpr:{{#var:count}} > 0|
|avg
+
{{!}}{{#if:{{#var:countryFlag}}|{{flag|{{#var:flagName}}|border=silver}}}} {{{3|World}}}
|low
+
{{!}}NTSC-U
|high
+
{{!}}style="text-align:right;"{{!}}{{#var:count}}
|range
+
{{!}}style="{{ScoreColour|{{#var:score}}}}; text-align:center;"{{!}}{{#expr:{{#var:score}} round 0}}
|views
+
{{!}}style="{{ScoreColour|{{#var:lowest}}}}; text-align:center;"{{!}}{{#expr:{{#var:lowest}} round 0}}
|-
+
{{!}}style="{{ScoreColour|{{#var:highest}}}}; text-align:center;"{{!}}{{#expr:{{#var:highest}} round 0}}
{{Test3/1|ratings.name="{{{1|}}}" and ratings.format="{{{2|}}}" {{#if:{{#var:WorldFlag}}||and magnames.country="{{{3}}}"}} and ratings.version="PAL"}}
+
{{!}}style="{{RangeColour|{{#var:range}}}}; text-align:center;"{{!}}{{#expr:{{#var:range}} round 0}}
|{{#if:{{#var:WorldFlag}}|World||{{flag|{{{3}}}}}}} {{{3|}}}
+
{{!}}{{CriticalReception/Breakdown/ViewsText|{{#var:score}}|{{#var:range}}}}
|PAL
+
{{!}}-
|no
+
|}}
|avg
+
{{#vardefine:query|ratings.name="{{{1|}}}" and ratings.format="{{{2|}}}" {{#if:{{#var:countryFlag}}|and magnames.country="{{{3}}}"}} and ratings.version="PAL"}}{{CriticalReception/Breakdown/Query|{{#var:query}}}}{{
|low
+
#ifexpr:{{#var:count}} > 0|
|high
+
{{!}}{{#if:{{#var:countryFlag}}|{{flag|{{#var:flagName}}|border=silver}}}} {{{3|World}}}
|range
+
{{!}}PAL
|views
+
{{!}}style="text-align:right;"{{!}}{{#var:count}}
 +
{{!}}style="{{ScoreColour|{{#var:score}}}}; text-align:center;"{{!}}{{#expr:{{#var:score}} round 0}}
 +
{{!}}style="{{ScoreColour|{{#var:lowest}}}}; text-align:center;"{{!}}{{#expr:{{#var:lowest}} round 0}}
 +
{{!}}style="{{ScoreColour|{{#var:highest}}}}; text-align:center;"{{!}}{{#expr:{{#var:highest}} round 0}}
 +
{{!}}style="{{RangeColour|{{#var:range}}}}; text-align:center;"{{!}}{{#expr:{{#var:range}} round 0}}
 +
{{!}}{{CriticalReception/Breakdown/ViewsText|{{#var:score}}|{{#var:range}}}}
 +
{{!}}-
 +
|}}{{#vardefine:countryFlag|}}{{#vardefine:flagName|}}</includeonly><noinclude>[[Category:Cargo templates]]
 +
 
 +
==Tests==
 +
{|class="prettytable sortable"
 +
!Region
 +
!Version
 +
!№ reviews
 +
!Average
 +
!Lowest
 +
!Highest
 +
!Range
 +
!Views
 
|-
 
|-
<noinclude>[[Category:Cargo templates]]</noinclude>
+
{{CriticalReception/Breakdown|Sonic the Hedgehog CD|MCD|UK}}
 +
|}
 +
</noinclude>

Latest revision as of 13:42, 27 April 2021


Tests



0



Region Version № reviews Average Lowest Highest Range Views
United Kingdom UK All 14 85 72 92 20 Very positive
United Kingdom UK NTSC-J 1 92 92 92 0 Very positive
United Kingdom UK PAL 11 87 83 91 8 Very positive