Difference between revisions of "ColourPercentBG"
From NEC Retro
(Created page with "<includeonly>{{#vardefine:min|{{{min|0}}}}}{{#vardefine:max|{{{max|100}}}}}{{#vardefine:value|{{{value|0}}}}}{{#expr:({{#var:value}}-{{#var:min}})/({{#var:max}}-{{#var:min}})}...") |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:min|{{{ | + | <includeonly>{{#vardefine:value|{{Percent |
+ | |min={{{min|}}} | ||
+ | |max={{{max|}}} | ||
+ | |value={{{value|}}} | ||
+ | }}}}{{ | ||
+ | #ifexpr:{{#var:value}} > 0.9|{{WikiColour|BG|redmagenta}}|{{ | ||
+ | #ifexpr:{{#var:value}} > 0.8|{{WikiColour|BG|magenta}}|{{ | ||
+ | #ifexpr:{{#var:value}} > 0.7|{{WikiColour|BG|purple}}|{{ | ||
+ | #ifexpr:{{#var:value}} > 0.6|{{WikiColour|BG|blue}}|{{ | ||
+ | #ifexpr:{{#var:value}} > 0.5|{{WikiColour|BG|cyan}}|{{ | ||
+ | #ifexpr:{{#var:value}} > 0.4|{{WikiColour|BG|green}}|{{ | ||
+ | #ifexpr:{{#var:value}} > 0.3|{{WikiColour|BG|yellowgreen}}|{{ | ||
+ | #ifexpr:{{#var:value}} > 0.2|{{WikiColour|BG|yellow}}|{{ | ||
+ | #ifexpr:{{#var:value}} > 0.1|{{WikiColour|BG|orange}}|{{ | ||
+ | #ifexpr:{{#var:value}} > 0.0|{{WikiColour|BG|red}}}}}}}}}}}}}}}}}}}}}}</includeonly><noinclude> | ||
− | {{ColourPercentBG | + | {| |
− | |min= | + | |style="background-color:{{ColourPercentBG|min=0|max=100|value=5}}"|5 |
− | |max= | + | |style="background-color:{{ColourPercentBG|min=0|max=100|value=15}}"|15 |
− | |value= | + | |style="background-color:{{ColourPercentBG|min=0|max=100|value=25}}"|25 |
− | }} | + | |style="background-color:{{ColourPercentBG|min=0|max=100|value=35}}"|35 |
+ | |style="background-color:{{ColourPercentBG|min=0|max=100|value=45}}"|45 | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=100|value=55}}"|55 | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=100|value=65}}"|65 | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=100|value=75}}"|75 | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=100|value=85}}"|85 | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=100|value=95}}"|95 | ||
+ | |} | ||
− | {{ColourPercentBG | + | {| |
− | |min=3 | + | |style="background-color:{{ColourPercentBG|min=0|max=10|value=1}}"|128KB |
− | |max= | + | |style="background-color:{{ColourPercentBG|min=0|max=10|value=2}}"|256KB |
− | |value= | + | |style="background-color:{{ColourPercentBG|min=0|max=10|value=3}}"|384KB |
− | }} | + | |style="background-color:{{ColourPercentBG|min=0|max=10|value=4}}"|640KB |
+ | |style="background-color:{{ColourPercentBG|min=0|max=10|value=5}}"|1.6MB | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=10|value=6}}"|1.8MB | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=10|value=7}}"|2.0MB | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=10|value=8}}"|3.6MB | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=10|value=9}}"|5.6MB | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=10|value=10}}"|7.6MB | ||
+ | |} | ||
+ | |||
+ | {| | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=10|value=1}}"|8086 | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=11|value=2}}"|8086-2 | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=11|value=3}}"|V30 | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=11|value=4}}"|286 | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=11|value=5}}"|386SX | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=11|value=6}}"|386SX | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=11|value=7}}"|V30HL | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=11|value=8}}"|i486SX | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=11|value=9}}"|i486SX2 | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=11|value=10}}"|i486DX2 | ||
+ | |style="background-color:{{ColourPercentBG|min=0|max=11|value=11}}"|Pentium | ||
+ | |} | ||
TODO | TODO | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 04:40, 24 February 2022
5 | 15 | 25 | 35 | 45 | 55 | 65 | 75 | 85 | 95 |
128KB | 256KB | 384KB | 640KB | 1.6MB | 1.8MB | 2.0MB | 3.6MB | 5.6MB | 7.6MB |
8086 | 8086-2 | V30 | 286 | 386SX | 386SX | V30HL | i486SX | i486SX2 | i486DX2 | Pentium |
TODO