模板:Composition bar
50 / 100
本模板根據事物的子單位顯示事物的數字組成。
範例
原始碼 | 顯示為 |
---|---|
{{Composition bar|50|100|red}}
|
50 / 100
|
{{Composition bar|50|100|red|color=#FFF}}
|
50 / 100
|
{{Composition bar|50|100|red|color=#FFF|background-color=#000}}
|
50 / 100
|
{{Composition bar|50|100|#99F}}
|
50 / 100
|
{{Composition bar|50|100|{{Party meta/color/保守黨 (英國)}}}}
|
50 / 100
|
{{Composition bar|50|100|rgb(255,255,16)}}
|
50 / 100
|
{{Composition bar|75|100|#FF0|width=250}}
|
75 / 100
|
{{Composition bar|40|100|#F00|width=300|per=1}}
|
40 / 100 (40%)
|
{{Composition bar|90|100|#F0F0F0|width=300|per=2|background-color=#F00}}
|
90 / 100 (90%)
|
{{Composition bar|90|100|#F0C|width=300|per=1|color=#FFF}}
|
90 / 100 (90%)
|