Difference between revisions of "Timelinerow"
From Sega Retro
m |
|||
Line 10: | Line 10: | ||
{{#vardefine:vstart|{{#var:val_{{#expr: ({{#var:i}}*3)+2 }}}}}} | {{#vardefine:vstart|{{#var:val_{{#expr: ({{#var:i}}*3)+2 }}}}}} | ||
{{#vardefine:vend|{{#var:val_{{#expr: ({{#var:i}}*3)+3 }}}}}} | {{#vardefine:vend|{{#var:val_{{#expr: ({{#var:i}}*3)+3 }}}}}} | ||
− | style="background-color:pink" 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}} | {{!}}{{!}} }} | + | {{vardefine:val_0|{{#expr: {{#var:vstart}}-1 }}}} |
+ | {{#vardefine:vprev|{{#var:val_{{#expr: {{#var:i}}*3 }}}}}} | ||
+ | {{#ifexpr: {{#var:start}}-{{#var:vprev}} > 1 | | ||
+ | colspan="1" {{!}} 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:47, 31 March 2017
|
|-