Difference between revisions of "Timelinerow"

From Sega Retro

Line 12: Line 12:
 
{{#vardefine:val_0|{{#expr: {{#var:vstart}}-1 }}}}
 
{{#vardefine:val_0|{{#expr: {{#var:vstart}}-1 }}}}
 
{{#vardefine:vprev|{{#var:val_{{#expr: {{#var:i}}*3 }}}}}}
 
{{#vardefine:vprev|{{#var:val_{{#expr: {{#var:i}}*3 }}}}}}
{{#ifexpr: {{#var:tlstart}} <> {{#var:vstart}} | {{#ifeq: i | 0 | colspan="{{#expr:{{#var:vstart}}-{{#var:tlstart}}}}" {{!}} x {{!}}{{!}} }}}} style="background-color:pink; border:1px solid grey; text-align:center;" colspan="{{#expr:{{#var:vend}}-{{#var:vstart}}+1}}" {{!}} {{#var:vstart}} {{#var:vend}} {{#var:val_{{#expr: ({{#var:i}}*3)+1 }}}} {{#ifexpr: {{#var:i}} < {{#expr:({{#var:k}}/3)-1}} | {{!}}{{!}} }}
+
{{#ifeq: i | 0 | colspan="{{#expr:{{#var:vstart}}-{{#var:tlstart}}}}" {{!}} x {{!}}{{!}} }} style="background-color:pink; border:1px solid grey; text-align:center;" colspan="{{#expr:{{#var:vend}}-{{#var:vstart}}+1}}" {{!}} {{#var:vstart}} {{#var:vend}} {{#var:val_{{#expr: ({{#var:i}}*3)+1 }}}} {{#ifexpr: {{#var:i}} < {{#expr:({{#var:k}}/3)-1}} | {{!}}{{!}} }}
 
}}
 
}}
 
{{!}}-
 
{{!}}-

Revision as of 19:02, 31 March 2017


| |-