Templat:Stacked bar: Perbedaan antara revisi
Tampilan
Konten dihapus Konten ditambahkan
try |
fix |
||
Baris 16: | Baris 16: | ||
{{#ifeq: {{{A1|0}}} | 0 | <!-- do nothing --> | {{!}}style="height:4px; font-size:0px; background: #193282; width: {{#expr: 100 * {{{A1}}} / {{{Total|100}}} round 1 }}%"{{!}}}} |
{{#ifeq: {{{A1|0}}} | 0 | <!-- do nothing --> | {{!}}style="height:4px; font-size:0px; background: #193282; width: {{#expr: 100 * {{{A1}}} / {{{Total|100}}} round 1 }}%"{{!}}}} |
||
{{#ifeq: {{{A2|0}}} | 0 | <!-- do nothing --> | {{!}}style="height:4px; font-size:0px; background: #c8ebff; width: {{#expr: 100 * {{{A2}}} / {{{Total|100}}} round 1 }}%"{{!}}}} |
{{#ifeq: {{{A2|0}}} | 0 | <!-- do nothing --> | {{!}}style="height:4px; font-size:0px; background: #c8ebff; width: {{#expr: 100 * {{{A2}}} / {{{Total|100}}} round 1 }}%"{{!}}}} |
||
{{#ifeq: {{{A3|0}}} | 0 | <!-- do nothing --> | {{!}}style="height:4px; font-size:0px; background: # |
{{#ifeq: {{{A3|0}}} | 0 | <!-- do nothing --> | {{!}}style="height:4px; font-size:0px; background: #DB2016; width: {{#expr: 100 * {{{A3}}} / {{{Total|100}}} round 1 }}%"{{!}}}} |
||
{{#ifeq: {{{A4|0}}} | 0 | <!-- do nothing --> | {{!}}style="height:4px; font-size:0px; background: #9692e3; width: {{#expr: 100 * {{{A4}}} / {{{Total|100}}} round 1 }}%"{{!}}}} |
{{#ifeq: {{{A4|0}}} | 0 | <!-- do nothing --> | {{!}}style="height:4px; font-size:0px; background: #9692e3; width: {{#expr: 100 * {{{A4}}} / {{{Total|100}}} round 1 }}%"{{!}}}} |
||
{{#ifeq: {{{A5|0}}} | 0 | <!-- do nothing --> | {{!}}style="height:4px; font-size:0px; background: #bd64d1; width: {{#expr: 100 * {{{A5}}} / {{{Total|100}}} round 1 }}%"{{!}}}} |
{{#ifeq: {{{A5|0}}} | 0 | <!-- do nothing --> | {{!}}style="height:4px; font-size:0px; background: #bd64d1; width: {{#expr: 100 * {{{A5}}} / {{{Total|100}}} round 1 }}%"{{!}}}} |