Difference between revisions of "Timelinerow"
From Sega Retro
m |
|||
Line 1: | Line 1: | ||
− | {{#vardefine:k|0}}{{incvar|tlcolor}}{{#ifeq:{{#var:tlcolor}}|8|{{#vardefine:tlcolor|1}}}} | + | <includeonly>{{#vardefine:k|0}}{{incvar|tlcolor}}{{#ifeq:{{#var:tlcolor}}|8|{{#vardefine:tlcolor|1}}}} |
{{#vardefine:tlcolorx|{{#switch:{{#var:tlcolor}} | {{#vardefine:tlcolorx|{{#switch:{{#var:tlcolor}} | ||
|1=colour-bg-red | |1=colour-bg-red | ||
Line 24: | Line 24: | ||
}} style="border:1px solid grey; text-align:center;" 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:center;" 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> |
+ | See [[Template:Timeline]] for usage. | ||
+ | [[Category:Sega Retro templates]] | ||
+ | </noinclude> |
Revision as of 19:16, 7 April 2017
See Template:Timeline for usage.