Difference between revisions of "CompanyTimelineLine"

From Sega Retro

Line 1: Line 1:
 
<includeonly><div style="display:none;">{{GetCompanyDates|{{{1|}}}}}{{#vardefine:x1|{{#expr:(({{#time: U |{{{startdate|{{#var:companystartdate}}}}}}}-{{#var:starttime}}) / {{#var:totaltime}}) * 100}}}}
 
<includeonly><div style="display:none;">{{GetCompanyDates|{{{1|}}}}}{{#vardefine:x1|{{#expr:(({{#time: U |{{{startdate|{{#var:companystartdate}}}}}}}-{{#var:starttime}}) / {{#var:totaltime}}) * 100}}}}
 
{{#vardefine:x2|{{#expr:(({{#time: U |{{{enddate|{{#var:companyenddate}}}}}}}-{{#var:starttime}}) / {{#var:totaltime}}) * 100}}}}</div>
 
{{#vardefine:x2|{{#expr:(({{#time: U |{{{enddate|{{#var:companyenddate}}}}}}}-{{#var:starttime}}) / {{#var:totaltime}}) * 100}}}}</div>
<div style="position:relative; left:{{#var:x1}}%; top:{{#expr:{{{y|}}}+20}}px; width:{{#expr:{{#var:x2}}-{{#var:x1}}}}%; height:20px; margin-top:-20px; white-space: nowrap; font-size:0.8em; line-height:20px; vertical-align:bottom;">{{{1|}}}</div>
+
<div style="position:relative; left:{{#var:x1}}%; top:{{#expr:{{{y|}}}+20}}px; width:{{#expr:{{#var:x2}}-{{#var:x1}}}}%; height:20px; margin-top:-20px; white-space: nowrap; font-size:0.8em; line-height:20px; vertical-align:bottom; padding-left:4px;">{{{1|}}}</div>
 
<div style="position:relative; left:{{#var:x1}}%; top:{{#expr:{{{y|}}}+30}}px; width:{{#expr:{{#var:x2}}-{{#var:x1}}}}%; height:0px; border-top: 10px solid {{{colour|#0000FF}}}; margin-top:-10px;"></div></includeonly><noinclude>
 
<div style="position:relative; left:{{#var:x1}}%; top:{{#expr:{{{y|}}}+30}}px; width:{{#expr:{{#var:x2}}-{{#var:x1}}}}%; height:0px; border-top: 10px solid {{{colour|#0000FF}}}; margin-top:-10px;"></div></includeonly><noinclude>
  

Revision as of 03:28, 28 July 2022









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