Template:Reputation Table/Item: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
this is a test
<!-- Template documentation -->
</noinclude><includeonly>
'''Usage:'''
{{{test|hello}}}
<pre>
{{Reputation_Table/Item|value=0.1}}
</pre>
</noinclude>
<includeonly>
<div style="width: 100%; height: 20px; background: #e0e0e0; border-radius: 5px; position: relative;">
<div style="height: 100%;
background: linear-gradient(to right, red, yellow, green);
width: {{#expr: (100 * {{{value|0}}})}}%;
border-radius: 5px;
position: absolute;
left: 0;
top: 0;">
</div>
</div>
</includeonly>
</includeonly>

Revision as of 04:16, 15 December 2024

Usage:

{{Reputation_Table/Item|value=0.1}}