Format: Covid/Raion2: Diferență între versiuni

De la alegeri.md
Salt la: navigare, căutare
Linia 3: Linia 3:
 
| align="left" data-sort-value="{{{1}}}" | {{#ifexpr:{{{1}}}=0|'''{{{3}}}'''|{{{3}}}}}
 
| align="left" data-sort-value="{{{1}}}" | {{#ifexpr:{{{1}}}=0|'''{{{3}}}'''|{{{3}}}}}
 
| align="right" data-sort-value="{{{5}}}" | {{Cifra|{{{5}}}}}
 
| align="right" data-sort-value="{{{5}}}" | {{Cifra|{{{5}}}}}
| {{#if:{{{6 | <noinclude>-</noinclude>}}} | data-sort-value="{{{6}}}" {{!}} <span class="cazuri">+{{{6}}}</span> | data-sort-value="0" {{!}}}}
+
| {{#if:{{{6 | <noinclude>-</noinclude>}}} | data-sort-value="{{{6}}}" {{!}} <span class="cazuri">+{{Cifra|{{{6}}}}}</span> | data-sort-value="0" {{!}}}}
 
| class="pr20 grey" data-sort-value="{{#number_format:{{#expr:{{{5}}}/{{{4}}}*100000}}|2||}}" | {{Cifra|{{#expr:{{{5}}}/{{{4}}}*100000}}}}
 
| class="pr20 grey" data-sort-value="{{#number_format:{{#expr:{{{5}}}/{{{4}}}*100000}}|2||}}" | {{Cifra|{{#expr:{{{5}}}/{{{4}}}*100000}}}}
 
| class="hidden-xs" | <div class="gright" style="position:relative; height:6px; width:{{#number_format:{{#expr:{{{5}}}/{{{4}}}*100000/{{{9}}}*100}}|2}}%;{{#ifexpr:{{{1}}}=0|background-color:#ddd}}"><div class="gright cazuri" style="opacity:0.5; position:absolute; width:100%;{{#ifexpr:{{{1}}}=0|background-color:#ddd}}"></div><div class="baniminus gplus gleft" style="background-color:#{{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 100 | c33 | {{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 50 | fa8e3c | {{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 20 | ffd845 | 090 }}}}}}; border-right:1px solid #fdd; position:absolute; width:{{#number_format:{{#expr:({{{5}}}-{{{8}}})/{{{4}}}*100000/({{{5}}}/{{{4}}}*100000)*100}}|2}}%;{{#ifexpr:{{{1}}}=0|background-color:#aaa; border-right:1px solid #fff}}"></div></div>
 
| class="hidden-xs" | <div class="gright" style="position:relative; height:6px; width:{{#number_format:{{#expr:{{{5}}}/{{{4}}}*100000/{{{9}}}*100}}|2}}%;{{#ifexpr:{{{1}}}=0|background-color:#ddd}}"><div class="gright cazuri" style="opacity:0.5; position:absolute; width:100%;{{#ifexpr:{{{1}}}=0|background-color:#ddd}}"></div><div class="baniminus gplus gleft" style="background-color:#{{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 100 | c33 | {{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 50 | fa8e3c | {{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 20 | ffd845 | 090 }}}}}}; border-right:1px solid #fdd; position:absolute; width:{{#number_format:{{#expr:({{{5}}}-{{{8}}})/{{{4}}}*100000/({{{5}}}/{{{4}}}*100000)*100}}|2}}%;{{#ifexpr:{{{1}}}=0|background-color:#aaa; border-right:1px solid #fff}}"></div></div>
 
| title="+{{Cifra|{{#expr:{{{5}}}-{{{8}}}}}}} cazuri" class="pr10 grey {{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 100 | red}}" data-sort-value="{{#number_format:{{#expr:({{{5}}}-{{{8}}})/{{{4}}}*100000}}|2||}}" | {{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 0 | {{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) >= 9.95 | {{Cifra|{{#expr:({{{5}}}-{{{8}}})/{{{4}}}*100000}}}} | {{Cifra|{{#expr:({{{5}}}-{{{8}}})/{{{4}}}*100000}}|1}} }}}}
 
| title="+{{Cifra|{{#expr:{{{5}}}-{{{8}}}}}}} cazuri" class="pr10 grey {{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 100 | red}}" data-sort-value="{{#number_format:{{#expr:({{{5}}}-{{{8}}})/{{{4}}}*100000}}|2||}}" | {{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 0 | {{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) >= 9.95 | {{Cifra|{{#expr:({{{5}}}-{{{8}}})/{{{4}}}*100000}}}} | {{Cifra|{{#expr:({{{5}}}-{{{8}}})/{{{4}}}*100000}}|1}} }}}}
 
| data-sort-value="{{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 100 | 4 | {{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 50 | 3 | {{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 20 | 2 | 1 }}}}}}" align="center" style="color:#{{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 100 | c33 | {{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 50 | fa8e3c | {{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 20 | ffd845 | 090 }}}}}}; font-size:30px; line-height:12px" | •</includeonly>
 
| data-sort-value="{{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 100 | 4 | {{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 50 | 3 | {{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 20 | 2 | 1 }}}}}}" align="center" style="color:#{{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 100 | c33 | {{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 50 | fa8e3c | {{#ifexpr:(({{{5}}}-{{{8}}})/{{{4}}}*100000) > 20 | ffd845 | 090 }}}}}}; font-size:30px; line-height:12px" | •</includeonly>

Versiunea de la data 30 septembrie 2020 18:54