Template:DropRate: Difference between revisions

From Roat Pkz
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{#vardefine:numerator_orig|{{{numerator}}}}}
{{#expr: 100 * {{{numerator}}} / {{{denominator}}}}} |  
{{#vardefine:denominator_orig|{{{denominator}}}}}
{{#expr: floor(100 / (100 * {{{numerator}}} / {{{denominator}}} - 15))}} |
{{#vardefine:original_frac|{{#var:numerator_orig}}/{{#var:denominator_orig}}}}
{{#expr: floor(100 / (100 * {{{numerator}}} / {{{denominator}}} - 25))}} |
 
{{#expr: floor(100 / (100 * {{{numerator}}} / {{{denominator}}} - 30))}} |
{{#vardefine:percentage_15|114}}
{{#expr: floor(100 / (100 * {{{numerator}}} / {{{denominator}}} - 40))}}
{{#vardefine:percentage_25|125}}
{{#vardefine:percentage_30|130}}
{{#vardefine:percentage_40|140}}
 
{{#expr: floor(100 / ({{#var:numerator_orig}} - {{#var:percentage_15}}))}}/{{#expr: floor(100 / ({{#var:numerator_orig}} - {{#var:percentage_15}})) * ({{#var:numerator_orig}} - {{#var:percentage_15}}) }}
{{#expr: floor(100 / ({{#var:numerator_orig}} - {{#var:percentage_25}}))}}/{{#expr: floor(100 / ({{#var:numerator_orig}} - {{#var:percentage_25}})) * ({{#var:numerator_orig}} - {{#var:percentage_25}}) }}
{{#expr: floor(100 / ({{#var:numerator_orig}} - {{#var:percentage_30}}))}}/{{#expr: floor(100 / ({{#var:numerator_orig}} - {{#var:percentage_30}})) * ({{#var:numerator_orig}} - {{#var:percentage_30}}) }}
{{#expr: floor(100 / ({{#var:numerator_orig}} - {{#var:percentage_40}}))}}/{{#expr: floor(100 / ({{#var:numerator_orig}} - {{#var:percentage_40}})) * ({{#var:numerator_orig}} - {{#var:percentage_40}}) }}

Revision as of 11:36, 5 April 2024

Expression error: Unrecognized punctuation character "{". | Expression error: Unrecognized punctuation character "{". | Expression error: Unrecognized punctuation character "{". | Expression error: Unrecognized punctuation character "{". | Expression error: Unrecognized punctuation character "{".