Template:Reputation Table/Item: Difference between revisions

Template page
No edit summary
No edit summary
Line 15: Line 15:
background: #3a8d3a;  
background: #3a8d3a;  
border-radius: 5px;
border-radius: 5px;
width: {{#expr: abs(50 * {{{value|0}}})}}%;">
width: {{#expr: abs(50 * {{{value|0}}})}}%;
transform: translateX({{#ifeq: {{{value|0}}} < 0 | -100% | 0% }});">
</div>
</div>
</div>
</div>
</includeonly>
</includeonly>

Revision as of 04:39, 15 December 2024

Usage:

{{Reputation_Table/Item|value=0.1}}