Template:Number Format Plus Minus: Difference between revisions

From Lilith's Throne
Jump to navigationJump to search
Template created
 
Fix colors, add plus sign
Line 1: Line 1:
<span style="color:#{{#ifexpr: {{{Value|}}}> 0 | EA5D76 | 57DB7E}}">'''{{{Value}}}'''</span><noinclude>
<span style="color:#{{#ifexpr: {{{Value|}}} > 0 | 57DB7E | EA5D76}}">'''{{#ifexpr: {{{Value|}}} > 0 | + | }}{{{Value}}}'''</span><noinclude>
<templatedata>
<templatedata>
{
{

Revision as of 05:33, 26 February 2024

<span style="color:#Expression error: Unexpected > operator.">Expression error: Unexpected > operator.{{{Value}}}

Displays bold colored text for a number as it might be seen in LT. Adds a plus sign and green color to positive numbers, and red color to negative numbers.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
ValueValue

no description

Numberrequired