Difference between revisions of "Timelinerow"
From NEC Retro
m (well this wont do) |
|||
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:{{#if:{{{header|}}}|center; background:gainsboro; font-weight:bold|left}};" 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|left}}; background-color:{{ColourPercentBG|min=1|max=30|value={{#expr:{{#var:vend}}-{{#var:vstart}}+1}}}}" 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>{{SegaRetroTemplate}} | {{!}}-style="font-size:12px;"</includeonly><noinclude>{{SegaRetroTemplate}} |
Revision as of 18:04, 18 April 2024
This template has been manually copied from Sega Retro, specifically Template:Timelinerow Technical restrictions prevent this template from being shared across multiple wikis. In the medium term, any changes should be made to the Sega Retro variant first, before manually copying the contents back here. As this is not an automatic process, this version of the template might also be out of date. |
See Template:Timeline for usage.