Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Composition bar: Difference between revisions

Template page
m (Troubleshooting)
mNo edit summary
 
Line 1: Line 1:
<div style="{{#ifeq:{{{width|}}}|auto||width: {{#iferror:{{#expr:{{{width|}}}}}|{{{width}}}|{{{width|100}}}px}};}}"><span class="nowrap">{{formatnum:{{{1|50}}}}} / {{formatnum:{{{2|100}}}}}{{#if:{{{per|}}}|&emsp;({{#expr:(({{{1|50}}}/{{{2|100}}})*100) round (-1*{{min|0|{{Order of magnitude|{{#expr:({{{1|50}}}/{{{2|100}}})*100}}}}}}) }}%)}}{{{ref|}}}</span>
<div style="{{#ifeq:{{{width|}}}|auto||width: {{#iferror:{{#expr:{{{width|}}}}}|{{{width}}}|{{{width|100}}}px}};}}"><span class="nowrap">{{formatnum:{{{1|50}}}}} / {{formatnum:{{{2|100}}}}}{{#if:{{{per|}}}|&emsp;({{#expr:(({{{1|50}}}/{{{2|100}}})*100) round (-1*{{min|0|{{Order of magnitude|{{#expr:({{{1|50}}}/{{{2|100}}})*100}}}}}}) }}%)}}{{{ref|}}}</span>
<div style="width: {{{width|100}}}%; height: 1.15em; background-color: {{{background-color|#CCCCCC}}}; border: 1px solid {{{border-color|#aaa}}};">
<div style="width: {{{width|100}}}%; height: 1.15em; background-color: transparent; border: 1px solid {{{border-color|#aaa}}};">
     <div style="width: {{#expr: {{{1}}} / {{{2}}} * 100}}%; background-color: {{{3|#CCCCCC}}}; height: 100%;">
     <div style="width: {{#expr: {{{1}}} / {{{2}}} * 100}}%; background-color: {{{3|#CCCCCC}}}; height: 100%;">
     </div>
     </div>
</div>
</div>
  <noinclude>{{Documentation}}</noinclude>
  <noinclude>{{Documentation}}</noinclude>

Latest revision as of 16:18, 2 October 2024

50 / 100
   <div style="width: Expression error: Unrecognized punctuation character "{".%; background-color: #CCCCCC; height: 100%;">