Difference between revisions of "Timelinerow"
From Sega Retro
m |
|||
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 }}}}}} | ||
− | {{ifeq: i | 0 | {{#ifexpr: {{#var:tlstart}} <> {{#var:vstart}} | 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 | {{#ifexpr: {{#var:tlstart}} <> {{#var:vstart}} | 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 18:55, 31 March 2017
|
|-