Format: Temp/Locale: Diferență între versiuni
De la alegeri.md
Oleg (Discuție | contribuții) |
Oleg (Discuție | contribuții) |
||
Linia 4: | Linia 4: | ||
| data-sort-value="{{#replace:{{Candidat|{{{4}}}{{{2}}}{{{3}}}}}|“|}}" | {{Candidat|{{{4}}}{{{2}}}{{{3}}}}}<span class="hidden-xs grey"><br>{{#if:{{{first|<noinclude>-</noinclude>}}}|Președinte:}} {{{7|}}}</span> | | data-sort-value="{{#replace:{{Candidat|{{{4}}}{{{2}}}{{{3}}}}}|“|}}" | {{Candidat|{{{4}}}{{{2}}}{{{3}}}}}<span class="hidden-xs grey"><br>{{#if:{{{first|<noinclude>-</noinclude>}}}|Președinte:}} {{{7|}}}</span> | ||
| width="1%" align="right" data-sort-value="{{{12}}}" {{#ifexpr:{{{12}}}=0|class="lgrey"}} | {{Cifra|{{{12}}}}}<br>{{#ifexpr:{{{12}}}=0||<span class="grey">{{{10}}}</span>}} | | width="1%" align="right" data-sort-value="{{{12}}}" {{#ifexpr:{{{12}}}=0|class="lgrey"}} | {{Cifra|{{{12}}}}}<br>{{#ifexpr:{{{12}}}=0||<span class="grey">{{{10}}}</span>}} | ||
− | | title="{{#ifexpr:100*{{{12}}}/{{{11}}}>100|100|{{Cifra|{{#expr:100*{{{12}}}/{{{11}}}}}|1}}}}%" | + | | <div title="{{#ifexpr:100*{{{12}}}/{{{11}}}>100|{{Cifra|100|1}}|{{Cifra|{{#expr:100*{{{12}}}/{{{11}}}}}|1}}}}%" class="hidden-xs gcr2" style="margin-bottom:10px; width:{{#ifexpr:(100*{{{12}}}/{{{11}}}) = 0 | 0 | {{#ifexpr:(100*{{{12}}}/{{{11}}}) < 0.5 | 1px | {{#ifexpr:(100*{{{12}}}/{{{11}}}) > 100 | 100% | {{#number_format:{{#expr:100*{{{12}}}/{{{11}}}}}|2}}% }} }} }}"></div><div class="hidden-xs gall" style="background-color:#ccc; width:{{#ifexpr:(100*{{{10}}}/{{{9}}}) = 0 | 0 | {{#ifexpr:(100*{{{10}}}/{{{9}}}) < 0.5 | 1px | {{#number_format:{{#expr:100*{{{10}}}/{{{9}}}}}|2}}% }} }}"></div> |
− | | width="1%" align="right" data-sort-value="{{{ | + | | width="1%" align="right" data-sort-value="{{{18}}}" {{#ifexpr:{{{18}}}=0|class="lgrey"}} | {{Cifra|{{{18}}}}}<br>{{#ifexpr:{{{18}}}=0||<span class="grey">{{{14}}}</span>}} |
− | | {{# | + | | title="{{Cifra|{{#expr:100*{{{18}}}/{{{17}}}}}|1}}%" | <div class="hidden-xs gcl2" style="width:{{#ifexpr:(100*{{{18}}}/{{{17}}}) = 0 | 0 | {{#ifexpr:(100*{{{18}}}/{{{17}}}) < 0.5 | 1px | {{#number_format:{{#expr:100*{{{18}}}/{{{17}}}}}|2}}% }} }}"></div><div class="hidden-xs gall" style="background-color:#ccc; width:{{#ifexpr:(100*{{{14}}}/{{{13}}}) = 0 | 0 | {{#ifexpr:(100*{{{14}}}/{{{13}}}) < 0.5 | 1px | {{#number_format:{{#expr:100*{{{14}}}/{{{13}}}}}|2}}% }} }}"></div> |
| width="1%" align="right" data-sort-value="{{{14}}}" {{#ifeq:{{{2}}}|ci|class="grey"}} {{#ifexpr:{{{14}}}=0|class="lgrey"}} | {{Cifra|{{{14}}}}} | | width="1%" align="right" data-sort-value="{{{14}}}" {{#ifeq:{{{2}}}|ci|class="grey"}} {{#ifexpr:{{{14}}}=0|class="lgrey"}} | {{Cifra|{{{14}}}}} | ||
− | | {{#ifeq:{{{2}}}|ci||title="{{Cifra|{{#expr:100*{{{14}}}/{{{13}}}}}|1}}%" {{!}} <div class="hidden-xs gprim2" style="width:{{#ifexpr:(100*{{{14}}}/{{{13}}}) = 0 | 0 | {{#ifexpr:(100*{{{14}}}/{{{13}}}) < 0.5 | 1px | {{#number_format:{{#expr:100*{{{14}}}/{{{13}}}}}| | + | | {{#ifeq:{{{2}}}|ci||title="{{Cifra|{{#expr:100*{{{14}}}/{{{13}}}}}|1}}%" {{!}} <div class="hidden-xs gprim2" style="width:{{#ifexpr:(100*{{{14}}}/{{{13}}}) = 0 | 0 | {{#ifexpr:(100*{{{14}}}/{{{13}}}) < 0.5 | 1px | {{#number_format:{{#expr:100*{{{14}}}/{{{13}}}}}|2}}% }} }}"></div>}}</includeonly> |