Format: Alegeri Parlamentare/Lista/Statistica/Grafic: Diferență între versiuni
De la alegeri.md
Linia 1: | Linia 1: | ||
<div title="{{#number_format:{{#expr:100*{{{1}}}/{{{2}}}}}|1}}%" style="background:#eee; border:0px solid #ddd; height:6px; position:relative; width:auto;"><div style="background-color:{{{3|#ddd}}}; height:6px; position:absolute; width:{{#ifexpr(100*{{{1}}}/{{{2}}}) < 1 | 1 | {{#expr:floor(100*{{{1|50}}}/{{{2|100}}})}} }}%; z-index:8;"></div></div> | <div title="{{#number_format:{{#expr:100*{{{1}}}/{{{2}}}}}|1}}%" style="background:#eee; border:0px solid #ddd; height:6px; position:relative; width:auto;"><div style="background-color:{{{3|#ddd}}}; height:6px; position:absolute; width:{{#ifexpr(100*{{{1}}}/{{{2}}}) < 1 | 1 | {{#expr:floor(100*{{{1|50}}}/{{{2|100}}})}} }}%; z-index:8;"></div></div> | ||
+ | {{#ifexpr(100*{{{1}}}/{{{2}}}) < 1 | 1 | {{#expr:floor(100*{{{1|50}}}/{{{2|100}}})}} }}% |
Versiunea de la data 12 noiembrie 2018 22:11
<div title="First argument to "number_format" must be a number.%" style="background:#eee; border:0px solid #ddd; height:6px; position:relative; width:auto;"><div style="background-color:#ddd; height:6px; position:absolute; width:{{#ifexpr(100*{{{1}}}/{{{2}}}) < 1 | 1 | 50 }}%; z-index:8;">
{{#ifexpr(100*{{{1}}}/{{{2}}}) < 1 | 1 | 50 }}%