Difference between revisions of "RatingsGraph/DrawPoint"
From Sega Retro
Line 2: | Line 2: | ||
{{#vardefine:x|{{#expr:(({{#time:U|{{{date|0}}}}}-{{#var:starttime}})/{{#ifeq:{{#var:totaltime}}|0|1|{{#var:totaltime}}}})*{{#var:graphwidth}}}}}} | {{#vardefine:x|{{#expr:(({{#time:U|{{{date|0}}}}}-{{#var:starttime}})/{{#ifeq:{{#var:totaltime}}|0|1|{{#var:totaltime}}}})*{{#var:graphwidth}}}}}} | ||
{{#vardefine:y|{{#expr:{{#var:graphheight}} - ({{#var:graphheight}} * ({{{score|}}}/100))}}}} | {{#vardefine:y|{{#expr:{{#var:graphheight}} - ({{#var:graphheight}} * ({{{score|}}}/100))}}}} | ||
− | </div>{{#ifeq:{{#len:{{# | + | </div>{{#ifeq:{{#len:{{#time:U|{{{date|0}}}}}}}|9|<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> |
− | |||
{{#vardefine:name|WWF Attitude}}{{#vardefine:format|DC}}{{#vardefine:pointsize|5}} | {{#vardefine:name|WWF Attitude}}{{#vardefine:format|DC}}{{#vardefine:pointsize|5}} | ||
{{RatingsGraph}} | {{RatingsGraph}} | ||
{{#var:lowestdate}} {{#var:highestdate}} | {{#var:lowestdate}} {{#var:highestdate}} | ||
− | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 12:13, 3 March 2024
1999-10-20 2000-01-18