Difference between revisions of "VTimelineDrawLabels"

From Sega Retro

(so it doesn't whine about loops)
 
Line 1: Line 1:
 
<includeonly>{{#vardefine:i|1980}}{{#while:
 
<includeonly>{{#vardefine:i|1980}}{{#while:
 
| {{#ifexpr:{{#var:i}} < 2010|true}}
 
| {{#ifexpr:{{#var:i}} < 2010|true}}
| {{VTimelineDateLabel|{{#var:i}}-01-01}}{{incvar|i}}{{#vardefine:j|1}}{{#while:
+
| {{VTimelineDateLabel|{{#var:i}}-01-01}}
  | {{#ifexpr:{{#var:j}} < 13|true}}
+
{{VTimelineDateLabel|{{#var:i}}-01-01|month=yes}}<!-- the system whines if there are too many loops -->
  | {{VTimelineDateLabel|{{#var:i}}-{{padleft:{{#var:j}}|2|0}}-01|month=yes}}{{incvar|j}}
+
{{VTimelineDateLabel|{{#var:i}}-02-01|month=yes}}
  }}
+
{{VTimelineDateLabel|{{#var:i}}-03-01|month=yes}}
 +
{{VTimelineDateLabel|{{#var:i}}-04-01|month=yes}}
 +
{{VTimelineDateLabel|{{#var:i}}-05-01|month=yes}}
 +
{{VTimelineDateLabel|{{#var:i}}-06-01|month=yes}}
 +
{{VTimelineDateLabel|{{#var:i}}-07-01|month=yes}}
 +
{{VTimelineDateLabel|{{#var:i}}-08-01|month=yes}}
 +
{{VTimelineDateLabel|{{#var:i}}-09-01|month=yes}}
 +
{{VTimelineDateLabel|{{#var:i}}-10-01|month=yes}}
 +
{{VTimelineDateLabel|{{#var:i}}-11-01|month=yes}}
 +
{{VTimelineDateLabel|{{#var:i}}-12-01|month=yes}}{{incvar|i}}
 
}}{{clearvar|i}}</includeonly><noinclude>Template to draw all the labels and things for [[Template:VTimeline]]
 
}}{{clearvar|i}}</includeonly><noinclude>Template to draw all the labels and things for [[Template:VTimeline]]
  

Latest revision as of 11:22, 24 April 2022

Template to draw all the labels and things for Template:VTimeline





























































































































































































































































































































































































































































04







06







08







10







12



































































































































































































































































































































































































































































































































































































































































































































1991-05-28: Summer CES 1992


1991-09-18: Beta 4 build date


1991-11-24: Release