Template:Reputation Table/Item: Difference between revisions

Template page
No edit summary
No edit summary
Line 16: Line 16:
linear-gradient(90deg, rgba(255,{{#expr: {{#expr: 1 -{{#expr: {{{value|0}}} * -1}}}} * 255}},{{#expr: {{#expr: 1 -{{#expr: {{{value|0}}} * -1}}}} * 255}},1) 0%, rgba(255,255,255,1) 100%);
linear-gradient(90deg, rgba(255,{{#expr: {{#expr: 1 -{{#expr: {{{value|0}}} * -1}}}} * 255}},{{#expr: {{#expr: 1 -{{#expr: {{{value|0}}} * -1}}}} * 255}},1) 0%, rgba(255,255,255,1) 100%);
|
|
linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba({{#expr: {{#expr: 1 -{{{value|0}}}}} * 255}},255,{{#expr: {{#expr: 1 -{{{value|0}}}}} * 255}},1) 100%);
linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba({{#expr: 1 -{{{value|0}}}}},255,{{#expr: {{#expr: 1 -{{{value|0}}}}} * 255}},1) 100%);
}}
}}
border-radius: 5px;
border-radius: 5px;

Revision as of 05:23, 15 December 2024

Usage:

{{Reputation_Table/Item|value=0.1}}