Template:Legend:Gradient: Difference between revisions

From EvoLudo
No edit summary
No edit summary
 
Line 2: Line 2:
|-
|-
! style="width: 20%; text-align: right; padding-right: 1em;"| {{{label|Payoffs}}}:
! style="width: 20%; text-align: right; padding-right: 1em;"| {{{label|Payoffs}}}:
! style="width: 80%" | <div style="position: relative; background-image: linear-gradient(to right, {{{gradient|blue, lime, yellow, red}}})"> <span style="padding-left: 1em; text-align: right; color: white; position: absolute; left: 0">{{{min|Minimum}}}</span>&nbsp;<span style="padding-right: 1em; position: absolute; right: 0">{{{max|Maximum}}}</span></div>
! style="width: 80%" | <div style="position: relative; background-image: linear-gradient(to right, {{{gradient|black, lightgray, yellow, red}}})"> <span style="padding-left: 1em; text-align: right; color: white; position: absolute; left: 0">{{{min|Minimum}}}</span>&nbsp;<span style="padding-right: 1em; position: absolute; right: 0">{{{max|Maximum}}}</span></div>
|}
|}

Latest revision as of 13:56, 13 October 2023

Payoffs:
Minimum Maximum