Format: CV/Graf: Diferență între versiuni

De la alegeri.md
Salt la: navigare, căutare
Linia 11: Linia 11:
 
<div style="background:#{{#ifexpr:{{{16}}} > 0 | 639400 | bbb}}; height:3px; position:absolute; width:{{#number_format:{{#expr: ({{#expr:({{{15}}} - {{{13}}})*12 + ({{{14}}} - {{{12}}}) +1}}) / ({{#expr:({{#time:Y}} - {{{2}}})*12 + ({{#time:n}} - {{{1}}}) +1}}) * 100}}|1}}%; left:{{#number_format:{{#expr: ({{#expr:({{{13}}} - {{{2}}})*12 + ({{{12}}} - {{{1}}})}}) / ({{#expr:({{#time:Y}} - {{{2}}})*12 + ({{#time:n}} - {{{1}}}) +1}}) * 100}}|1}}%; z-index:7"></div> |
 
<div style="background:#{{#ifexpr:{{{16}}} > 0 | 639400 | bbb}}; height:3px; position:absolute; width:{{#number_format:{{#expr: ({{#expr:({{{15}}} - {{{13}}})*12 + ({{{14}}} - {{{12}}}) +1}}) / ({{#expr:({{#time:Y}} - {{{2}}})*12 + ({{#time:n}} - {{{1}}}) +1}}) * 100}}|1}}%; left:{{#number_format:{{#expr: ({{#expr:({{{13}}} - {{{2}}})*12 + ({{{12}}} - {{{1}}})}}) / ({{#expr:({{#time:Y}} - {{{2}}})*12 + ({{#time:n}} - {{{1}}}) +1}}) * 100}}|1}}%; z-index:7"></div> |
 
{{#ifexpr:{{{3}}} = 2 |
 
{{#ifexpr:{{{3}}} = 2 |
<div class="gcombo {{#ifexpr:({{{1}}}={{{4}}}) AND ({{{2}}}={{{5}}}) | gleft}}" style="background-color:#ccc; position:absolute; width:{{#number_format:{{#expr: ({{#expr:({{{7}}} - {{{5}}})*12 + ({{{6}}} - {{{4}}}) +1}}) / ({{#expr:({{#time:Y}} - {{{2}}})*12 + ({{#time:n}} - {{{1}}}) +1}}) * 100}}|1}}%; left:{{#number_format:{{#expr: ({{#expr:({{{5}}} - {{{2}}})*12 + ({{{4}}} - {{{1}}})}}) / ({{#expr:({{#time:Y}} - {{{2}}})*12 + ({{#time:n}} - {{{1}}}) +1}}) * 100}}|1}}%; z-index:7"></div>
+
<div class="gcombo {{#ifexpr:({{{1}}}={{{4}}}) AND ({{{2}}}={{{5}}}) | gleft}}" style="background-color:#bbb; position:absolute; width:{{#number_format:{{#expr: ({{#expr:({{{7}}} - {{{5}}})*12 + ({{{6}}} - {{{4}}}) +1}}) / ({{#expr:({{#time:Y}} - {{{2}}})*12 + ({{#time:n}} - {{{1}}}) +1}}) * 100}}|1}}%; left:{{#number_format:{{#expr: ({{#expr:({{{5}}} - {{{2}}})*12 + ({{{4}}} - {{{1}}})}}) / ({{#expr:({{#time:Y}} - {{{2}}})*12 + ({{#time:n}} - {{{1}}}) +1}}) * 100}}|1}}%; z-index:7"></div>
<div class="gcombo {{#ifexpr:{{{12}}} > 0 | gright}}" style="background-color:#{{#ifexpr:{{{12}}} > 0 | 9bbb59 | ccc}}; position:absolute; width:{{#number_format:{{#expr: ({{#expr:({{{11}}} - {{{9}}})*12 + ({{{10}}} - {{{8}}}) +1}}) / ({{#expr:({{#time:Y}} - {{{2}}})*12 + ({{#time:n}} - {{{1}}}) +1}}) * 100}}|1}}%; left:{{#number_format:{{#expr: ({{#expr:({{{9}}} - {{{2}}})*12 + ({{{8}}} - {{{1}}})}}) / ({{#expr:({{#time:Y}} - {{{2}}})*12 + ({{#time:n}} - {{{1}}}) +1}}) * 100}}|1}}%; z-index:7"></div> |
+
<div class="gcombo {{#ifexpr:{{{12}}} > 0 | gright}}" style="background-color:#{{#ifexpr:{{{12}}} > 0 | 9bbb59 | bbb}}; position:absolute; width:{{#number_format:{{#expr: ({{#expr:({{{11}}} - {{{9}}})*12 + ({{{10}}} - {{{8}}}) +1}}) / ({{#expr:({{#time:Y}} - {{{2}}})*12 + ({{#time:n}} - {{{1}}}) +1}}) * 100}}|1}}%; left:{{#number_format:{{#expr: ({{#expr:({{{9}}} - {{{2}}})*12 + ({{{8}}} - {{{1}}})}}) / ({{#expr:({{#time:Y}} - {{{2}}})*12 + ({{#time:n}} - {{{1}}}) +1}}) * 100}}|1}}%; z-index:7"></div> |
<div class="gcombo {{#ifexpr:{{{8}}} > 0 | gright}} {{#ifexpr:({{{1}}}={{{4}}}) AND ({{{2}}}={{{5}}}) | gleft}}" style="background-color:#{{#ifexpr:{{{8}}} > 0 | 9bbb59 | ccc}}; position:absolute; width:{{#number_format:{{#expr: ({{#expr:({{{7}}} - {{{5}}})*12 + ({{{6}}} - {{{4}}}) +1}}) / ({{#expr:({{#time:Y}} - {{{2}}})*12 + ({{#time:n}} - {{{1}}}) +1}}) * 100}}|1}}%; left:{{#number_format:{{#expr: ({{#expr:({{{5}}} - {{{2}}})*12 + ({{{4}}} - {{{1}}})}}) / ({{#expr:({{#time:Y}} - {{{2}}})*12 + ({{#time:n}} - {{{1}}}) +1}}) * 100}}|1}}%; z-index:7"></div>
+
<div class="gcombo {{#ifexpr:{{{8}}} > 0 | gright}} {{#ifexpr:({{{1}}}={{{4}}}) AND ({{{2}}}={{{5}}}) | gleft}}" style="background-color:#{{#ifexpr:{{{8}}} > 0 | 9bbb59 | bbb}}; position:absolute; width:{{#number_format:{{#expr: ({{#expr:({{{7}}} - {{{5}}})*12 + ({{{6}}} - {{{4}}}) +1}}) / ({{#expr:({{#time:Y}} - {{{2}}})*12 + ({{#time:n}} - {{{1}}}) +1}}) * 100}}|1}}%; left:{{#number_format:{{#expr: ({{#expr:({{{5}}} - {{{2}}})*12 + ({{{4}}} - {{{1}}})}}) / ({{#expr:({{#time:Y}} - {{{2}}})*12 + ({{#time:n}} - {{{1}}}) +1}}) * 100}}|1}}%; z-index:7"></div>
 
}} }} }}
 
}} }} }}
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Versiunea de la data 11 ianuarie 2022 11:19