Difference between revisions of "RatingsGraph/DrawPoint"
From Sega Retro
(Created page with "<includeonly><div style="display:none;"> {{#vardefine:x|{{#expr:(({{#time:U|{{{score|0}}}}}-{{#var:starttime}})/{{#ifeq:{{#var:totaltime}}|0|1|{{#var:totaltime}}}})*{{#var:gr...") |
|||
Line 1: | Line 1: | ||
<includeonly><div style="display:none;"> | <includeonly><div style="display:none;"> | ||
− | + | {{#vardefine:x|{{#expr:(({{#time:U|{{{date|0}}}}}-{{#var:starttime}})/{{#ifeq:{{#var:totaltime}}|0|1|{{#var:totaltime}}}})*{{#var:graphwidth}}}}}} | |
− | {{#vardefine:x|{{#expr:(({{#time:U|{{{ | ||
{{#vardefine:y|{{#expr:{{#var:graphheight}} * ({{{score|}}}/100)}}}} | {{#vardefine:y|{{#expr:{{#var:graphheight}} * ({{{score|}}}/100)}}}} | ||
+ | </div>{{#ifeq:{{#len:{{#var:x}}}}|15|<div title="{{{title|}}} ({{{date|}}})" style="background-color: #F00; position:relative; width: {{#var:pointsize}}px; height:{{#var:pointsize}}px; margin-left:-{{#var:pointsize}}px; margin-top:-{{#var:pointsize}}px; left: {{#var:x}}px; top: -{{#var:y}}px;"></div>|}}</includeonly><noinclude> | ||
− | + | aa | |
+ | {{#vardefine:name|Daytona USA}}{{#vardefine:format|SAT}}{{#vardefine:pointsize|5}} | ||
+ | {{RatingsGraph|startdate=1995-01-01|enddate=1998-01-01}} | ||
+ | bbb | ||
+ | [[Category:Templates]]</noinclude> |
Revision as of 13:40, 1 March 2024
aa
bbb