Difference between revisions of "CompanyTimelineLine"

From Sega Retro

(Created page with "<div style="display:none;">{{#vardefine:x1|{{#expr:(({{#time: U |{{{startdate|}}}}}-{{#var:starttime}}) / {{#var:totaltime}}) * 100}}}} {{#vardefine:x2|{{#expr:(({{#time: U |{...")
 
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="display:none;">{{#vardefine:x1|{{#expr:(({{#time: U |{{{startdate|}}}}}-{{#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: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:{{{y|}}}px; width:{{#expr:{{#var:x2}}-{{#var:x1}}%; height:2px; background-color:#0000FF; margin-top:-2px;"></div><noinclude>
+
<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.75em; 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>
 +
 
 +
 
 +
{{CompanyTimeline|
 +
{{CompanyTimelineLine|[[Sega R&D 1]]
 +
|y=30
 +
| colour={{#var:red1}}
 +
}}
 +
{{CompanyTimelineLine|[[Sega AM1]]
 +
|y=30
 +
| colour={{#var:red2}}
 +
}}
 +
{{CompanyTimelineLine|[[Sega Software R&D Dept. 1]]
 +
|y=30
 +
| colour={{#var:red1}}
 +
}}
 +
{{CompanyTimelineLine|[[WOW Entertainment]]
 +
|y=40
 +
| colour={{#var:red2}}
 +
}}
 +
{{CompanyTimelineLine|[[Sega WOW]]
 +
| enddate=2005-04-01
 +
|y=30
 +
| colour={{#var:red1}}
 +
}}
 +
{{CompanyTimelineLine|[[Sega AM1 (2005-current)]]
 +
|y=30
 +
| colour={{#var:red2}}
 +
}}
 +
| startdate=1983
 +
| enddate=2023
 +
}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 04:48, 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