Difference between revisions of "Timelinerow"
From Sega Retro
m |
|||
Line 22: | Line 22: | ||
{{#ifeq: {{#var:i}} | 0 | {{#ifexpr: {{#var:tlstart}} <> {{#var:vstart}} | colspan="{{#expr:{{#var:vstart}}-{{#var:tlstart}}}}" {{!}} {{!}}{{!}} }} | | {{#ifeq: {{#var:i}} | 0 | {{#ifexpr: {{#var:tlstart}} <> {{#var:vstart}} | colspan="{{#expr:{{#var:vstart}}-{{#var:tlstart}}}}" {{!}} {{!}}{{!}} }} | | ||
{{#ifexpr: {{#var:vstart}}-{{#var:vprev}} > 1 | colspan="{{#expr:{{#var:vstart}}-{{#var:vprev}}-1}}" {{!}} {{!}}{{!}} }} | {{#ifexpr: {{#var:vstart}}-{{#var:vprev}} > 1 | colspan="{{#expr:{{#var:vstart}}-{{#var:vprev}}-1}}" {{!}} {{!}}{{!}} }} | ||
− | }} style="border:1px solid grey; text-align:left;" class="{{#var:tlcolorx}}" colspan="{{#expr:{{#var:vend}}-{{#var:vstart}}+1}}" {{!}} {{#var:val_{{#expr: ({{#var:i}}*3)+1 }}}} {{#ifexpr: {{#var:i}} < {{#expr:({{#var:k}}/3)-1}} | {{!}}{{!}} }} | + | }} style="border:1px solid grey; text-align:{{#if:{{{header|}}}|center; background:gainsboro; font-weight:bold {{addvar|tlcolor|-1}}|left}};" class="{{#var:tlcolorx}}" colspan="{{#expr:{{#var:vend}}-{{#var:vstart}}+1}}" {{!}} {{#var:val_{{#expr: ({{#var:i}}*3)+1 }}}} {{#ifexpr: {{#var:i}} < {{#expr:({{#var:k}}/3)-1}} | {{!}}{{!}} }} |
}} | }} | ||
{{!}}-style="font-size:12px;"</includeonly><noinclude> | {{!}}-style="font-size:12px;"</includeonly><noinclude> |
Revision as of 19:14, 8 April 2017
See Template:Timeline for usage.