Templat:Composition bar advanced: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan |
Tidak ada ringkasan suntingan Tag: Dikembalikan Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan |
||
Baris 1:
<includeonly><div style="justify-content: center;><div style="position:relative; width:{{{boxwidth|500}}}px;height:
<div style="position: absolute; font-weight:bold;width:{{{boxwidth|500}}}px;height:
<div style="position: absolute; left: {{#expr:floor({{{boxwidth|500}}}*(0)/{{{total|500}}})}}px; width:{{#expr:floor({{{boxwidth|500}}}*{{{party1|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}/{{{total|{{{boxwidth|500}}}}}})}}px;height:
{{#if:{{{party2|}}}|<div style="position: absolute; left: {{#expr:floor({{{boxwidth|500}}}*({{{party1|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}})/{{{total|{{{boxwidth|500}}}}}})}}px; width:{{#expr:floor({{{boxwidth|500}}}*{{{party2|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}/{{{total|{{{boxwidth|500}}}}}})}}px;height:
{{#if:{{{party3|}}}|<div style="position: absolute; left: {{#expr:floor({{{boxwidth|500}}}*({{{party1|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party2|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}})/{{{total|{{{boxwidth|500}}}}}})}}px; width:{{#expr:floor({{{boxwidth|500}}}*{{{party3|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}/{{{total|{{{boxwidth|500}}}}}})}}px;height:
{{#if:{{{party4|}}}|<div style="position: absolute; left: {{#expr:floor({{{boxwidth|500}}}*({{{party1|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party2|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party3|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}})/{{{total|{{{boxwidth|500}}}}}})}}px; width:{{#expr:floor({{{boxwidth|500}}}*{{{party4|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}/{{{total|{{{boxwidth|500}}}}}})}}px;height:
{{#if:{{{party5|}}}|<div style="position: absolute; left: {{#expr:floor({{{boxwidth|500}}}*({{{party1|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party2|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party3|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party4|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}})/{{{total|{{{boxwidth|500}}}}}})}}px; width:{{#expr:floor({{{boxwidth|500}}}*{{{party5|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}/{{{total|{{{boxwidth|500}}}}}})}}px;height:
{{#if:{{{party6|}}}|<div style="position: absolute; left: {{#expr:floor({{{boxwidth|500}}}*({{{party1|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party2|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party3|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party4|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party5|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}})/{{{total|{{{boxwidth|500}}}}}})}}px; width:{{#expr:floor({{{boxwidth|500}}}*{{{party6|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}/{{{total|{{{boxwidth|500}}}}}})}}px;height:
{{#if:{{{party7|}}}|<div style="position: absolute; left: {{#expr:floor({{{boxwidth|500}}}*({{{party1|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party2|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party3|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party4|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party5|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party6|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}})/{{{total|{{{boxwidth|500}}}}}})}}px; width:{{#expr:floor({{{boxwidth|500}}}*{{{party7|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}/{{{total|{{{boxwidth|500}}}}}})}}px;height:
{{#if:{{{party8|}}}|<div style="position: absolute; left: {{#expr:floor({{{boxwidth|500}}}*({{{party1|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party2|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party3|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party4|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party5|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party6|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party7|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}})/{{{total|{{{boxwidth|500}}}}}})}}px; width:{{#expr:floor({{{boxwidth|500}}}*{{{party8|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}/{{{total|{{{boxwidth|500}}}}}})}}px;height:
{{#if:{{{party9|}}}|<div style="position: absolute; left: {{#expr:floor({{{boxwidth|500}}}*({{{party1|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party2|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party3|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party4|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party5|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party6|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party7|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party8|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}})/{{{total|{{{boxwidth|500}}}}}})}}px; width:{{#expr:floor({{{boxwidth|500}}}*{{{party9|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}/{{{total|{{{boxwidth|500}}}}}})}}px;height:
{{#if:{{{party10|}}}|<div style="position: absolute; left: {{#expr:floor({{{boxwidth|500}}}*({{{party1|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party2|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party3|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party4|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party5|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party6|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party7|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party8|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}+{{{party9|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}})/{{{total|{{{boxwidth|500}}}}}})}}px; width:{{#expr:floor({{{boxwidth|500}}}*{{{party10|{{if:{{{boxwidth}}}|{{#expr:floor({{{boxwidth}}}/2)}}|250}}}}}/{{{total|{{{boxwidth|500}}}}}})}}px;height:
{{Documentation}}</noinclude>
|