Difference between revisions of "CompanyTimeline"

From Sega Retro

Line 11: Line 11:
 
| {{#vardefine:labelstartdate|{{#var:i}}-01-01}}{{#vardefine:labelx|{{#expr:(({{#time: U |{{#var:labelstartdate}}}}-{{#var:starttime}}) / {{#var:totaltime}}) * 100}}}}
 
| {{#vardefine:labelstartdate|{{#var:i}}-01-01}}{{#vardefine:labelx|{{#expr:(({{#time: U |{{#var:labelstartdate}}}}-{{#var:starttime}}) / {{#var:totaltime}}) * 100}}}}
 
<div style="position:relative; top:{{#var:height}}px; left:{{#var:labelx}}%; height:{{#var:height}}px; width:0px; border-left:1px solid #DDDDDD; margin-top:-{{#var:height}}px;"></div>
 
<div style="position:relative; top:{{#var:height}}px; left:{{#var:labelx}}%; height:{{#var:height}}px; width:0px; border-left:1px solid #DDDDDD; margin-top:-{{#var:height}}px;"></div>
<div style="position:relative; top:20px; left:{{#var:labelx}}%; height:20px; margin-top:-20px; padding-left:4px;>{{#sub:{{#var:i}}|2}}</div>
+
<div style="position:relative; top:20px; left:{{#var:labelx}}%; height:20px; width:20px; margin-top:-20px; padding-left:4px;>{{#sub:{{#var:i}}|2}}</div>
 
{{incvar|i}}{{incvar|count}}
 
{{incvar|i}}{{incvar|count}}
 
}}{{clearvar|i}}{{{1|}}}
 
}}{{clearvar|i}}{{{1|}}}

Revision as of 04:00, 28 July 2022


Clock.svg
This task is unfinished
This is a wiki task that requires more thought or peer review. An important issue that needs to be solved, which will appear at the top of Sega Retro:Todo until this message is removed.

Replacement for Template:Timeline. I might be able to automate the dates - won't that be fun. -Black Squirrel (talk) 14:34, 27 July 2022 (EDT)



83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22