Difference between revisions of "RatingsGraph/DrawGridlines"

From Sega Retro

 
Line 3: Line 3:
 
#vardefine:startmonth|{{#sub:{{{startdate|{{#var:lowestdate}}}}}|5|2}}}}{{
 
#vardefine:startmonth|{{#sub:{{{startdate|{{#var:lowestdate}}}}}|5|2}}}}{{
 
#vardefine:endmonth|{{#sub:{{{enddate|{{#var:highestdate}}}}}|5|2}}}}{{
 
#vardefine:endmonth|{{#sub:{{{enddate|{{#var:highestdate}}}}}|5|2}}}}{{
#vardefine:i|{{#var:startyear}}}}</div>{{#while:
+
#vardefine:i|{{#var:startyear}}}}</div><div style="display:block; height:{{#var:pointsize}}px;">{{#while:
 
| {{#ifexpr:{{#var:i}} <= {{#var:endyear}}|true}}
 
| {{#ifexpr:{{#var:i}} <= {{#var:endyear}}|true}}
 
| {{#ifeq:{{#var:i}}|{{#var:startyear}}|{{#vardefine:j|{{#var:startmonth}}}}|{{#vardefine:j|1}}}}{{#while:
 
| {{#ifeq:{{#var:i}}|{{#var:startyear}}|{{#vardefine:j|{{#var:startmonth}}}}|{{#vardefine:j|1}}}}{{#while:
Line 16: Line 16:
 
     }}}}{{incvar|j}}
 
     }}}}{{incvar|j}}
 
}}{{incvar|i}}
 
}}{{incvar|i}}
}}</includeonly><noinclude>
+
}}</div></includeonly><noinclude>
 
{{#vardefine:name|WWF Attitude}}{{#vardefine:format|DC}}{{#vardefine:pointsize|5}}
 
{{#vardefine:name|WWF Attitude}}{{#vardefine:format|DC}}{{#vardefine:pointsize|5}}
 +
{{RatingsGraph}}
 +
{{#var:lowestdate}}  {{#var:highestdate}}
 +
 +
{{#vardefine:name|Shinobi Legions}}{{#vardefine:format|SAT}}{{#vardefine:pointsize|5}}
 
{{RatingsGraph}}
 
{{RatingsGraph}}
 
{{#var:lowestdate}}  {{#var:highestdate}}
 
{{#var:lowestdate}}  {{#var:highestdate}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 14:30, 6 March 2024
























1999-10-20 2000-01-18













































1995-06-08 1996-06-01