Difference between revisions of "CompanyTimelineLine"

From Sega Retro

Line 1: Line 1:
<div style="display:none;">{{#vardefine:x1|{{#expr:(({{#time: U |{{{startdate|}}}}}-{{#var:starttime}}) / {{#var:totaltime}}) * 100}}}}
+
<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: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;">Company here</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:0px; border-top: 10px solid {{{colour|#0000FF}}}; margin-top:0px;"></div><noinclude>
 
<div style="position:relative; left:{{#var:x1}}%; top:{{#expr:{{{y|}}}+20}}px; width:{{#expr:{{#var:x2}}-{{#var:x1}}}}%; height:0px; border-top: 10px solid {{{colour|#0000FF}}}; margin-top:0px;"></div><noinclude>
  
Line 7: Line 7:
 
{{CompanyTimeline|
 
{{CompanyTimeline|
 
{{CompanyTimelineLine
 
{{CompanyTimelineLine
|startdate=1984-01-01
+
|[[Sega AM1]]
|enddate=1986-01-01
 
 
|y=0
 
|y=0
 
}}
 
}}

Revision as of 02:50, 28 July 2022




<div style="position:relative; left:Expression error: Missing operand for -.%; top:20px; width:Expression error: Unexpected < operator.%; height:20px; margin-top:-20px; white-space: nowrap; font-size:0.8em; line-height:20px; vertical-align:bottom;"> <div style="position:relative; left:Expression error: Missing operand for -.%; top:20px; width:Expression error: Unexpected < operator.%; height:0px; border-top: 10px solid #0000FF; margin-top:0px;">









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