Difference between revisions of "SalesRow"
From Sega Retro
Line 15: | Line 15: | ||
}} | }} | ||
− | {{#vardefine:change|{{#ifeq:{{#var:last}}|0|{{NewEntry}}|{{#ifexpr:{{#var:position}} > {{#var:last}}|{{decrease}} {{#expr:{{#var:position}}-{{#var:last}}}}|{{#ifexpr:{{#var:position}} < {{#var:last}}|{{increase}} {{#expr:{{#var:last}}-{{#var:position}}}}|{{#ifexpr:{{#var:position}} = {{#var:last}}|{{steady}}}}}}}}}}}} | + | {{#vardefine:change|{{#ifeq:{{#var:last}}|0|{{NewEntry}}|{{#ifexpr:{{#var:position}} > {{#var:last}}|({{decrease}} {{#expr:{{#var:position}}-{{#var:last}}}})|{{#ifexpr:{{#var:position}} < {{#var:last}}|({{increase}} {{#expr:{{#var:last}}-{{#var:position}}}})|{{#ifexpr:{{#var:position}} = {{#var:last}}|({{steady}})}}}}}}}}}} |
</div> | </div> | ||
|- | |- | ||
|style="text-align:center;"|{{#var:position}} | |style="text-align:center;"|{{#var:position}} | ||
− | |style="text-align:center;"|{{#ifexpr:{{#var:last}}>0|{{#var:last}}|}} {{#if:{{#var:change}}|{{#var:change}}|}}{{ | + | |style="text-align:center;"|{{#ifexpr:{{#var:last}}>0|<div style="display:inline-block; width:1em;">{{#var:last}}</div>|}}{{#if:{{#var:change}}|<div style="display:inline-block; width:3em; {{#ifexpr:{{#var:last}}>0|text-align:right;}}">{{#var:change}}</div>|}}{{ |
#if:{{{format|}}}|{{!}}{{!}}style="text-align:center;"{{!}}{{{{{format}}}}}|}} | #if:{{{format|}}}|{{!}}{{!}}style="text-align:center;"{{!}}{{{{{format}}}}}|}} | ||
− | |''[[{{{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}}}}}|}}{{clearvar|change}}</includeonly><noinclude> | ||
Line 57: | Line 57: | ||
{{SalesRow|EA Hockey|format=MD|units=999}} | {{SalesRow|EA Hockey|format=MD|units=999}} | ||
{{SalesRow|Wonder Boy in Monster World|format=SMS|units=600}} | {{SalesRow|Wonder Boy in Monster World|format=SMS|units=600}} | ||
− | {{SalesRow| | + | {{SalesRow|Sonic the Hedgehog (Mega Drive)|format=MD|units=998}} |
{{SalesRow|Desert Strike: Return to the Gulf|format=MD|units=1000}} | {{SalesRow|Desert Strike: Return to the Gulf|format=MD|units=1000}} | ||
{{SalesRow|Hellfire|format=XBOX|units=1}} | {{SalesRow|Hellfire|format=XBOX|units=1}} |
Revision as of 11:46, 4 May 2022
This template defines the table "salescharts". View table.
Position | Previous | Format | Name | Units | Weeks in the chart | |
---|---|---|---|---|---|---|
Continuous | Total | |||||
1 | Krusty's Super Fun House | 555 | 1 | |||
2 | Pit-Fighter | 444 | 1 | |||
3 | Arch Rivals | 33 | 1 | |||
4 | Rolling Thunder 2 | 700 | 1 | |||
5 | EA Hockey | 999 | 1 | |||
6 | PGA Tour Golf | 998 | 1 | |||
7 | Desert Strike: Return to the Gulf | 1000 | 1 | |||
8 | Wonder Boy in Monster World | 600 | 1 | |||
9 | Kid Chameleon | 20 | 1 | |||
10 | Hellfire | 1 | 1 |
Position | Previous | Format | Name | Units | Weeks in the chart | |
---|---|---|---|---|---|---|
Continuous | Total | |||||
1 | 2 |
Pit-Fighter | 444 | 2 | ||
2 | 4 |
Rolling Thunder 2 | 700 | 2 | ||
3 | 3 |
Arch Rivals | 33 | 2 | ||
4 | 5 |
EA Hockey | 999 | 2 | ||
5 | 8 |
Wonder Boy in Monster World | 600 | 2 | ||
6 | Sonic the Hedgehog | 998 | 1 | |||
7 | 7 |
Desert Strike: Return to the Gulf | 1000 | 2 | ||
8 | 10 |
Hellfire | 1 | 2 | ||
9 | 9 |
Kid Chameleon | 20 | 2 | ||
10 | 1 |
Krusty's Super Fun House | 555 | 2 |