Template:Composition bar: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
     |{{{hex|{{{3|#CCCCCC}}}}}} }}; width: {{#expr:floor({{{width|100}}}*{{{1|{{#expr:{{{width|100}}}/2}}}}}/{{{2|{{{width|100}}}}}})}}px; height: 1.5em;"></div><div style="position: absolute; font-weight: bold; width: {{{width|100}}}px; height: 1.5em; text-align: center; z-index: 10; color: {{{color|#000}}};">{{formatnum:{{{1|50}}}}}&nbsp;/&nbsp;{{formatnum:{{{2|100}}}}}{{#if:{{{per|}}}|&nbsp;&nbsp;&nbsp;({{#expr:(({{{1|50}}}/{{{2|100}}})*100)round 0}}%)}}</div></div><noinclude>
     |{{{hex|{{{3|#CCCCCC}}}}}} }}; width: {{#expr:floor({{{width|100}}}*{{{1|{{#expr:{{{width|100}}}/2}}}}}/{{{2|{{{width|100}}}}}})}}px; height: 1.5em;"></div><div style="position: absolute; font-weight: bold; width: {{{width|100}}}px; height: 1.5em; text-align: center; z-index: 10; color: {{{color|#000}}};">{{formatnum:{{{1|50}}}}}&nbsp;/&nbsp;{{formatnum:{{{2|100}}}}}{{#if:{{{per|}}}|&nbsp;&nbsp;&nbsp;({{#expr:(({{{1|50}}}/{{{2|100}}})*100)round 0}}%)}}</div></div><noinclude>


[[Category:Templates]]
[[Category:Templates]][[Category:Chancery templates]]

Revision as of 13:18, 8 January 2014

50 / 100