Actions

Template

Difference between revisions of "Timelinerow"

From NEC Retro

m (trying something out)
Line 1: Line 1:
 
<includeonly>{{#vardefine:k|0}}{{incvar|tlcolor}}{{#if:{{{header|}}}|{{addvar|tlcolor|-1}}}}{{#ifeq:{{#var:tlcolor}}|8|{{#vardefine:tlcolor|1}}}}
 
<includeonly>{{#vardefine:k|0}}{{incvar|tlcolor}}{{#if:{{{header|}}}|{{addvar|tlcolor|-1}}}}{{#ifeq:{{#var:tlcolor}}|8|{{#vardefine:tlcolor|1}}}}
 
{{#vardefine:tlcolorx|{{#switch:{{#var:tlcolor}}
 
{{#vardefine:tlcolorx|{{#switch:{{#var:tlcolor}}
|1=background-color:{{ColourPercentBG|min=1|max=10|value=1}}
+
|1=colour-bg-red
 
|2=colour-bg-orange
 
|2=colour-bg-orange
 
|3=colour-bg-yellow
 
|3=colour-bg-yellow

Revision as of 15:48, 18 April 2024

Segaretro-round.svg 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.