Template:Reputation Table/Item: Difference between revisions

Template page
No edit summary
No edit summary
Line 16: Line 16:
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% }});">
{{#ifexpr:{{{value|0}}}<0| transform: translateX(-100%);|}}">
</div>
</div>
</div>
</div>
</includeonly>
</includeonly>

Revision as of 04:43, 15 December 2024

Usage:

{{Reputation_Table/Item|value=0.1}}