Vorlage:Betrag: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 1: | Zeile 1: | ||
− | <includeonly><div style="text-align: right; color:red;">{{{1}}} €</div></includeonly> | + | <includeonly>{{#ifexpr: {{#replace:{{{1}}}|,|.}} >= 0 | <div style="text-align:right; color:green;">{{#replace:{{#number_format:{{#replace:{{{1}}}|,|.}}|2|,|.}}|,00|,-}} €</div> | <div style="text-align:right; color:red;">{{#replace:{{#number_format:{{#replace:{{{1}}}|,|.}}|2|,|.}}|,00|,-}} €</div>}}</includeonly> |