Difference between revisions of "CompanyTimeline"
From Sega Retro
(Created page with "<includeonly>{{TODO}} Replacement for Template:Timeline. I might be able to automate the dates - won't that be fun. -~~~~ {{#vardefine:starttime|{{#time: U | {{{startdate...") |
|||
Line 8: | Line 8: | ||
{{#vardefine:count|0}}{{#vardefine:i|{{{startdate|}}}}}{{#while: | {{#vardefine:count|0}}{{#vardefine:i|{{{startdate|}}}}}{{#while: | ||
| {{#ifexpr:{{#var:i}} < {{{enddate|}}}|true}} | | {{#ifexpr:{{#var:i}} < {{{enddate|}}}|true}} | ||
− | | {{#vardefine: | + | | {{#vardefine:labelstartdate|{{#var:i}}-01-01}}{{#vardefine:labelenddate|{{#var:i}}-06-01}} |
− | {{#vardefine: | + | |
− | + | {{CompanyTimelineLine | |
+ | |startdate={{#var:labelstartdate}} | ||
+ | |enddate={{#var:labelenddate}} | ||
+ | |y={{#expr:{{#var:count}}*2}} | ||
+ | }} | ||
+ | |||
+ | {{incvar|i}}{{incvar|count}} | ||
}}{{clearvar|i}}</div> | }}{{clearvar|i}}</div> | ||
Revision as of 15:29, 27 July 2022
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)