跳至內容

「模板:Composition bar」:修訂間差異

增加 27 位元組 、​ 2025年4月1日 (星期二)
無編輯摘要
imported>DC
(建立內容為「<div style="width: {{{width|100}}}px;"><span class="nowrap">{{formatnum:{{{1|50}}}}} / {{formatnum:{{{2|100}}}}}{{#if:{{{per|}}}| ({{#expr:(({{{1|50}}}/{{{…」的新頁面)
 
DC對話 | 貢獻
無編輯摘要
第1行: 第1行:
<div style="width: {{{width|100}}}px;"><span class="nowrap">{{formatnum:{{{1|50}}}}} / {{formatnum:{{{2|100}}}}}{{#if:{{{per|}}}|&emsp;({{#expr:(({{{1|50}}}/{{{2|100}}})*100) round 0}}%)}}</span><div style="border: 1px solid #aaa; {{#if:{{{background-color|}}}|background-color: {{{background-color}}};}} height: 1em; position: relative;"><div style="background-color: {{#if:{{Both|{{{4|}}}|{{{5|}}}}}
<div style="width: {{{width|100}}}px;"><span class="nowrap">{{#if:{{{divisionname|}}}}}{{formatnum:{{{1|50}}}}} / {{formatnum:{{{2|100}}}}}{{#if:{{{per|}}}|&emsp;({{#expr:(({{{1|50}}}/{{{2|100}}})*100) round 0}}%)}}</span><div style="border: 1px solid #aaa; {{#if:{{{background-color|}}}|background-color: {{{background-color}}};}} height: 1em; position: relative;"><div style="background-color: {{#if:{{Both|{{{4|}}}|{{{5|}}}}}
  | rgb({{#expr:255*{{{3|255}}}}}, {{#expr:255*{{{4|0}}}}}, {{#expr:255*{{{5|0}}}}})
  | rgb({{#expr:255*{{{3|255}}}}}, {{#expr:255*{{{4|0}}}}}, {{#expr:255*{{{5|0}}}}})
  | {{{hex|{{{3|#CCCCCC}}}}}}
  | {{{hex|{{{3|#CCCCCC}}}}}}
  }}; width: {{#expr:(({{{1|50}}}/{{{2|100}}})*100) round 0}}%; height: 1em;"></div></div></div><noinclude>
  }}; width: {{#expr:(({{{1|50}}}/{{{2|100}}})*100) round 0}}%; height: 1em;"></div></div></div><noinclude>
{{Documentation}}</noinclude>
{{Documentation}}</noinclude>
1,256

次編輯