Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Template:Percentage Bar: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Created page with "<div style="text-align:center; margin:auto;">{{{4|}}} <div style="border: solid black 1px;background-color:darkgrey; width:{{{3|100}}}%;margin:auto;"> <div style="background-color:LimeGreen;width:{{#ifexpr: ({{{1}}} / {{{2}}}) > 1 | 100 | {{#expr: {{#if:{{{invert|}}}|100 - (({{{1}}} / {{{2}}}) * 100)|({{{1}}} / {{{2}}}) * 100}}}}}}%;text-align:right;font-weight:bold;"> <div style="margin:0em;">{{#expr: {{#expr: {{#if:{{{invert|}}}|100 - (({{{1}}} / {{{2}}}) * 100)|({{{1}...")
 
No edit summary
 
Line 5: Line 5:
</div>
</div>
</div>
</div>
</div>
</div><noinclude>[[Category:Data Crystal templates]]</noinclude>

Latest revision as of 20:26, 27 January 2024

<div style="background-color:LimeGreen;width:Expression error: Unrecognized punctuation character "{".%;text-align:right;font-weight:bold;">

Expression error: Unexpected < operator.%