Template:Composition bar: Difference between revisions

From WikiMD's Wellness Encyclopedia

m 1 revision imported
en>Jonesey95
Fix Linter errors related to text color in dark mode; this generally works but may cause problems, in which case revert or try specifying a different CSS value.
Line 2: Line 2:
  | 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 (-1*{{min|0|{{Order of magnitude|{{#expr:({{{1|50}}}/{{{2|100}}})*100}}}}}}) }}%; height: 100%;"></div></div></div><noinclude>
  }}; color:inherit; width: {{#expr:(({{{1|50}}}/{{{2|100}}})*100) round (-1*{{min|0|{{Order of magnitude|{{#expr:({{{1|50}}}/{{{2|100}}})*100}}}}}}) }}%; height: 100%;"></div></div></div><noinclude>
{{Documentation}}</noinclude>
{{Documentation}}</noinclude>

Revision as of 16:10, 6 February 2025

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