Difference between revisions of "SalesRow"

From Sega Retro

Line 6: Line 6:
 
|''[[{{{1|}}}]]''
 
|''[[{{{1|}}}]]''
 
{{#if:{{{units|}}}|{{!}}style="text-align:right;"{{!}}{{{units}}}|}}
 
{{#if:{{{units|}}}|{{!}}style="text-align:right;"{{!}}{{{units}}}|}}
|style="text-align:center;"|{{#ifeq:{{#var:last}}|0|{{NewEntry}}|{{#ifexpr:{{#var:position}} > {{#var:last}}|{{decrease}}|{{#ifexpr:{{#var:position}} < {{#var:last}}|{{increase}}|{{#ifexpr:{{#var:position}} = {{#var:last}}|{{steady}}}}}}}}}}{{#cargo_store:
+
|style="text-align:center;"|{{#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}}}}}}}}}}{{#cargo_store:
 
_table = salescharts
 
_table = salescharts
 
| chartname={{#titleparts:{{PAGENAME}}}}
 
| chartname={{#titleparts:{{PAGENAME}}}}

Revision as of 08:29, 21 August 2020

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