Difference between revisions of "Timelinerow"
From Sega Retro
Line 4: | Line 4: | ||
| {{incvar|k}}{{#vardefine:val_{{#var:i}}|{{#var:j}}}} | | {{incvar|k}}{{#vardefine:val_{{#var:i}}|{{#var:j}}}} | ||
}} | }} | ||
− | {{#loop: i | + | {{!}}{{#loop: i |
| 0 | | 0 | ||
| {{#expr:{{#var:k}}/3}} | | {{#expr:{{#var:k}}/3}} | ||
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}} | {{!}}{{!}} }} | ||
}} | }} | ||
{{!}}- | {{!}}- |
Revision as of 18:34, 31 March 2017
|
|-