Template:Legend:Gradient: Difference between revisions

From EvoLudo
No edit summary
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="legend tencol"
{| style="width: 100%; font-weight:bold; font-style:italic; font-size: smaller; font-family: Verdana, sans-serif; line-height: 2"
|-
|-
! {{{label|Payoff code}}}:
! style="width: 20%; text-align: right; padding-right: 1em;"| {{{label|Payoffs}}}:
| class="{{{color|gray}}}0 label" | {{{min|Minimum}}}
! 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>
| class="{{{color|gray}}}1" |
| class="{{{color|gray}}}2" |
| class="{{{color|gray}}}3" |
| class="{{{color|gray}}}4" |
| class="{{{color|gray}}}5" |
| class="{{{color|gray}}}6" |
| class="{{{color|gray}}}7" |
| class="{{{color|gray}}}8" |
| class="{{{color|gray}}}9 label" | {{{max|Maximum}}}
{{#if: {{{label1|}}} |
{{!-}}
! {{{label1}}}:
{{!}}class="{{{color1}}}0 label" {{!}}{{{min1|{{{min|Minimum}}}}}}
{{!}} class="{{{color1}}}1" {{!}}
{{!}} class="{{{color1}}}2" {{!}}
{{!}} class="{{{color1}}}3" {{!}}
{{!}} class="{{{color1}}}4" {{!}}
{{!}} class="{{{color1}}}5" {{!}}
{{!}} class="{{{color1}}}6" {{!}}
{{!}} class="{{{color1}}}7" {{!}}
{{!}} class="{{{color1}}}8" {{!}}
{{!}} class="{{{color1}}}9 label" {{!}} {{{max1|{{{max|Maximum}}}}}}
{{#if: {{{label2|}}} |
{{!-}}
! {{{label2}}}:
{{!}}class="{{{color2}}}0 label" {{!}}{{{min2|{{{min|Minimum}}}}}}
{{!}} class="{{{color2}}}1" {{!}}
{{!}} class="{{{color2}}}2" {{!}}
{{!}} class="{{{color2}}}3" {{!}}
{{!}} class="{{{color2}}}4" {{!}}
{{!}} class="{{{color2}}}5" {{!}}
{{!}} class="{{{color2}}}6" {{!}}
{{!}} class="{{{color2}}}7" {{!}}
{{!}} class="{{{color2}}}8" {{!}}
{{!}} class="{{{color2}}}9 label" {{!}} {{{max2|{{{max|Maximum}}}}}}
{{#if: {{{label3|}}} |
{{!-}}
! {{{label3}}}:
{{!}}class="{{{color3}}}0 label" {{!}}{{{min3|{{{min|Minimum}}}}}}
{{!}} class="{{{color3}}}1" {{!}}
{{!}} class="{{{color3}}}2" {{!}}
{{!}} class="{{{color3}}}3" {{!}}
{{!}} class="{{{color3}}}4" {{!}}
{{!}} class="{{{color3}}}5" {{!}}
{{!}} class="{{{color3}}}6" {{!}}
{{!}} class="{{{color3}}}7" {{!}}
{{!}} class="{{{color3}}}8" {{!}}
{{!}} class="{{{color3}}}9 label" {{!}} {{{max3|{{{max|Maximum}}}}}}
{{#if: {{{label4|}}} |
{{!-}}
! {{{label4}}}:
{{!}}class="{{{color4}}}0 label" {{!}}{{{min4|{{{min|Minimum}}}}}}
{{!}} class="{{{color4}}}1" {{!}}
{{!}} class="{{{color4}}}2" {{!}}
{{!}} class="{{{color4}}}3" {{!}}
{{!}} class="{{{color4}}}4" {{!}}
{{!}} class="{{{color4}}}5" {{!}}
{{!}} class="{{{color4}}}6" {{!}}
{{!}} class="{{{color4}}}7" {{!}}
{{!}} class="{{{color4}}}8" {{!}}
{{!}} class="{{{color4}}}9 label" {{!}} {{{max4|{{{max|Maximum}}}}}}
{{#if: {{{label5|}}} |
{{!-}}
! {{{label5}}}:
{{!}}class="{{{color5}}}0 label" {{!}}{{{min5|{{{min|Minimum}}}}}}
{{!}} class="{{{color5}}}1" {{!}}
{{!}} class="{{{color5}}}2" {{!}}
{{!}} class="{{{color5}}}3" {{!}}
{{!}} class="{{{color5}}}4" {{!}}
{{!}} class="{{{color5}}}5" {{!}}
{{!}} class="{{{color5}}}6" {{!}}
{{!}} class="{{{color5}}}7" {{!}}
{{!}} class="{{{color5}}}8" {{!}}
{{!}} class="{{{color5}}}9 label" {{!}} {{{max5|{{{max|Maximum}}}}}}
}} }} }} }} }}
|}
|}

Latest revision as of 13:56, 13 October 2023

Payoffs:
Minimum Maximum