Difference between revisions of "SalesChart"
From Sega Retro
m (Text replacement - "Category:Sega Retro templates" to "Category:Templates") |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:currentdate|{{#replace:{{#replace:{{{date|}}}|x|0}}|-|}}}}{{#vardefine:chartname|{{{chartname|{{PAGENAME}}}}}}}{|class="prettytable sortable"| | + | <includeonly>{{#vardefine:position|0}}{{#vardefine:currentdate|{{#replace:{{#replace:{{{date|}}}|x|0}}|-|}}}}{{#vardefine:chartname|{{{chartname|{{PAGENAME}}}}}}}{{#vardefine:weekcounter|{{{weekcounter|}}}}}{|class="prettytable sortable"| |
− | |+{{{date}}} | + | |+{{{date}}}{{{ref|}}} |
|- | |- | ||
!Position | !Position | ||
− | !Previous | + | !Previous{{ |
− | {{#if:{{{format|}}}|!Format|}} | + | #if:{{{format|}}}|{{!}}{{!}}Format|}} |
− | !Name | + | !Name{{ |
− | {{#if:{{{units|}}}|!Units|}} | + | #if:{{{units|}}}|{{!}}{{!}}Units|}}{{ |
− | ! | + | #if:{{#var:weekcounter}}|{{!}}{{!}}style="font-size:0.8em; width: 100px; line-height:1.5em;"{{!}}Continuous weeks in the chart|}} |
− | {{ | ||
|- | |- | ||
{{{1|}}} | {{{1|}}} | ||
|} | |} | ||
− | + | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{TODO}} | {{TODO}} | ||
Line 60: | Line 59: | ||
}} | }} | ||
− | {{SalesChart|date=1992-04-04|format=yes|units=yes| | + | {{SalesChart|date=1992-04-04|format=yes|units=yes|weekcounter=yes| |
{{SalesRow|Krusty's Super Fun House|format=SMS|units=555}} | {{SalesRow|Krusty's Super Fun House|format=SMS|units=555}} | ||
{{SalesRow|Pit-Fighter|format=NG|units=444}} | {{SalesRow|Pit-Fighter|format=NG|units=444}} |
Revision as of 12:22, 4 May 2022
This task is unfinished This is a wiki task that requires more thought or peer review. An important issue that needs to be solved, which will appear at the top of Sega Retro:Todo until this message is removed. |
Programmatically render sales charts. I have no idea how best to do this. -Black Squirrel (talk) 12:52, 18 August 2020 (EDT)
Position | Previous | Name | |
---|---|---|---|
1 | {{ }} | Desert Strike: Return to the Gulf | |
2 | {{ }} | EA Hockey | |
3 | {{ }} | PGA Tour Golf | |
4 | {{ }} | Rolling Thunder 2 | |
5 | {{ }} | Wonder Boy in Monster World | |
6 | {{ }} | Krusty's Super Fun House | |
7 | {{ }} | Pit-Fighter | |
8 | {{ }} | Arch Rivals | |
9 | {{ }} | Kid Chameleon | |
10 | {{ }} | Hellfire |
Position | Previous | Format | Name |
---|---|---|---|
1 | 1 |
Desert Strike: Return to the Gulf | |
2 | Kid Chameleon | ||
3 | 2 |
EA Hockey | |
4 | Krusty's Super Fun House | ||
5 | 3 |
PGA Tour Golf | |
6 | Pit-Fighter | ||
7 | Rolling Thunder 2 | ||
8 | Wonder Boy in Monster World | ||
9 | Arch Rivals | ||
10 | Hellfire |
Position | Previous | Name | Units | |
---|---|---|---|---|
1 | {{ }} | Desert Strike: Return to the Gulf | 1000 | |
2 | {{ }} | EA Hockey | 999 | |
3 | {{ }} | PGA Tour Golf | 998 | |
4 | {{ }} | Rolling Thunder 2 | 700 | |
5 | {{ }} | Wonder Boy in Monster World | 600 | |
6 | {{ }} | Krusty's Super Fun House | 555 | |
7 | {{ }} | Pit-Fighter | 444 | |
8 | {{ }} | Arch Rivals | 33 | |
9 | {{ }} | Kid Chameleon | 20 | |
10 | {{ }} | Hellfire | 1 |
Position | Previous | Format | Name | Units | Continuous weeks in the chart | |
---|---|---|---|---|---|---|
1 | (re-entry) |
Krusty's Super Fun House | 555 | 1 | 4 | |
2 | (re-entry) |
Pit-Fighter | 444 | 1 | 4 | |
3 | (re-entry) |
Arch Rivals | 33 | 1 | 4 | |
4 | (re-entry) |
Rolling Thunder 2 | 700 | 1 | 4 | |
5 | 2 |
EA Hockey | 999 | 2 | 4 | |
6 | 3 |
PGA Tour Golf | 998 | 2 | 4 | |
7 | 1 |
Desert Strike: Return to the Gulf | 1000 | 2 | 4 | |
8 | (re-entry) |
Wonder Boy in Monster World | 600 | 1 | 4 | |
9 | (re-entry) |
Kid Chameleon | 20 | 1 | 4 | |
10 | (re-entry) |
Hellfire | 1 | 1 | 4 |