Difference between revisions of "VTimeline"

From Sega Retro

Line 1: Line 1:
<includeonly>{{#vardefine:timelineheight|{{{height|200}}}}}{{#vardefine:starttime|{{#time: U | {{{startdate|0}}}}}}}{{#vardefine:totaltime|{{#expr:{{#time: U | {{{enddate|0}}}}} - {{#var:starttime}}}}}}<div style="display: block; width: 8px; height:{{#var:timelineheight}}px; background-color:#41A0F0; margin:10px 205px 30px 5px;">{{{annotations|}}}</div></includeonly><noinclude>
+
<includeonly>{{#vardefine:xOffset|{{{xOffset|0}}}}}{{#vardefine:timelineheight|{{{height|200}}}}}{{#vardefine:starttime|{{#time: U | {{{startdate|0}}}}}}}{{#vardefine:totaltime|{{#expr:{{#time: U | {{{enddate|0}}}}} - {{#var:starttime}}}}}}<div style="display: block; width: 8px; height:{{#var:timelineheight}}px; background-color:#41A0F0; margin:10px 205px 30px {{#expr:{{#var:xOffset}}+5}}px;">{{{annotations|}}}</div></includeonly><noinclude>
 
"Vertical" timeline. To be used in conjunction with [[Template:VTimelineAnnotation]].
 
"Vertical" timeline. To be used in conjunction with [[Template:VTimelineAnnotation]].
  
Line 19: Line 19:
 
| enddate=1995-05-11
 
| enddate=1995-05-11
 
| height=300
 
| height=300
 +
| annotations=
 +
{{VTimelineAnnotation|1993-09-21|Hitachi processor deal}}
 +
{{VTimelineAnnotation|1994-01-06|[[Winter CES 1994]]}}
 +
{{VTimelineAnnotation|1994-06-02|[['94 Tokyo Toy Show]]}}
 +
{{VTimelineAnnotation|1994-11-22|JP launch}}
 +
{{VTimelineAnnotation|1995-03-26|[[ECTS Spring 1995]]}}
 +
{{VTimelineAnnotation|1995-05-11|US launch}}
 +
}}
 +
 +
{{VTimeline
 +
| startdate=1993-09-21
 +
| enddate=1995-05-11
 +
| height=300
 +
| xOffset=100
 
| annotations=
 
| annotations=
 
{{VTimelineAnnotation|1993-09-21|Hitachi processor deal}}
 
{{VTimelineAnnotation|1993-09-21|Hitachi processor deal}}

Revision as of 14:02, 23 March 2022

"Vertical" timeline. To be used in conjunction with Template:VTimelineAnnotation.

{{VTimeline
| startdate=1993-09-21
| enddate=1995-05-11
| height=300
| annotations=
{{VTimelineAnnotation|1993-09-21|Hitachi processor deal}}
{{VTimelineAnnotation|1994-01-06|[[Winter CES 1994]]}}
{{VTimelineAnnotation|1994-06-02|[['94 Tokyo Toy Show]]}}
{{VTimelineAnnotation|1994-11-22|JP launch}}
{{VTimelineAnnotation|1995-03-26|[[ECTS Spring 1995]]}}
{{VTimelineAnnotation|1995-05-11|US launch}}
}}