Difference between revisions of "SalesRow"

From Sega Retro

 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="display:none;">{{#vardefine:last|0}}{{SalesRow/GetLast|chartname={{#var:chartname}}|{{{1|}}}|{{{format|}}}}}
+
<includeonly><div style="display:none;">{{#vardefine:last|0}}{{SalesRow/GetLast|chartname={{#var:chartname}}|{{{1|}}}|{{#if:{{{format|}}}|{{{format|}}}|{{#var:format}}}}}}
  
 
{{#vardefine:position|{{#expr:{{#var:position}}+1}}}}
 
{{#vardefine:position|{{#expr:{{#var:position}}+1}}}}
Line 8: Line 8:
 
| date={{#var:currentdate}}
 
| date={{#var:currentdate}}
 
| gamename={{{1|}}}
 
| gamename={{{1|}}}
| format={{{format|unknown}}}
+
| format={{#if:{{{format|}}}|{{{format|}}}|{{#var:format}}}}
 
| position={{#var:position}}
 
| position={{#var:position}}
 
| units={{{units|}}}
 
| units={{{units|}}}
Line 20: Line 20:
 
{{#ifeq:{{#var:last}}|0|{{#vardefine:weeks_{{{1}}}|1}}|{{incvar|weeks_{{{1}}}}}}}
 
{{#ifeq:{{#var:last}}|0|{{#vardefine:weeks_{{{1}}}|1}}|{{incvar|weeks_{{{1}}}}}}}
  
 +
{{incvar|weeks_{{{1}}}_total}}}}
 
</div>
 
</div>
 
|-
 
|-
 
|style="text-align:center;"|{{#var:position}}
 
|style="text-align:center;"|{{#var:position}}
 
|style="text-align:center;"|{{#ifexpr:{{#var:last}}>0|<div style="display:inline-block; width:1em;">{{#var:last}}</div>|}}{{#if:{{#var:change}}|<div style="white-space: nowrap; display:inline-block; {{#ifexpr:{{#var:last}}>0|text-align:right; width:3em;}}">{{#var:change}}</div>|}}{{
 
|style="text-align:center;"|{{#ifexpr:{{#var:last}}>0|<div style="display:inline-block; width:1em;">{{#var:last}}</div>|}}{{#if:{{#var:change}}|<div style="white-space: nowrap; display:inline-block; {{#ifexpr:{{#var:last}}>0|text-align:right; width:3em;}}">{{#var:change}}</div>|}}{{
#if:{{{format|}}}|{{!}}{{!}}style="text-align:center;"{{!}}{{{{{format}}}}}|}}
+
#if:{{#var:hideformat}}||{{!}}{{!}}style="text-align:center;"{{!}}{{ {{#if:{{{format|}}}|{{{format|}}}|{{#var:format}}}} }}}}
 
|{{#if:{{{1|}}}|''[[{{StripBrackets|{{{1|}}}}}]]''}}{{
 
|{{#if:{{{1|}}}|''[[{{StripBrackets|{{{1|}}}}}]]''}}{{
 
#if:{{{units|}}}|{{!}}{{!}}style="text-align:right;"{{!}}{{{units}}}|}}{{
 
#if:{{{units|}}}|{{!}}{{!}}style="text-align:right;"{{!}}{{{units}}}|}}{{
#if:{{#var:weekcounter}}|{{!}}{{!}}style="text-align:right;"{{!}}{{#var:weeks_{{{1}}}}}|}}{{clearvar|change}}</includeonly><noinclude>
+
#if:{{#var:weekcounter}}|{{!}}{{!}}style="text-align:right;"{{!}}{{#var:weeks_{{{1}}}}}|}}{{
 
+
#if:{{#var:weekcounter}}|{{!}}{{!}}style="text-align:right;"{{!}}{{#var:weeks_{{{1}}}_total}}|}}{{clearvar|change}}</includeonly><noinclude>
  
 
{{#cargo_declare:
 
{{#cargo_declare:

Latest revision as of 09:09, 5 May 2022


This template defines the table "salescharts". View table.

No results


No results






}}

1992-04-04[1]
Position Previous Format Name Units Weeks in the chart
Continuous Total
1
Icon newentry.svg
Sega Master System
Krusty's Super Fun House 555 1 1
No results


No results






}}

2
Icon newentry.svg
Neo Geo
Pit-Fighter 444 1 1
No results


No results






}}

3
Icon newentry.svg
Sega Saturn
Arch Rivals 33 1 1
No results


No results






}}

4
Icon newentry.svg
Sega Master System
Rolling Thunder 2 700 1 1
No results


No results






}}

5
Icon newentry.svg
Sega Mega Drive
EA Hockey 999 1 1
No results


No results






}}

6
Icon newentry.svg
Sega Mega Drive
PGA Tour Golf 998 1 1
No results


No results






}}

7
Icon newentry.svg
Sega Mega Drive
Desert Strike: Return to the Gulf 1000 1 1
No results


No results






}}

8
Icon newentry.svg
Sega Master System
Wonder Boy in Monster World 600 1 1
No results


No results






}}

9
Icon newentry.svg
Sega Saturn
Kid Chameleon 20 1 1
No results


No results






}}

10
Icon newentry.svg
Xbox
Hellfire 1 1 1








}}

1992-05-04[1]
Position Previous Format Name Units Weeks in the chart
Continuous Total
1
2
(Icon increase.svg 1)
Neo Geo
Pit-Fighter 444 2 2







}}

2
4
(Icon increase.svg 2)
Sega Master System
Rolling Thunder 2 700 2 2







}}

3
3
(Icon steady.svg)
Sega Saturn
Arch Rivals 33 2 2







}}

4
5
(Icon increase.svg 1)
Sega Mega Drive
EA Hockey 999 2 2







}}

5
8
(Icon increase.svg 3)
Sega Master System
Wonder Boy in Monster World 600 2 2


No results






}}

6
Icon newentry.svg
Sega Mega Drive
Sonic the Hedgehog 998 1 1







}}

7
7
(Icon steady.svg)
Sega Mega Drive
Desert Strike: Return to the Gulf 1000 2 2







}}

8
10
(Icon increase.svg 2)
Xbox
Hellfire 1 2 2







}}

9
9
(Icon steady.svg)
Sega Saturn
Kid Chameleon 20 2 2







}}

10
1
(Icon decrease.svg 9)
Sega Master System
Krusty's Super Fun House 555 2 2








}}

1992-06-04[1]
Position Previous Format Name Units Weeks in the chart
Continuous Total
1
1
(Icon steady.svg)
Neo Geo
Pit-Fighter 444 3 3







}}

2
2
(Icon steady.svg)
Sega Master System
Rolling Thunder 2 700 3 3







}}

3
3
(Icon steady.svg)
Sega Saturn
Arch Rivals 33 3 3







}}

4
4
(Icon steady.svg)
Sega Mega Drive
EA Hockey 999 3 3







}}

5
5
(Icon steady.svg)
Sega Master System
Wonder Boy in Monster World 600 3 3







}}

6
6
(Icon steady.svg)
Sega Mega Drive
Sonic the Hedgehog 998 2 2







}}

7
7
(Icon steady.svg)
Sega Mega Drive
Desert Strike: Return to the Gulf 1000 3 3







}}

8
8
(Icon steady.svg)
Xbox
Hellfire 1 3 3







}}

9
9
(Icon steady.svg)
Sega Saturn
Kid Chameleon 20 3 3







}}

10
(re-entry)
Sega Mega Drive
PGA Tour Golf 998 1 2